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

New technique: Tensor-network error mitigation #2197

Closed
Misty-W opened this issue Feb 21, 2024 · 7 comments
Closed

New technique: Tensor-network error mitigation #2197

Misty-W opened this issue Feb 21, 2024 · 7 comments
Assignees
Labels
new technique For proposed new techniques
Milestone

Comments

@Misty-W
Copy link
Contributor

Misty-W commented Feb 21, 2024

Issue Description

Inspired by the Tensor-network error mitigation (TEM) technique in Scalable tensor-network error mitigation for near-term quantum computing by S. Filippov, M. Leahy, M. Rossi, G. García-Pérez (arXiv:23077.11740).
TEM is a post-processing error mitigation technique, similar to PEC in the construction and application of an inverted noise channel, but dissimilar in that it does not require sampling many noisy circuit instances.

Proposed Solution

TEM consists of two main parts:

  1. Construct a tensor network representing the inverse of the global noise channel affecting the state of the quantum processor
  2. Apply the map to measurement outcomes obtained from the noisy state.

Considerations:
According to the results reported in https://arxiv.org/abs/2307.11740,

  1. TEM does not require additional quantum operations other than the implementation of informationally complete POVMs, obtained through randomized local measurements --> TEM measurement overhead is quadratically smaller than in PEC.
  2. TEM can be applied to circuits of twice the depth compared to what is achievable with PEC under realistic conditions with sparse Pauli-Lindblad noise, such as those in [E. van den Berg et al., Nat. Phys. (2023)]

Additional References

@Misty-W Misty-W added the feature-request A request for a feature, tool, or workflow in Mitiq. label Feb 21, 2024
@Misty-W Misty-W self-assigned this Feb 21, 2024
@Misty-W
Copy link
Contributor Author

Misty-W commented Feb 21, 2024

Assigned myself to figure out difficulty of implementation and possible impact to dependencies.

@natestemen natestemen added this to the v0.35.0 milestone Feb 23, 2024
@natestemen
Copy link
Member

Paper on scalability of QEM techniques, including TEM: https://arxiv.org/abs/2403.13542

@natestemen natestemen modified the milestones: v0.35.0, v0.36.0 Mar 29, 2024
@nathanshammah
Copy link
Member

@Misty-W this is a very interesting technique, also contains quite complex elements. I propose we schedule Mitiq discussions/Quantum Wednesday talk on it to review the theory, results and methods, and then based on findings decide on next steps, e.g., RFC. Discussed this with @FarLab who can help prioritize in the next week.

@FarLab
Copy link
Contributor

FarLab commented Apr 11, 2024

@nathanshammah @natestemen @Misty-W @jordandsullivan @cosenal
We could try and understand the details of the paper and how to potentially implement it by discussing/brainstorming during the Tuesday coding sessions. I propose we all just take a look at the paper before that and discuss things we understand or don't (you don't have to understand every detail by Tuesday!). Let me know what you think.

@jordandsullivan
Copy link
Contributor

jordandsullivan commented Apr 11, 2024 via email

@natestemen natestemen added new technique For proposed new techniques and removed feature-request A request for a feature, tool, or workflow in Mitiq. labels Apr 11, 2024
@FarLab
Copy link
Contributor

FarLab commented Apr 25, 2024

A small summary of TEM:

  1. Given the circuit of interest, use a IC-POVM to perform tomography and obtain an estimate of the noisy density matrix $\tilde{\rho}$.
  2. If the noise is reasonably small and the inverse of the noise channel has an compact tensor network representation (small bond dimension), we could run the inverse of the noisy circuit applied to $\tilde{\rho}$ on a classical computer followed by running the ideal circuit. This part is done efficiently by contracting the tensor network from the "middle out". The result is an estimate of the ideal density matrix $\hat{\rho}$.
  3. Compute the expectation value of the observable $Tr(\hat{\rho} O )$ (also done using tensor networks).

The effectiveness of this error mitigation scheme hinges entirely on step 2), since simulating a (noisy) circuit using tensor networks is exponentially hard in general. But in the paper they show that in the case that noise is sufficiently small (so the noise channel is invertible) and its inverse has an efficient tensor network representation, then the contraction of the inverse of the noisy circuit followed immediately by the noiseless circuit can be done efficiently.

It looks like Algorithmiq has patented the TEM algorithm (correct me I am wrong @nathanshammah), so we have to figure out first if we can/are allowed to implement this algorithm in Mitiq. So for this milestone we will close this issue, but possible to reopen again once we know more about this.

@FarLab FarLab closed this as completed Apr 26, 2024
@FarLab FarLab reopened this Apr 26, 2024
@FarLab FarLab self-assigned this Apr 29, 2024
@FarLab FarLab closed this as completed Apr 30, 2024
@purva-thakre
Copy link
Collaborator

purva-thakre commented Nov 15, 2024

Found a paper that relies on tensor networks for noise characterization. The authors also combine their noise characterization technique with tensor network error mitigation as the characterization output is particularly suited for TEM.

https://journals.aps.org/prresearch/abstract/10.1103/PhysRevResearch.6.033217

Our method not only avoids the exponential
scaling of measurement resources by sampling the different
possible tomographic settings in a randomized way, but it
also enables an efficient, meaningful, and scalable descrip-
tion of the reconstructed noise channel by means of tensor
network techniques (more specifically, a locally purified den-
sity operator structure, LPDO) with low bond dimension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new technique For proposed new techniques
Projects
None yet
Development

No branches or pull requests

6 participants