Qnetvo

Latest version: v0.4.4

Safety actively analyzes 714815 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.3.0

New Features

1. Processing Nodes: Networks can now have an arbitrary numbers of node layers. The first layer contains `PrepareNodes`, the final layer contains `MeasureNodes`, and intermediate layers contain either `NoiseNodes` or `ProcessingNodes`.
2. Cost functions were updated to handle arbitrary numbers of layers.
3. PennyLane is updated to current version 0.27.

Breaking Changes

1. for the `NetworkAnsatz` constructor, the positional argument `noise_nodes` can no longer go behind the measurement node layer. All nodes, must be passed to `NetworkAnsatz` as positional arguments in the appropriate ordering. The last set of nodes must be a measurement layer, however, the remaining layers are generic.
4. Networks with noise nodes no longer use `"default.mixed"` automatically. All devices must be specified manually using the `dev_kwargs` keyword argument for the `NetworkAnsatz` constructor.
5. All supported cost functions are updated to handle processing nodes, which changed the behavior of a few cost function constructors:
* For the `shannon_entropy_cost_fn` method all nodes are passed input 0 explicitly.
* In the `mutual_info_cost_fn` the `static_layer` argument is removed where the mutual information is evaluated for all inputs and outputs.

0.2.0

Breaking Changes

- Network settings are now stored in a 1D list rather than the nested ragged array structure used previously. As part of this change, `requires_grad` can be set individually for each network parameter. As a result, there is no longer a need for the `static_settings` attribute to be set at the node level. Instead, fixed or static settings are specified when creating settings with the `rand_network_settings` and similar functions.

v0.1.4-release
Features:
* `shannon_entropy_cost_fn` : optimize shannon entropy in network
* added `__version__` attribute to qnetvo package

0.1.3

Fixing import bug.

0.1.2

0.1.1

Adding colored noise and two-qubit depolarizing noise models

0.1.0

Page 2 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.