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

Fix rzz parameter validation on Qiskit 1.1 #1986

Merged
merged 3 commits into from
Oct 28, 2024

Conversation

wshanks
Copy link
Collaborator

@wshanks wshanks commented Oct 21, 2024

The rzz validation check was using CircuitInstruction.params, an alias for CircuitInstruction.operation.params added in Qiskit 1.2. Here the usage is replaced CircuitInstruction.operation.params to keep compatibility with Qiskit 1.1.

@wshanks
Copy link
Collaborator Author

wshanks commented Oct 21, 2024

I did not add a release note because rzz gates are not available so far any way.

The rzz validation check was using `CircuitInstruction.params`, an alias
for `CircuitInstruction.operation.params` added in Qiskit 1.2. Here the
usage is replaced `CircuitInstruction.operation.params` to keep
compatibility with Qiskit 1.1.
@wshanks wshanks force-pushed the rzz-check-qiskit11 branch from 3dfcc58 to 3e567d5 Compare October 21, 2024 18:25
@yaelbh
Copy link
Collaborator

yaelbh commented Oct 28, 2024

@ihincks @wshanks Is there a reason not to merge this PR ?

@wshanks
Copy link
Collaborator Author

wshanks commented Oct 28, 2024

I think it is fine to merge (I don't have permission to merge myself).

@ihincks ihincks merged commit 2f2a1d0 into Qiskit:main Oct 28, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants