Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 01 Nov 15:10
· 18 commits to main since this release

TensorNetworkQuantumSimulator v0.5.0

Diff since v0.4.2

Breaking changes

  • mps_bond_dimension (boundary MPS) is now env_maxdim, the bond dimension of any environment; CTMRG uses the same name. In sampling, norm_mps_bond_dimension, projected_mps_bond_dimension and certification_mps_bond_dimension are now norm_env_maxdim, projected_env_maxdim and certification_env_maxdim.
  • bp_update_kwargs and bmps_update_kwargs are now cache_update_kwargs everywhere.
  • freenergy(cache) now returns the free energy -ln Z (it used to return ln Z); partitionfunction(cache) = exp(-freenergy(cache)).
  • Operators and states come from the package's own registry (op, state, register_op!), in Qiskit's parameter conventions, instead of ITensors' op/state system. Names outside it need register_op!.
  • contract and inner are now the package's own functions. With using ITensors as well, write ITensors.contract(ψ) or TensorNetworkQuantumSimulator.contract(ψ).
  • Pauli-string gates must be upper case ("XZ"), one letter per vertex.
  • build_graph_from_gates is removed; use build_graph_from_circuit, which also takes a Circuit.
  • topologytograph is removed; build the graph with NamedGraph.

See the README's "Breaking changes in v0.5" section for the full table.

New features

  • CTMRG for finite planar tensor networks (alg = "ctmrg"), with eig and svd projectors.
  • Circuit import from OpenQASM 2 (circuit_from_qasm) and Qiskit.jl (circuit_from_qiskit).
  • Faster belief propagation message passing: about 30% faster with half the peak memory in tested cases.

Merged pull requests: