Skip to content

Stabilizer Tensor Networks v1.1

Latest
Compare
Choose a tag to compare
@sergimasot sergimasot released this 18 Nov 16:24
da8d2bf

Stabilizer Tensor Networks v1.1

Code used in publication doi.org/10.48550/arXiv.2403.08724

Version 1.0, released alongside arXiv pre-print
Features

  • Added main class (gen_clifford) for simulation of any quantum circuit
  • Added all necessary helper functions for the main class
  • Added notebook with examples and code for figure reproduction

Version 1.1 added:
Features

  • Improved update to xvec so that it can handle unitaries that decompose in more than 2 Paulis (fully integrating generic Ugates). (Includes refactoring of previous methods and functions)
  • Added possibility to decompose ccx into Paulis directly (further tests needed to check if it's faster than circuit decomposition with T gates).
  • Added option to calculate observable without projecting, which is costly.
  • Added option to contract each added gate (costly for large depth) or leave it until the whole circuit is built (faster, but dependent on quimb's contraction heuristic)
  • Added improved transformation into MPS form by extracting a minimal clifford circuit from the basis and applying it to the stabTN.

Fixes

  • Destabilizers were being wrongly referenced instead of stabilizer when applying a rotation.
  • Some new attributes were not being initialized when copying the object.