Skip to content

Implementation of the "hidden inverse" coherent error cancellation method in pytket.

Notifications You must be signed in to change notification settings

CQCL/hidden_inverse_exp

Repository files navigation

Hidden Inverse Circuits for Coherent Error Suppression

Hack month week 1

Key reference: https://arxiv.org/abs/2104.01119

Idea: Self adjoint gates such as CX have two equivalent decompositions into hardware native gates. Find symmetric circuits and use both decompositions to cancel coherent errors.

Contributions and suggestions for future work welcome.

If we have a matrix $M$ satisfying $M=M^\dagger$ we say that $M$ is self adjoint. We can decompose this matrix $M$ in two ways.

$$ \begin{equation} M = ABC = C^\dagger B^\dagger A^\dagger = M^\dagger \end{equation} $$

Here $M$ represents the unitary (and self-adjoint) matrix associated with a two qubit gate.

alt text

alt text

Setup

  1. Clone this repository
git clone git@github.com:CQCL/hidden_inverse_exp.git
  1. Now install dependencies with uv.
cd hidden_inverse_exp
uv sync --all-groups
  1. Run the tests
cd tests
uv run pytest

About

Implementation of the "hidden inverse" coherent error cancellation method in pytket.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published