Skip to content

Commit

Permalink
fix: Move attenuation to lo configs, drop dedicated channel config
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Dec 5, 2024
1 parent 4f39f13 commit 03a8806
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 57 deletions.
96 changes: 44 additions & 52 deletions iqm5q/parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,79 +16,64 @@
"kind": "oscillator"
},
"0/drive": {
"kind": "qblox-iq",
"frequency": 4107103000,
"attenuation": 26
"kind": "iq",
"frequency": 4107103000
},
"0/drive12": {
"kind": "qblox-iq",
"frequency": 3995623000,
"attenuation": 26
"kind": "iq",
"frequency": 3995623000
},
"0/probe": {
"kind": "qblox-iq",
"frequency": 5232350000,
"attenuation": 28
"kind": "iq",
"frequency": 5232350000
},
"1/drive": {
"kind": "qblox-iq",
"frequency": 4257487324,
"attenuation": 26
"kind": "iq",
"frequency": 4257487324
},
"1/drive12": {
"kind": "qblox-iq",
"frequency": 41521410000,
"attenuation": 26
"kind": "iq",
"frequency": 41521410000
},
"1/probe": {
"kind": "qblox-iq",
"frequency": 4934492000,
"attenuation": 28
"kind": "iq",
"frequency": 4934492000
},
"2/drive": {
"kind": "qblox-iq",
"frequency": 4538373000,
"attenuation": 26
"kind": "iq",
"frequency": 4538373000
},
"2/drive12": {
"kind": "qblox-iq",
"frequency": 4337630000,
"attenuation": 26
"kind": "iq",
"frequency": 4337630000
},
"2/probe": {
"kind": "qblox-iq",
"frequency": 6106000000,
"attenuation": 28
"kind": "iq",
"frequency": 6106000000
},
"3/drive": {
"kind": "qblox-iq",
"frequency": 4160866475,
"attenuation": 0
"kind": "iq",
"frequency": 4160866475
},
"3/drive12": {
"kind": "qblox-iq",
"frequency": 3948921000,
"attenuation": 0
"kind": "iq",
"frequency": 3948921000
},
"3/probe": {
"kind": "qblox-iq",
"frequency": 5808000000,
"attenuation": 28
"kind": "iq",
"frequency": 5808000000
},
"4/drive": {
"kind": "qblox-iq",
"frequency": 4145153000,
"attenuation": 26
"kind": "iq",
"frequency": 4145153000
},
"4/drive12": {
"kind": "qblox-iq",
"frequency": 4143343000,
"attenuation": 26
"kind": "iq",
"frequency": 4143343000
},
"4/probe": {
"kind": "qblox-iq",
"frequency": 5531000000,
"attenuation": 28
"kind": "iq",
"frequency": 5531000000
},
"0/acquisition": {
"kind": "acquisition",
Expand Down Expand Up @@ -168,31 +153,38 @@
},
"qrm_rf0/o1/lo": {
"kind": "oscillator",
"frequency": 5100000000
"frequency": 5100000000,
"power": 28
},
"qrm_rf1/o1/lo": {
"kind": "oscillator",
"frequency": 5840000000
"frequency": 5840000000,
"power": 28
},
"qcm_rf0/o1/lo": {
"kind": "oscillator",
"frequency": 4410592000
"frequency": 4410592000,
"power": 26
},
"qcm_rf0/o2/lo": {
"kind": "oscillator",
"frequency": 4738318000
"frequency": 4738318000,
"power": 26
},
"qcm_rf1/o1/lo": {
"kind": "oscillator",
"frequency": 4336921000
"frequency": 4336921000,
"power": 0
},
"qcm_rf1/o2/lo": {
"kind": "oscillator",
"frequency": 4278819000
"frequency": 4278819000,
"power": 26
},
"qcm_rf2/o1/lo": {
"kind": "oscillator",
"frequency": 4305409000
"frequency": 4305409000,
"power": 26
},
"qrm_rf1/o1/mixer": {
"kind": "iq-mixer",
Expand Down
6 changes: 1 addition & 5 deletions iqm5q/platform.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
import pathlib

from qibolab import ConfigKinds, Platform, Qubit
from qibolab._core.instruments.qblox.channels import QbloxConfigs
from qibolab import Platform, Qubit
from qibolab._core.instruments.qblox.cluster import Cluster
from qibolab._core.instruments.qblox.platform import map_ports
from qibolab._core.platform.platform import QubitMap

# from qibolab.instruments.qblox import Cluster, QbloxConfigs, map_ports
from qibolab.instruments.rohde_schwarz import SGS100A

# Register Qblox-specific configurations for parameters loading
ConfigKinds.extend([QbloxConfigs])

FOLDER = pathlib.Path(__file__).parent
NAME = "iqm5q_qblox"
ADDRESS = "192.168.0.6"
Expand Down

0 comments on commit 03a8806

Please sign in to comment.