@@ -416,12 +416,24 @@ def add_generic_qubit_parameters(self):
416
416
label = 'RB single-qubit Clifford fidelity' ,
417
417
vals = vals .Numbers (0 , 1.0 ),
418
418
parameter_class = ManualParameter )
419
+ # I believe these were first added by Miguel.
420
+ # To my knowledge, only Quantum Inspire uses them.
421
+ # LDC, 2022/06/24
419
422
for cardinal in ['NW' ,'NE' ,'SW' ,'SE' ]:
420
423
self .add_parameter (f'F_2QRB_{ cardinal } ' ,
421
424
initial_value = 0 ,
422
425
label = f'RB two-qubit Clifford fidelity for edge { cardinal } ' ,
423
426
vals = vals .Numbers (0 , 1.0 ),
424
427
parameter_class = ManualParameter )
428
+ # LDC adding parameter to keep track of two-qubit phases.
429
+ # These are used by Quantum Inspire.
430
+ # 2022/06/24.
431
+ for cardinal in ['NW' ,'NE' ,'SW' ,'SE' ]:
432
+ self .add_parameter (f'CZ_two_qubit_phase_{ cardinal } ' ,
433
+ initial_value = 0 ,
434
+ label = f'Two-qubit phase for CZ on edge { cardinal } ' ,
435
+ vals = vals .Numbers (0 , 360 ),
436
+ parameter_class = ManualParameter )
425
437
426
438
##########################################################################
427
439
# find_ functions (HAL_Transmon specific)
0 commit comments