Skip to content

v2.0.0

Latest

Choose a tag to compare

@LordSaumya LordSaumya released this 04 Sep 10:58
· 1 commit to main since this release

This update adds support for a wider range of physical states and operations.

What's Changed

  • Added the Pauli String and Pauli Time Evolution gates to the circuit-builder and circuit! macro.
  • Added the equals_without_phase method to state to check phase-independent equality.
  • Added a method to normalise states.
  • Added Display trait implementations on all operators.
  • Added the deep_clone method to parameter.
  • Added new constructors for Hartree-Fock, GHZ, and Bell states.
  • Added a method to apply the normalised version of a Pauli String.
  • Added methods to calculate the Fubini-Study distance and fidelity metrics to state.
  • Increased test coverage for Pauli Strings.
  • Added a method to get the length of Pauli Strings.
  • Added a method to convert Pauli operators to Pauli Strings.

Bug Fixes

  • Fixed Clippy lints
  • Added all missing examples to the cargo.toml file.

Potentially Breaking Changes

  • Changed the Operator trait to require the Display trait.
  • Changed operator addition methods on Pauli Strings to panic if an operator is added to a duplicate qubit.

Full Changelog: v1.4.2...v2.0.0