-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathquantify-config.example.yml
417 lines (384 loc) · 14.8 KB
/
quantify-config.example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
# This is an example configuration file for the quantum_executor service that controls the hardware
#
# It is loosely based on the hardware configuration file for quantify-scheduler
#
# See https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#sec-qblox-cluster
# Only two instrument types can be configured:
# - "Cluster",
# - "LocalOscillator"
clusters:
# Configuration for the instruments clusters
# You can add multiple clusters
# See: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#cluster-configuration
# name of the cluster. This can be anything you wish.
- name: "cluster0"
is_dummy: true
# whether this cluster is of dummy type or not. Defaults to false.
ref: "internal"
# the ref sets the reference source, which is a 10 MHz clock source.
# It can be one of two values:
# - "internal"
# - "external"
# Default is "external"
instrument_address: "192.0.2.74"
# the IP address of the cluster, useful when doing instrument orchestration
- name: "cluster1"
ref: "internal"
instrument_address: "192.0.1.74"
modules:
# You can add multiple modules of up to four instrument types:
# - QCM
# - QRM
# - QCM_RF
# - QRM_RF
#
# Configuration for channels for this module.
# you can add multiple input/output channels of up to six types:
# - complex_output
# - complex_input
# - real_output
# - real_input
# - digital_input
#
# However, depending on the type of module, only some channels are valid
#
# For QCMs:
# - complex_output
# - real_output
# - digital_output
#
# For QRMs:
# - complex_input
# - complex_output
# - real_input
# - real_output
# - digital_output
#
# For QCM_RFs:
# - complex_output
# - digital_output
#
# For QRM_RF:
# - complex_input
# - complex_output
# - digital_output
#
#
# Take note that the name is of format "<cluster_name>_module<n>", where <n> is the module number in the cluster.
# 'n' seems to start at 1
# See: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#module-configuration
- name: "cluster1_module_1"
instrument_type: "QCM"
# Valid channel lists
# - complex_outputs
# - real_outputs
# - digital_outputs
#
# Valid channel names
# - 'complex_output_0'
# - 'complex_output_1'
# - 'real_output_0'
# - 'real_output_1'
# - 'real_output_2'
# - 'real_output_3'
# - 'digital_output_0'
# - 'digital_output_1'
# - 'digital_output_2'
# - 'digital_output_3'
complex_outputs:
# configuration for channels of the type 'complex_output'
# see: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#complex-channel
# name is of format <channel_type>_<n> where n is the number of the channel in this list
- name: "complex_output_0"
marker_debug_mode_enable: true
dc_mixer_offset_I: -0.054
dc_mixer_offset_Q: -0.034
portclock_configs:
# portclock configurations for this channel
# See: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#portclock-configuration
- port: q0:res
clock: q0:ro
- port: q1:res
clock: q1:ro
mixer_amp_ratio: 0.9997
mixer_phase_error_deg: -4
- port: q2:res
clock: q2:ro
- name: "complex_output_1"
portclock_configs:
- port: q0:res
clock: q0:ro
- port: q1:res
clock: q1:ro
- port: q2:res
clock: q2:ro
real_outputs:
# configuration for channels of the type 'real_output'
# see: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#real-channel
#
# name is of format <channel_type>_<n> where n is the number of the channel in this list
- name: "real_output_0"
portclock_configs:
- port: q0:res
clock: q0:ro
- port: q1:res
clock: q1:ro
- port: q2:res
clock: q2:ro
digital_outputs:
# configuration for channels of the type 'digital_output'
# see: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#digital-channel
#
# name is of format <channel_type>_<n> where n is the number of the channel in this list
- name: "digital_output_0"
portclock_configs:
- port: q0:res
clock: q0:ro
- port: q1:res
clock: q1:ro
- port: q2:res
clock: q2:ro
- name: "cluster1_module_2"
instrument_type: "QRM"
# Valid channel lists
# - complex_inputs
# - complex_outputs
# - real_inputs
# - real_outputs
# - digital_outputs
#
# Valid channel names
# - 'complex_output_0'
# - 'real_output_0'
# - 'real_output_1'
# - 'complex_input_0'
# - 'real_input_0'
# - 'real_input_1'
# - 'digital_output_0'
# - 'digital_output_1'
# - 'digital_output_2'
# - 'digital_output_3'
complex_inputs:
# configuration for channels of the type 'complex_input'
# see: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#complex-channel
#
# name is of format <channel_type>_<n> where n is the number of the channel in this list
- name: "complex_input_0"
input_gain_I: 2
input_gain_Q: 2
portclock_configs:
- port: q0:res
clock: q0:ro
real_inputs:
# configuration for channels of the type 'real_input'
# see: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#real-channel
#
# name is of format <channel_type>_<n> where n is the number of the channel in this list
- name: "real_input_0"
input_gain_0: 2
input_gain_1: 2
portclock_configs:
- port: q0:res
clock: q0:ro
- name: "real_input_1"
portclock_configs:
- port: q0:res
clock: q0:ro
complex_outputs:
# configuration for channels of the type 'complex_output'
# see: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#complex-channel
#
# name is of format <channel_type>_<n> where n is the number of the channel in this list
- name: "complex_output_0"
marker_debug_mode_enable: true
dc_mixer_offset_I: -0.054
dc_mixer_offset_Q: -0.034
portclock_configs:
# portclock configurations for this channel
# See: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#portclock-configuration
- port: q0:res
clock: q0:ro
- port: q1:res
clock: q1:ro
mixer_amp_ratio: 0.9997
mixer_phase_error_deg: -4
- port: q2:res
clock: q2:ro
real_outputs:
# configuration for channels of the type 'real_output'
# see: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#real-channel
#
# name is of format <channel_type>_<n> where n is the number of the channel in this list
- name: "real_output_0"
portclock_configs:
- port: q0:res
clock: q0:ro
- port: q1:res
clock: q1:ro
- port: q2:res
clock: q2:ro
digital_outputs:
# configuration for channels of the type 'digital_output'
# see: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#digital-channel
#
# name is of format <channel_type>_<n> where n is the number of the channel in this list
- name: "digital_output_0"
portclock_configs:
- port: q0:res
clock: q0:ro
- port: q1:res
clock: q1:ro
- port: q2:res
clock: q2:ro
- name: "cluster1_module_3"
instrument_type: "QCM_RF"
# Valid channel lists
# - complex_outputs
# - digital_outputs
#
# Valid channel names
# - 'complex_output_0'
# - 'complex_output_1'
# - 'digital_output_0'
# - 'digital_output_1'
complex_outputs:
# configuration for channels of the type 'complex_output'
# see: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#complex-channel
#
# name is of format <channel_type>_<n> where n is the number of the channel in this list
- name: "complex_output_0"
marker_debug_mode_enable: true
dc_mixer_offset_I: -0.054
dc_mixer_offset_Q: -0.034
portclock_configs:
# portclock configurations for this channel
# See: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#portclock-configuration
- port: q0:res
clock: q0:ro
- port: q1:res
clock: q1:ro
mixer_amp_ratio: 0.9997
mixer_phase_error_deg: -4
- port: q2:res
clock: q2:ro
- name: "complex_output_1"
portclock_configs:
- port: q0:res
clock: q0:ro
- port: q1:res
clock: q1:ro
- port: q2:res
clock: q2:ro
digital_outputs:
# configuration for channels of the type 'digital_output'
# see: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#digital-channel
#
# name is of format <channel_type>_<n> where n is the number of the channel in this list
- name: "digital_output_0"
portclock_configs:
- port: q0:res
clock: q0:ro
- port: q1:res
clock: q1:ro
- port: q2:res
clock: q2:ro
- name: "cluster1_module_4"
instrument_type: "QRM_RF"
# Valid channel lists
# - complex_inputs
# - complex_outputs
# - digital_outputs
#
# Valid channel names
# - 'complex_output_0'
# - 'digital_output_0'
# - 'digital_output_1'
# - 'complex_input_0'
complex_inputs:
# configuration for channels of the type 'complex_input'
# see: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#complex-channel
#
# name is of format <channel_type>_<n> where n is the number of the channel in this list
- name: "complex_input_0"
input_gain_I: 2
input_gain_Q: 2
portclock_configs:
- port: q0:res
clock: q0:ro
complex_outputs:
# configuration for channels of the type 'complex_output'
# see: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#complex-channel
#
# name is of format <channel_type>_<n> where n is the number of the channel in this list
- name: "complex_output_0"
marker_debug_mode_enable: true
dc_mixer_offset_I: -0.054
dc_mixer_offset_Q: -0.034
portclock_configs:
# portclock configurations for this channel
# See: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#portclock-configuration
- port: q0:res
clock: q0:ro
- port: q1:res
clock: q1:ro
mixer_amp_ratio: 0.9997
mixer_phase_error_deg: -4
- port: q2:res
clock: q2:ro
digital_outputs:
# configuration for channels of the type 'digital_output'
# see: https://quantify-os.org/docs/quantify-scheduler/dev/reference/qblox/Cluster.html#digital-channel
#
# name is of format <channel_type>_<n> where n is the number of the channel in this list
- name: "digital_output_0"
portclock_configs:
- port: q0:res
clock: q0:ro
- port: q1:res
clock: q1:ro
- port: q2:res
clock: q2:ro
- name: "digital_output_1"
portclock_configs:
- port: q0:res
clock: q0:ro
- port: q1:res
clock: q1:ro
- port: q2:res
clock: q2:ro
generic_qcodes_instruments:
# Generic QCoDeS instruments, such as local oscillators.
#
# These should be a flat JSON blob where every key is a QCoDeS command for the device and the value corresponds
# to the set value. QCoDeS drivers can be found at https://microsoft.github.io/Qcodes/drivers_api/index.html.
# For example, here is the driver for SGS100A: https://microsoft.github.io/Qcodes/drivers_api/RohdeSchwarz.html#qcodes.instrument_drivers.rohde_schwarz.RohdeSchwarzSGS100A.
- name: "SGS13"
instrument_type: "LocalOscillator"
instrument_driver:
# details for instantiating the QCoDeS driver
import_path: "qcodes.instrument_drivers.rohde_schwarz.RohdeSchwarzSGS100A"
# the import path to the driver
kwargs:
# the key-word arguments to be passed when initializing the driver
name: "SGS13"
address: "TCPIP::192.0.2.11::INSTR"
parameters:
# QCoDeS parameters are special in such a way that settable parameters accept their value as a simple function
# call e.g. instance.frequency(3600000000)
# See: https://microsoft.github.io/Qcodes/examples/15_minutes_to_QCoDeS.html#Example-of-setting-and-getting-parameters
phase: 0.0
frequency: 3600000000
power: -1
IQ_state: "1"
pulsemod_state: "0"
LO_source: "INT"
ref_osc_source: "EXT"
ref_osc_output_freq: "10MHz"
ref_osc_external_freq: "10MHz"
ref_LO_out: "REF"
# You can add other arbitrary key-values that can be passed to quantify
# e.g.
# latency_corrections:
# q4:mw-q4.01: 8e-9
# q5:mw-q5.01: 4e-9
#