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

n_qubits parameter of AerBackend unused #425

Closed
cqc-melf opened this issue Dec 2, 2024 · 0 comments · Fixed by #434
Closed

n_qubits parameter of AerBackend unused #425

cqc-melf opened this issue Dec 2, 2024 · 0 comments · Fixed by #434
Assignees
Labels
bug Something isn't working

Comments

@cqc-melf
Copy link
Collaborator

cqc-melf commented Dec 2, 2024

This works, but it should not:

from pytket.extensions.qiskit import AerBackend
from pytket import Circuit

backend = AerBackend(n_qubits=1)
backend.run_circuit(
    circuit=Circuit(2).CX(0,1).measure_all(),
    n_shots=1,
)
@cqc-melf cqc-melf added the bug Something isn't working label Dec 2, 2024
@cqc-melf cqc-melf mentioned this issue Dec 13, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant