pytket-cutensornet 0.8.0
-
API breaking changes
- Removed
use_kahypar
option fromConfig
. It can still be set via thesimulate
optioncompilation_params
.
- Removed
-
New feature:
simulate
now accepts pytket circuits withMeasure
,Reset
,Conditional
,ClassicalExpBox
and more classical operations. You can now retrieve classical bit values usingget_bits
. -
When calling
simulate
, the gates on the circuit are no longer sorted by default. Usecompilation_params["sort_gates"] = True
to recover this behaviour, which is now deprecated. -
StructuredState
now supports simulation of single qubit circuits. -
Some bugfixes on
MPSxMPO
relating to measurement and relabelling qubits. The bug was caused due to these functions not guaranteeing the MPO was applied before their action. -
Documentation fixes:
apply_qubit_relabelling
now appears in the documentation.add_qubit
removed from documentation ofMPSxMPO
, since it is not currently supported.