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 support for phase, sqrt(X), and delay gates to simulators #951

Merged
merged 15 commits into from
Sep 25, 2020

Conversation

chriseclectic
Copy link
Member

Summary

  • Adds support for parameterized delay gate to all simulators and methods. This is treated as an identity.
  • Adds support for parameterized phase gate "p" and controlled-phase
    gate "cp" to the statevector, density_matrix, unitary, and superoperator simulators. These are identical to u1 and cu1 gates.
  • Adds support for multi-controlled phase gate "mcphase" to the statevector and unitary simulators. This is the same as an mcu1 gate.
  • Adds support for the sqrt(X) gate to the statevector, density_matrix, unitary, and superoperator simulators
  • Deprecates the x90 decomposition of the NoiseModel class. This functionality can now be handled by transpiling to sx or rx plus one of p, u1, rz basis gates.

Details and comments

@chriseclectic chriseclectic added Changelog: Deprecation Include in Deprecated section of changelog Changelog: New Feature Include in the Added section of the changelog labels Sep 24, 2020
@chriseclectic chriseclectic added this to the Aer 0.7 milestone Sep 24, 2020
Copy link
Contributor

@vvilpas vvilpas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

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

Successfully merging this pull request may close these issues.

2 participants