Skip to content

v1.3.0

Choose a tag to compare

@LordSaumya LordSaumya released this 05 Aug 10:18
· 69 commits to main since this release

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