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

Add resilience.zne.amplifier to EstimatorV2 options #1679

Merged
merged 4 commits into from
May 15, 2024

Conversation

ihincks
Copy link
Collaborator

@ihincks ihincks commented May 14, 2024

Summary

This PR adds the ZneOptions attribute amplifier which can be one of these strings:

  • "gate_folding" (default) uses 2-qubit gate folding to amplify noise. If the noise
    factor requires amplifying only a subset of the gates, then these gates are chosen
    randomly.
  • "gate_folding_front" uses 2-qubit gate folding to amplify noise. If the noise
    factor requires amplifying only a subset of the gates, then these gates are selected
    from the front of the topologically ordered DAG circuit.
  • "gate_folding_back" uses 2-qubit gate folding to amplify noise. If the noise
    factor requires amplifying only a subset of the gates, then these gates are selected
    from the back of the topologically ordered DAG circuit.

Details and comments

Fixes #1670

@coveralls
Copy link

coveralls commented May 14, 2024

Pull Request Test Coverage Report for Build 9101350749

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.002%) to 82.765%

Totals Coverage Status
Change from base Build 9084268669: 0.002%
Covered Lines: 6238
Relevant Lines: 7537

💛 - Coveralls

@kt474 kt474 added the Changelog: New Feature Include in the Added section of the changelog label May 15, 2024
@kt474 kt474 merged commit ed71c5b into Qiskit:main May 15, 2024
20 checks passed
@jyu00
Copy link
Collaborator

jyu00 commented May 20, 2024

We'll need to add this to the schema as well, cc @gadial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: New Feature Include in the Added section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ZNE gate folding methods (random, from_front, from_back, etc.) as options
4 participants