Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function to show when PT or PT + QEM is helpful #2615

Open
purva-thakre opened this issue Dec 21, 2024 · 0 comments
Open

Function to show when PT or PT + QEM is helpful #2615

purva-thakre opened this issue Dec 21, 2024 · 0 comments
Labels
feature-request A request for a feature, tool, or workflow in Mitiq. good first issue Good for newcomers needs/agreed-design Needs a plan of action that is agreed upon to complete. pt Pauli Twirling Technique

Comments

@purva-thakre
Copy link
Collaborator

We want to add a function in mitiq/pt that spits out a graph showing when PT is useful for some circuit and when combining PT with some QEM technique is helpful.

compare_performance(
  circuit, 
  noisy_backend with coherent noise, 
  num_pauli_twirled_circuits_to_create, 
  {metadata of some QEM if combining PT with QEM}
)

This should spit out a plot showing when combining noise tailoring with QEM techniques is useful as a function of noise strength.

See the example plot below where the difference between ideal and other expectation values are plotted. The closer the curve is to 0.0, the better the technique performs. It is also easy to see the regions when ZNE is useful on its own, PT is useful on its own, combination of PT + ZNE is useful, etc.

image

@purva-thakre purva-thakre added feature-request A request for a feature, tool, or workflow in Mitiq. pt Pauli Twirling Technique needs/agreed-design Needs a plan of action that is agreed upon to complete. good first issue Good for newcomers labels Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A request for a feature, tool, or workflow in Mitiq. good first issue Good for newcomers needs/agreed-design Needs a plan of action that is agreed upon to complete. pt Pauli Twirling Technique
Projects
None yet
Development

No branches or pull requests

1 participant