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

subcircuit size may exceed num_primary limit #12

Open
Zhaoyilunnn opened this issue Nov 23, 2023 · 0 comments
Open

subcircuit size may exceed num_primary limit #12

Zhaoyilunnn opened this issue Nov 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Zhaoyilunnn
Copy link
Owner

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/root/projects/qdao/qdao/engine.py", line 159, in run
    sub_circs = self._part.run(self._circ)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/projects/qdao/qdao/circuit.py", line 100, in run
    sub_circ = self._circ_helper.gen_sub_circ(instrs, self._nl, self._np)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/projects/qdao/qdao/qiskit/circuit.py", line 89, in gen_sub_circ
    assert len(real_qubits) <= num_primary
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
@Zhaoyilunnn Zhaoyilunnn added the bug Something isn't working label Nov 23, 2023
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

No branches or pull requests

1 participant