Repository navigation
v0.5.0
TensorNetworkQuantumSimulator v0.5.0
Breaking changes
mps_bond_dimension(boundary MPS) is nowenv_maxdim, the bond dimension of any environment; CTMRG uses the same name. In sampling,norm_mps_bond_dimension,projected_mps_bond_dimensionandcertification_mps_bond_dimensionare nownorm_env_maxdim,projected_env_maxdimandcertification_env_maxdim.bp_update_kwargsandbmps_update_kwargsare nowcache_update_kwargseverywhere.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/statesystem. Names outside it needregister_op!. contractandinnerare now the package's own functions. Withusing ITensorsas well, writeITensors.contract(ψ)orTensorNetworkQuantumSimulator.contract(ψ).- Pauli-string gates must be upper case (
"XZ"), one letter per vertex. build_graph_from_gatesis removed; usebuild_graph_from_circuit, which also takes aCircuit.topologytographis removed; build the graph withNamedGraph.
See the README's "Breaking changes in v0.5" section for the full table.
New features
- CTMRG for finite planar tensor networks (
alg = "ctmrg"), witheigandsvdprojectors. - 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:
- Swap out ITensors.jl for ITensorBase.jl and support symmetric backends (#78) (@mtfishman)
- Codex/maintenance baseline (#85) (@JoeyT1994)
- Fix steiner_tree method ambiguity for integer-labeled vertices (#86) (@mtfishman)
- Added error message (#89) (@mateocardeneswuttig)
- Small cleanup (#90) (@JoeyT1994)
- Add support for distributed BP and gate application with MPI.jl via
BeliefPropagationCacheMPIcache type. (#95) (@jack-dunham) - Add a blocked message update algorithm. (#96) (@jack-dunham)
- Rewrite the blocked message kernel on TensorOperations (#97) (@lkdvos)
- Migrate to the NamedGraphs v0.14 interface (#99) (@mtfishman)
- Move to ITensorBase 0.14 and TensorAlgebra 0.20 (#101) (@mtfishman)
- Raise the TensorAlgebra and ITensorBase compat floors (#103) (@mtfishman)
- Move to ITensorBase 0.15 (#104) (@mtfishman)
- Raise the ITensorBase and TensorAlgebra compat floors (#105) (@mtfishman)
- Raise the ITensorBase compat floor to 0.16 (#106) (@mtfishman)
- Ignore local git worktrees (#107) (@mtfishman)
- CTMRG Backend and Various Improvements (#109) (@JoeyT1994)