pytket-cutensornet 0.6.0
What's changed
-
New feature: Tree Tensor Network (TTN) simulator, supporting both fixed
chi
andtruncation_fidelity
. Calculation of single amplitudes is supported byget_amplitude
and inner products byvdot
. Measurement and postselection are not yet supported. -
New API: both
MPS
andTTN
share a common interface:StructuredState
. Import paths have changed, multiple classes have been renamed:ConfigMPS
is nowConfig
,ContractionAlg
is nowSimulationAlgorithm
. Documentation has been updated accordingly. -
Canonicalisation of MPS is now always applied before a two-qubit gate. We found that this tends to reduce runtime due to canonicalisation decreasing virtual bond dimension.
-
Two-qubit gates are now decomposed (SVD) before applying them to remove null singular values (e.g. in
XXPhase
gates). -
Fixed a bug on copying an
MPS
iftruncation_fidelity
was set. -
Fixed a bug on
CuTensorNetHandle
that would prevent it from working when the device set was different from the default one (dev=0
) and when usingcuTensorNet>=2.3.0
. -
Fixed a bug on
TensorNetwork
due to unsupportedCreate
operation. -
Updated pytket version requirement to 1.26.