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

Documentation is not clear on the difference between allocate_qubits and create_qubits. #55

Open
brunorijsman opened this issue Nov 14, 2019 · 1 comment

Comments

@brunorijsman
Copy link

Documentation is not clear on the difference between allocate_qubits and create_qubits.

The documentation for allocate_qubits: "Requests the backend to reserve some qubits."

The documentation for create_qubits: "Creates (i.e. allocates) multiple qubits, and returns a list with qubit objects." which seems to imply that it is the same as allocate_qubits.

@AckslD
Copy link
Member

AckslD commented Nov 14, 2019

@brunorijsman This is indeed true and is due to being backwards compatible. They in fact do essentially the same thing at the moment and we should perhaps deprecate one of them.

Thanks for pointing this out.

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

No branches or pull requests

2 participants