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 validate_wires_against_backend function #335

Closed
wants to merge 1 commit into from

Conversation

JMuff22
Copy link

@JMuff22 JMuff22 commented Sep 29, 2023

Closes: #332

Add a function that allows for both backend.num_qubits to be used in addition to backend.configuration().n_qubits which allows usage on both BackendV1 objects and BackendV2 objects which don't support backwards compatibility.

@JMuff22 JMuff22 closed this Oct 4, 2023
@trbromley
Copy link
Contributor

Hi @JMuff22! Apologies we didn't provide feedback sooner. Do you no longer thing these proposed changes are needed?

@JMuff22
Copy link
Author

JMuff22 commented Oct 4, 2023

Hi @trbromley thanks for the response. The changes are still needed however I was not willing to try to figure out why the CI tests were not working. I am happy and will continue with the current solution however it would be great if pennylane-qiskit could be compatible with BackendV1 objects and BackendV2 objects.

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.

Support b.num_qubits for BackendV2 Qiskit objects
2 participants