diff --git a/src/qibocal/protocols/characterization/allxy/allxy_drag_pulse_tuning.py b/src/qibocal/protocols/characterization/allxy/allxy_drag_pulse_tuning.py index cb13fe167..a4ed737e9 100644 --- a/src/qibocal/protocols/characterization/allxy/allxy_drag_pulse_tuning.py +++ b/src/qibocal/protocols/characterization/allxy/allxy_drag_pulse_tuning.py @@ -94,7 +94,9 @@ def _acquisition( # store the results gate = "-".join(gates) data.register_qubit( - allxy.AllXYType, (qubit, beta_param), dict(prob=z_proj, gate=gate) + allxy.AllXYType, + (qubit, beta_param), + dict(prob=np.array([z_proj]), gate=np.array([gate])), ) return data diff --git a/src/qibocal/protocols/characterization/allxy/drag_pulse_tuning.py b/src/qibocal/protocols/characterization/allxy/drag_pulse_tuning.py index c5e5681da..0e2e0b603 100644 --- a/src/qibocal/protocols/characterization/allxy/drag_pulse_tuning.py +++ b/src/qibocal/protocols/characterization/allxy/drag_pulse_tuning.py @@ -143,8 +143,8 @@ def _acquisition( DragPulseTuningType, (qubit), dict( - signal=r1.magnitude - r2.magnitude, - beta=beta_param, + signal=np.array([r1.magnitude - r2.magnitude]), + beta=np.array([beta_param]), ), )