Skip to content

Commit

Permalink
fix: Drop qubit name prefix in new iqm5q
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Dec 4, 2024
1 parent 07b26bf commit ca8c5d6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions iqm5q/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@

# the only cluster of the config
CLUSTER = {
"qrm_rf0": (19, {"io1": ["q0", "q1"]}),
"qrm_rf1": (20, {"io1": ["q2", "q3", "q4"]}),
"qcm_rf0": (8, {1: ["q1"], 2: ["q2"]}),
"qcm_rf1": (10, {1: ["q3"], 2: ["q4"]}),
"qcm_rf2": (12, {1: ["q0"]}),
"qcm0": (2, {1: ["q0"], 2: ["q1"], 3: ["q2"], 4: ["q3"]}),
"qcm1": (4, {1: ["q4"], 2: ["c1"], 4: ["c3"]}),
"qrm_rf0": (19, {"io1": ["0", "1"]}),
"qrm_rf1": (20, {"io1": ["2", "3", "4"]}),
"qcm_rf0": (8, {1: ["1"], 2: ["2"]}),
"qcm_rf1": (10, {1: ["3"], 2: ["4"]}),
"qcm_rf2": (12, {1: ["0"]}),
"qcm0": (2, {1: ["0"], 2: ["1"], 3: ["2"], 4: ["3"]}),
"qcm1": (4, {1: ["4"], 2: ["c1"], 4: ["c3"]}),
"qcm2": (6, {2: ["c4"]}),
"qcm3": (17, {1: ["c0"]}),
}
Expand All @@ -34,7 +34,7 @@

def create():
"""IQM 5q-chip controlled with a Qblox cluster."""
qubits: QubitMap = {f"q{i}": Qubit.default(f"q{i}") for i in range(5)}
qubits: QubitMap = {f"{i}": Qubit.default(f"{i}") for i in range(5)}
couplers: QubitMap = {f"c{i}": Qubit.default(f"c{i}") for i in (0, 1, 3, 4)}

# Create channels and connect to instrument ports
Expand Down

0 comments on commit ca8c5d6

Please sign in to comment.