@@ -165,52 +165,21 @@ def get_rigetti_pulse_model(capabilities_json):
165165 "version" : "1" ,
166166 },
167167 "service" : {
168- "executionWindows" : [
169- {
170- "executionDay" : "Everyday" ,
171- "windowStartHour" : "11:00" ,
172- "windowEndHour" : "12:00" ,
173- }
174- ],
168+ "executionWindows" : [],
175169 "shotsRange" : [1 , 10 ],
176170 },
177- "provider" : {
178- "specs" : {
179- "1Q" : {
180- "0" : {
181- "fActiveReset" : 0.9715 ,
182- "fRO" : 0.951 ,
183- "f1QRB" : 0.997339217568556 ,
184- "f1QRB_std_err" : 0.00006690422818326937 ,
185- "f1Q_simultaneous_RB" : 0.9949723201166536 ,
186- "f1Q_simultaneous_RB_std_err" : 0.00021695233492231294 ,
187- "T1" : 0.000010019627401991471 ,
188- "T2" : 0.000018156447816365015 ,
189- }
190- },
191- "2Q" : {
192- "0-1" : {
193- "fCZ" : 0.9586440436264603 ,
194- "fCZ_std_err" : 0.007025921432645824 ,
195- "fCPHASE" : 0.9287330972713645 ,
196- "fCPHASE_std_err" : 0.009709406809550082 ,
197- "fXY" : 0.9755179214520402 ,
198- "fXY_std_err" : 0.0060234488782598536 ,
199- },
200- },
201- }
202- },
171+ "provider" : {"specs" : {}},
203172 "action" : {
204173 "braket.ir.jaqcd.program" : {
205174 "actionType" : "braket.ir.jaqcd.program" ,
206175 "version" : ["1" ],
207- "supportedOperations" : ["H" ],
176+ "supportedOperations" : [],
208177 }
209178 },
210179 "paradigm" : {
211- "qubitCount" : 30 ,
212- "nativeGateSet" : ["ccnot" , "cy" ],
213- "connectivity" : {"fullyConnected" : False , "connectivityGraph" : {"1" : [ "2" , "3" ] }},
180+ "qubitCount" : 1 ,
181+ "nativeGateSet" : [],
182+ "connectivity" : {"fullyConnected" : False , "connectivityGraph" : {}},
214183 },
215184 "deviceParameters" : {},
216185 "pulse" : capabilities_json ,
@@ -232,26 +201,20 @@ def get_oqc_pulse_model(capabilities_json):
232201 "version" : "1" ,
233202 },
234203 "service" : {
235- "executionWindows" : [
236- {
237- "executionDay" : "Everyday" ,
238- "windowStartHour" : "11:00" ,
239- "windowEndHour" : "12:00" ,
240- }
241- ],
204+ "executionWindows" : [],
242205 "shotsRange" : [1 , 10 ],
243206 },
244207 "action" : {
245208 "braket.ir.jaqcd.program" : {
246209 "actionType" : "braket.ir.jaqcd.program" ,
247210 "version" : ["1" ],
248- "supportedOperations" : ["H" ],
211+ "supportedOperations" : [],
249212 }
250213 },
251214 "paradigm" : {
252215 "qubitCount" : 30 ,
253- "nativeGateSet" : ["ccnot" , "cy" ],
254- "connectivity" : {"fullyConnected" : False , "connectivityGraph" : {"1" : [ "2" , "3" ] }},
216+ "nativeGateSet" : [],
217+ "connectivity" : {"fullyConnected" : False , "connectivityGraph" : {}},
255218 },
256219 "deviceParameters" : {},
257220 "pulse" : capabilities_json ,
@@ -273,26 +236,20 @@ def get_ionq_model():
273236 "version" : "1" ,
274237 },
275238 "service" : {
276- "executionWindows" : [
277- {
278- "executionDay" : "Everyday" ,
279- "windowStartHour" : "11:00" ,
280- "windowEndHour" : "12:00" ,
281- }
282- ],
239+ "executionWindows" : [],
283240 "shotsRange" : [1 , 10 ],
284241 },
285242 "action" : {
286243 "braket.ir.jaqcd.program" : {
287244 "actionType" : "braket.ir.jaqcd.program" ,
288245 "version" : ["1" ],
289- "supportedOperations" : ["H" ],
246+ "supportedOperations" : [],
290247 }
291248 },
292249 "paradigm" : {
293250 "qubitCount" : 30 ,
294- "nativeGateSet" : ["ccnot" , "cy" ],
295- "connectivity" : {"fullyConnected" : True , "connectivityGraph" : {"1" : [ "2" , "3" ] }},
251+ "nativeGateSet" : [],
252+ "connectivity" : {"fullyConnected" : True , "connectivityGraph" : {}},
296253 },
297254 "deviceParameters" : {},
298255 }
@@ -527,22 +484,22 @@ def port():
527484
528485
529486@pytest .fixture
530- def predefined_frame_1 (port ):
487+ def frame_1 (port ):
531488 return Frame (
532- frame_id = "predefined_frame_1 " , frequency = 2e9 , port = port , phase = 0 , is_predefined = True
489+ frame_id = "frame_1 " , frequency = 2e9 , port = port , phase = 0 , is_predefined = False
533490 )
534491
535492
536493@pytest .fixture
537- def pulse_sequence (predefined_frame_1 ):
494+ def pulse_sequence (frame_1 ):
538495 return (
539496 PulseSequence ()
540497 .set_frequency (
541- predefined_frame_1 ,
498+ frame_1 ,
542499 6e6 ,
543500 )
544501 .play (
545- predefined_frame_1 ,
502+ frame_1 ,
546503 DragGaussianWaveform (length = 3e-3 , sigma = 0.4 , beta = 0.2 , id = "drag_gauss_wf" ),
547504 )
548505 )
@@ -608,9 +565,10 @@ def test_user_defined_gate_calibrations_extension(device, user_defined_gate_cali
608565 "OPENQASM 3.0;" ,
609566 "cal {" ,
610567 " bit[1] psb;" ,
568+ " frame frame_1 = newframe(device_port_x0, 2000000000.0, 0);" ,
611569 " waveform drag_gauss_wf = drag_gaussian(3.0ms, 400.0ms, 0.2, 1, false);" ,
612- " set_frequency(predefined_frame_1 , 6000000.0);" ,
613- " play(predefined_frame_1 , drag_gauss_wf);" ,
570+ " set_frequency(frame_1 , 6000000.0);" ,
571+ " play(frame_1 , drag_gauss_wf);" ,
614572 " psb[0] = capture_v0(q1_ro_rx_frame);" ,
615573 "}" ,
616574 ]
@@ -628,9 +586,10 @@ def test_with_oxford_device(OQC_device, user_defined_gate_calibrations):
628586 "OPENQASM 3.0;" ,
629587 "cal {" ,
630588 " bit[1] psb;" ,
589+ " frame frame_1 = newframe(device_port_x0, 2000000000.0, 0);" ,
631590 " waveform drag_gauss_wf = drag_gaussian(3.0ms, 400.0ms, 0.2, 1, false);" ,
632- " set_frequency(predefined_frame_1 , 6000000.0);" ,
633- " play(predefined_frame_1 , drag_gauss_wf);" ,
591+ " set_frequency(frame_1 , 6000000.0);" ,
592+ " play(frame_1 , drag_gauss_wf);" ,
634593 " psb[0] = capture_v0(r1_measure);" ,
635594 "}" ,
636595 ]
0 commit comments