Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Pasquale <[email protected]>
  • Loading branch information
Edoardo-Pedicillo and andrea-pasquale authored Jan 21, 2025
1 parent c60b0f8 commit f759ac6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/source/protocols/xyz_timing.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
XYZ-TIMING
==========

This routine is evaluating the different time of arrival of the flux and drive
pulse to the qubit. These delays are usually originated by the differences in
This protocol is evaluating the different time of arrival of the flux and drive
pulse to the qubit. These delays are usually caused by differences in
cable length or by the electronics.

In this procedure, we vary the relative start times of the flux and drive pulses,
Expand Down
3 changes: 1 addition & 2 deletions src/qibocal/protocols/xyz_timing.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,10 @@ def fit_function(x, a, b, c, d, e):

def _fit(data: XYZTimingData) -> XYZTimingResults:
"""Post-processing for drive-flux channels timing"""
qubits = data.qubits
params = {}
errors = {}
delays = {}
for qubit in qubits:
for qubit in data.qubits:
data_qubit = data.data[qubit]
delay = data_qubit.delay
prob = data_qubit.prob
Expand Down

0 comments on commit f759ac6

Please sign in to comment.