Hidden Inverse Circuits for Coherent Error Supression
Key reference: https://arxiv.org/abs/2104.01119
Idea: Self adjoint gates such as CX have two equivalent decompositons into hardware native gates. Find symmetric circuits and use both decompostions to cancel coherent errors.
Contributions and suggestions for future work welcome.
If we have a matrix
Here
What does this repo contain? Hidden inverse passes targeting the H-Series gateset
- A method to quickly get the hidden inverse circuits for an two qubit gate with a hidden inverse. The H-Series gateset is used -> here.
- An "alernating CNOT decompostion" pass -> here that compiles every CNOT to the H-Series gateset and uses the hidden inverse decomposition if a CNOT uses the same two qubits as a previous CNOT.
- A compilation pass to compile Pauli gadget circuits using the LHS and RHS decomposition of CNOT gates -> here
- A phase gadget pass (probably legacy) -> here should be covered by (2.)
- A demo notebook -> here
- Various utilities -> here
- Tests (need more!) -> here
- Run some phase/pauli gadgets on H-series emulator/real device. Find out if coherent errors are suppressed
- Test out this method for QEC gadgets (Maybe on real hardware? Talk more to Ben and Natalie).
- Test this out with classical
ToffoliBox
circuits? - Figure out how this might play nicely with
OptimisePhaseGadgets
andPauliSimp
. - Benchmark performance of alternating CNOT decomposition post
FullPeepholeOptimise
- Clean up and generalise code. Integrate into TKET somehow?