pytket-cutensornet 0.6.0
What's changed
-
New feature: Tree Tensor Network (TTN) simulator, supporting both fixed
chiandtruncation_fidelity. Calculation of single amplitudes is supported byget_amplitudeand inner products byvdot. Measurement and postselection are not yet supported. -
New API: both
MPSandTTNshare a common interface:StructuredState. Import paths have changed, multiple classes have been renamed:ConfigMPSis nowConfig,ContractionAlgis 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
XXPhasegates). -
Fixed a bug on copying an
MPSiftruncation_fidelitywas set. -
Fixed a bug on
CuTensorNetHandlethat 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
TensorNetworkdue to unsupportedCreateoperation. -
Updated pytket version requirement to 1.26.