Skip to content

Commit

Permalink
fix: Correct channel map and fake qubits layout
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Feb 20, 2025
1 parent b0ba823 commit 39c8694
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions qblox-test/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from qibolab import Hardware, Qubit
from qibolab._core.instruments.qblox.cluster import Cluster
from qibolab._core.instruments.qblox.platform import infer_los, map_ports
from qibolab._core.parameters import QubitMap

NAME = "qblox-test"
ADDRESS = "192.168.0.21"
Expand All @@ -11,16 +12,19 @@
# the only cluster of the config
CLUSTER = {
"qcm": (12, {1: [0]}),
"qcm_rf": (15, {"io1": [0]}),
"qrm_rf": (16, {"i1": [0]}),
"qcm_rf": (15, {1: [0]}),
"qrm_rf": (16, {"io1": [0]}),
"qrm_rf_lo": (20, {"io1": [1]}),
}
"""Connections compact representation."""


def create():
"""Platform creation."""
qubits = {i: Qubit.default(i) for i in range(2)}
qubits: QubitMap = {
0: Qubit.default(0),
1: Qubit.default(1, ["acquisition", "probe"]),
}

# Create channels and connect to instrument ports
channels = map_ports(CLUSTER, qubits)
Expand Down

0 comments on commit 39c8694

Please sign in to comment.