v0.17
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. -
CalcCircuitGenerator[]
which returns the Pauli string generator of the given circuit. -
RetargetCircuit[]
remaps the qubits in a circuit -
GetQuregState[]
which is equivalent to the oldGetQuregMatrix[]
, can return the state in alternate basis and representations. -
GetCircuitQubits[]
which returns a list of the qubit indices featured in a given circuit. -
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 byRetargetCircuit[]
Other changes
- added two new demo notebooks on variational minisation, and real-time simulation, to
/Demos
- removed old, defunct demo notebooks