Skip to content

Releases: LordSaumya/quant-iron

v2.0.0

04 Sep 10:58

Choose a tag to compare

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

v1.4.2

13 Aug 13:39

Choose a tag to compare

What's Changed

  • Add an adjoint operator for the ry_phase operator.

Full Changelog: v1.4.1...v1.4.2

v1.4.1

10 Aug 04:22

Choose a tag to compare

What's Changed

  • Add parametric versions for P, Rx, Ry, and Rz gates

Full Changelog: v1.4.0...v1.4.1

v1.4.0

10 Aug 03:37
c6d0e4b

Choose a tag to compare

What's Changed

  • Added parameters
  • Added parametric gates
  • Fixed some doc errors
  • Added an example for parametric circuits

Full Changelog: v1.3.0...v1.4.0

v1.3.0

05 Aug 10:18

Choose a tag to compare

What's Changed

  • Added the circuit! macro for easy circuit-building using a simple DSL.
  • Added crate- and mod-level documentation.
  • Added the Matchgate operator, a two-qubit gate that simulates nearest-neighbour interactions in fermionic systems.
  • Added the from_ry_phase method as an extension to the Unitary2 operator, allowing for safe, infallible construction of Unitary2 operators using angle parameters.

Bug Fixes

  • Fixed Clippy lints
  • Fixed bug in build_final that allowed for unchecked circuit building.
  • Fixed bug in add_gates that allowed for unchecked gate addition to circuit.

Potentially Breaking Changes

  • Removed unwrap() from the implementation of unitary gates, propagating the NonUnitaryMatrix error instead of panicking.

Full Changelog: v1.2.0...v1.3.0

v1.2.0

21 Jul 16:08

Choose a tag to compare

What's Changed

  • Add support for converting circuits to OpenQASM 3.0 code
  • Add examples in examples folder and explain in README.md by @andrewdavidmackenzie in #9

New Contributors

Full Changelog: https://github.com/LordSaumya/quant-iron/commits/v1.1.0