Skip to content

v0.17

Compare
Choose a tag to compare
@TysonRayJones TysonRayJones released this 27 Jan 18:16
· 63 commits to main since this release
97db61d

This release adds several functions for manipulating circuits, casting them between the Z-basis and the Pauli-tensor basis, and computing their generators. We also add two new substantial demos.

New features

  • GetPauliStringFromMatrix[] returns a complex-weighted Pauli string equivalent to the given complex matrix.

    image
  • CalcCircuitGenerator[] which returns the Pauli string generator of the given circuit.

    image
  • RetargetCircuit[] remaps the qubits in a circuit

    image
  • GetQuregState[] which is equivalent to the old GetQuregMatrix[], can return the state in alternate basis and representations.

    image
  • GetCircuitQubits[] which returns a list of the qubit indices featured in a given circuit.

    image
  • GetCircuitCompacted[] which removes qubits which are untargeted by a given circuit, compressing the circuit to one upon fewer qubits. It also returns the map necessary to restore the original circuit, which can be used by RetargetCircuit[]

    image

Other changes

  • added two new demo notebooks on variational minisation, and real-time simulation, to /Demos
  • removed old, defunct demo notebooks