You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I manually edit the QNE-ADK nodes.json file and increase number_of_qubits from 3 to 32, my QFT application runs fine (I don't get RuntimeError("No more qubits left in qdevice") anymore)
Requested feature:
Let users define their own topology (i.e. their own nodes.json file), or
Let users choose their own number of qubits per node, or
Increase the hard-coded value of number_of_qubits in QNE-ADK.
Note 2: I realize that the hardware for the real quantum network which is being constructed in the Netherlands may not support more than 3 qubits per node, but the simulator seems to support it just fine (at least, running locally)
The text was updated successfully, but these errors were encountered:
Add support for nodes with more than 3 qubits
The constructor for
NetQASMConnection
has amax_qubits
parameter.In my application (QFT) I need more than 3 qubits per node.
When I construct a
NetQASMConnection
with a value of greater than 3, I don't get any exception: the constructor succeeds.However, later in the run, when I actually try to allocate the qubits, I get exception
RuntimeError("No more qubits left in qdevice")
The root cause for this is that QNE-ADK has a hard-coded topology
adk/networks/nodes.json
which hard-codes the number of qubits per node to 3 qubits:If I manually edit the QNE-ADK nodes.json file and increase
number_of_qubits
from 3 to 32, my QFT application runs fine (I don't getRuntimeError("No more qubits left in qdevice")
anymore)Requested feature:
Let users define their own topology (i.e. their own nodes.json file), or
Let users choose their own number of qubits per node, or
Increase the hard-coded value of number_of_qubits in QNE-ADK.
Note 1: In my environment I created a script to automatically "fix" the nodes.json file (https://github.com/brunorijsman/quantum-internet-hackathon-2022/blob/main/qne_adk/fix_qne_adk_number_of_qubits.py)
Note 2: I realize that the hardware for the real quantum network which is being constructed in the Netherlands may not support more than 3 qubits per node, but the simulator seems to support it just fine (at least, running locally)
The text was updated successfully, but these errors were encountered: