You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/protocols/signal/time_of_flight.rst
+7-22Lines changed: 7 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,42 +24,27 @@ How to execute the experiment
24
24
- id: time of flight experiment # custom ID of the experiment
25
25
operation: time_of_flight_readout # unique name of the routine
26
26
parameters:
27
-
readout_amplitude: 1# usually high
27
+
readout_amplitude: 0.5
28
28
window_size: 10
29
+
detuning: 50_000_000
29
30
nshots: 1024
30
31
relaxation_time: 20_000
31
32
32
33
Although it is possible to avoid setting a specific readout amplitude, it is generally useful to set a high value here. Indeed, we are not looking for the optimal amplitude but we want to have a signal with enough power so that it is clear when it starts.
33
34
35
+
34
36
Acquisition
35
37
^^^^^^^^^^^
36
38
37
-
.. testcode::
38
-
:hide:
39
-
40
-
from qibolab import AcquisitionType
41
-
42
-
It is important to note that this experiment makes use of the RAW acquisition mode (see `Qibolab documentation <https://qibo.science/qibolab/stable/api-reference/qibolab.html#qibolab.execution_parameters.AcquisitionType>`_), which may require some specific care depending on the instrument employed (for some devices demodulation could be used, or this mode could be available for just a single qubit at a time).
43
-
44
-
For a 3D cavity we expect a plot (considering demodulation) as the following:
45
-
46
39
.. image:: time_of_flight.png
47
40
48
-
In this image, for example, we can see that the fit procedure did not find the correct pulse starting point (that is around 200). This could be improved increasing the window size.
49
-
50
-
For a 2D resonator, some more oscillation could appear:
51
-
52
-
.. image:: time_of_flight_2d.png
53
-
54
-
Just as an example, we provide here also a plot for a 2D resonator case, where the demodulation is not carried out.
55
-
As we can see the plot is very different, but the starting point of the signal is still clearly visible.
56
-
57
-
.. image:: time_of_flight_2d_nodem.png
58
-
59
41
Fit
60
42
^^^
61
43
62
-
The fit procedure (:func:`qibocal.protocols.signal_experiments.time_of_flight_readout._fit`) employs a moving average, returning the time when it is maximum, namely when the signal starts being acquired.
44
+
The fit procedure computes the expected time at which the signal should appear.
45
+
To estimate the time of flight in the fitting a threshold is estimated to distinguish the noise from the signal, then
46
+
the first point where the signal exceed this value is selected as the time of flight.
0 commit comments