Skip to content

Commit

Permalink
Decomposition and computation features
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sergimasot committed May 21, 2024
1 parent 780a54b commit 1fe0712
Showing 1 changed file with 229 additions and 155 deletions.
Loading

0 comments on commit 1fe0712

Please sign in to comment.