Graphix

Latest version: v0.2.16

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

Scan your dependencies

Page 3 of 4

0.2.3

Changed

- Quantum classifier demo (57) by Gopal-Dahale

Changed

- fixed a bug in a code snippet isn docs (59), as pointed out by zilkf92
- fixed issue building docs on readthedocs (61)
- fixed bug in pauli preprocessing routine and graph state simulator (63)
- Second output of `pattern.pauli_nodes` (`non_pauli_node` list) is now list of nodes, not list of lists (commands).

0.2.2

Added

- Fast pattern standardization and signal shfiting with `pattern.LocalPattern` class (42), performance report at 43
- Defaulted local pattern method for `graphix.Pattern.standardize()` and `graphix.Pattern.shift_signals()`. Note the resulting pattern is equivalent to the output of original method.
- Automatic selection of appropriate tensor network graph state preparation strategy `graph_prep="auto"` argument for instantiation of `TensorNetworkBackend` (50)

Changed

- option `graph_prep="opt"` for `graph_prep` kwarg of `TensorNetworkBackend` (50) will be deprecated, and will be replaced by `graph_prep="parallel"`, as we identified that `parallel` preparation is not always optimal.

0.2.1

Changed

- Move import path of `generate_from_pattern` from `graphix.gflow` to `grahpix.generator` (40)
- Rename `Pattern.get_measurement_order` to `Pattern.get_measurement_commands` (40)
- Modify `Pattern.get_meas_plane` method to work for Clifford-decorated nodes (40)

Fixed

- Fix QFT circuits in examples (38)
- Fix the stability issue of `Pattern.minimize_space` method which sometimes failed to give theoretical minimum space for patterns with flow (40)

0.2.0

Added

- Fast circuit translation for some types gates and circuits (see PR) (16)
- Additional required modules: `quimb` and `autoray` for more performant TN backend (32)

Changed

- Restructured tensor-network simulator backend for more optimized contraction (32)
- Modify TN simulator interface to `TensorNetwork` from `MPS` (32)

Fixed

- Treatment of isolated node in `perform_pauli_measurements()` method (36)

0.1.2

Added

- added QAOA demo to documentation and improved readme

Fixed

- Fix manual input pattern (11)

0.1.1

Fixed

- nested array error in numpy 1.24 (deprecated from 1.23.\*) fixed and numpy version changed in requirements.txt (7)
- circuit.standardize_and_transpile() error fixed (9)

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.