Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to qibolab 0.2 #990

Open
wants to merge 183 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
183 commits
Select commit Hold shift + click to select a range
e5a258e
Squashed commit of the following:
stavros11 Oct 1, 2024
7650a0d
fix: amplitude replace in resonator spectroscopy
stavros11 Oct 3, 2024
4d9fb55
fix: duration and amplitude overwrite in Rabi
stavros11 Oct 3, 2024
a01d803
feat: update chevron routine
stavros11 Oct 5, 2024
12e0dac
feat: update chevron signal and fix parking
stavros11 Oct 6, 2024
2ac38ff
feat: update virtual_z_phases routine
stavros11 Oct 6, 2024
375ba85
fix: create_sequence arguments
stavros11 Oct 6, 2024
0d80d96
feat: update virtual_z_phases_signal
stavros11 Oct 6, 2024
312d61e
chore: update flux routines
stavros11 Oct 11, 2024
1a50550
chore: update qubit spectroscopy
stavros11 Oct 17, 2024
d205faf
fix: error calculation
stavros11 Oct 17, 2024
d009fd8
chore: update Ramsey routines
stavros11 Oct 17, 2024
75afb3e
chore: update unrolling branch in ramsey (not tested)
stavros11 Oct 17, 2024
98519e8
chore: update T1 and T1 signal routines
stavros11 Oct 17, 2024
bfd79b5
chore: update spin echo routine
stavros11 Oct 17, 2024
aeb553e
chore: update punchout routine
stavros11 Oct 18, 2024
ced26b9
chore: update allxy
stavros11 Oct 18, 2024
f4cb1c8
feat: Start implementation of calibration platform
andrea-pasquale Oct 22, 2024
3702cc5
feat: Add create_calibration_platform
andrea-pasquale Oct 22, 2024
670f00e
chore: Working version on hardware
andrea-pasquale Oct 22, 2024
0337c1c
refactor: Calibration platform as inheritance of Platform
andrea-pasquale Oct 22, 2024
b0364f7
fix: dump platform correctly
andrea-pasquale Oct 22, 2024
e6af350
refactor: Assignment fidelity as derived from ro fidelity
andrea-pasquale Oct 23, 2024
dd8e6b3
feat: Update for classification and other protocols
andrea-pasquale Oct 23, 2024
256102e
fix: Dump qubit pair as string
andrea-pasquale Oct 25, 2024
165cba8
docs: Minor adjustments
andrea-pasquale Oct 25, 2024
779f04c
refactor: Renaming + crosstalk matrix update
andrea-pasquale Oct 25, 2024
b596aca
refactor: resonator flux with new calibration model
andrea-pasquale Oct 25, 2024
241fa34
fix: Fixing #1018
andrea-pasquale Oct 25, 2024
430fe50
feat: Restoring update in ramsey
andrea-pasquale Oct 25, 2024
834c022
refactor: Restoring update for punchout
andrea-pasquale Oct 25, 2024
5e678a9
refactor: get PLATFORMS from qibolab
andrea-pasquale Oct 27, 2024
a20d1b7
feat: Use locate_platform
andrea-pasquale Oct 28, 2024
ec82a06
feat: Add errors to coherence values
andrea-pasquale Oct 29, 2024
051fe35
refactor: Convert measure to list to ease json serialization
andrea-pasquale Oct 29, 2024
399c881
test: Adding test for calibration
andrea-pasquale Oct 29, 2024
0874d71
chore: Add TODO
andrea-pasquale Oct 30, 2024
b0f9aac
feat: Adding dispersive shift
andrea-pasquale Oct 30, 2024
8093a68
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 7, 2024
4b0f4bb
Squashed commit of the following:
stavros11 Oct 1, 2024
b9effd5
chore: update Ramsey routines
stavros11 Oct 17, 2024
e36f652
feat: Porting drag protocol to 0.2
andrea-pasquale Oct 19, 2024
d4d30e8
refactor: Calibration platform as inheritance of Platform
andrea-pasquale Oct 22, 2024
bfb2049
refactor: resonator flux with new calibration model
andrea-pasquale Oct 25, 2024
94a3814
refactor: Fixing T1 sequences and clean up code
andrea-pasquale Oct 29, 2024
f46d2fe
feat: Porting T2 to 0.2
andrea-pasquale Oct 29, 2024
2cdf127
feat: Porting zeno to 0.2
andrea-pasquale Oct 29, 2024
208fede
fix: Fix table for zeno signal
andrea-pasquale Oct 30, 2024
9016f6b
feat: Porting dispersive shift protocols to 0.2
andrea-pasquale Oct 30, 2024
31952eb
fix: Fixing DRAG
andrea-pasquale Oct 30, 2024
fcc4f55
feat: port flipping to 0.2
andrea-pasquale Oct 30, 2024
451e38a
feat: port flipping signal to 0.2
andrea-pasquale Oct 30, 2024
a123483
feat: Porting ro_characterization (not tested on hardware)
andrea-pasquale Oct 30, 2024
0d9a6f9
fix: Fix in pulse sequence for ro char
andrea-pasquale Nov 4, 2024
6d3b872
feat: porting mitigation matrix to 0.2 with no update
andrea-pasquale Nov 4, 2024
1c51daf
refactor: Store also readout mitigation matrix as sparse matrix
andrea-pasquale Nov 4, 2024
b048b91
feat: Working version of dumping and loading for ro matrix
andrea-pasquale Nov 5, 2024
13f78b7
feat: Add ro optimization protocols
andrea-pasquale Nov 5, 2024
3ef532d
fix: Stavros correction for pulse sequence composition
andrea-pasquale Nov 6, 2024
24149b3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 6, 2024
407a076
fix: drop QubitId redefinition
stavros11 Nov 7, 2024
74c0592
fix: indentation in drag
stavros11 Nov 7, 2024
5563d5d
fix: sequence timing in dispersive_shift_qutrit
stavros11 Nov 7, 2024
2f93eb8
feat: Add Ramsey ZZ and fix imports
andrea-pasquale Nov 7, 2024
e21aa75
fix: Fix platform in executor init
andrea-pasquale Nov 7, 2024
f743b2e
feat: porting RB single qubit protocols
andrea-pasquale Nov 7, 2024
9811b0d
fea: porting 2q rb
andrea-pasquale Nov 7, 2024
8930f6e
feat: working version of qubit ef
andrea-pasquale Nov 7, 2024
98090a2
fix: Add serialize file
andrea-pasquale Nov 8, 2024
b094c4e
feat: Adding rabi_ef and fixing anharmonicity in qubit_ef
andrea-pasquale Nov 8, 2024
54d9b69
feat: Adding qutrits classification
andrea-pasquale Nov 8, 2024
738096f
refactor: Drop protocols not be used in 0.2
andrea-pasquale Nov 8, 2024
3ccda1f
fix: Remove allxy_drag_detuning
andrea-pasquale Nov 8, 2024
63e6b4e
refactor: Drop temporarily coupler protocols
andrea-pasquale Nov 8, 2024
2faac62
fix: Remove also fast-reset
andrea-pasquale Nov 8, 2024
2c18f47
feat: Adding signal experiment
andrea-pasquale Nov 8, 2024
f076714
feat: port qubit crosstalk
andrea-pasquale Nov 8, 2024
f466065
feat: porting rabi 2d protocols
andrea-pasquale Nov 8, 2024
a8e9c50
feat: porting allxy_res_... (not fully working)
andrea-pasquale Nov 8, 2024
4019d84
build: update lock file
andrea-pasquale Nov 8, 2024
e87bdaa
feat: Fixing pylint and dropping chsh
andrea-pasquale Nov 8, 2024
e08ceb2
feat: Port optimize to 0.2
andrea-pasquale Nov 9, 2024
05912ca
test: Test passing
andrea-pasquale Nov 9, 2024
ca0bd6b
build: Rebuild lock with previous qibo version
andrea-pasquale Nov 9, 2024
2cb401a
fix: Use calibration platform in tests
andrea-pasquale Nov 9, 2024
7ae9b45
test: Improve coverage
andrea-pasquale Nov 11, 2024
fdb9bb9
refactor: Change Measure type
andrea-pasquale Nov 11, 2024
d41c295
test: Fix test from randomly failing
andrea-pasquale Nov 11, 2024
5c3f424
Remove unused protocol and fix return type for sparse
andrea-pasquale Nov 11, 2024
bd9485e
feat: Update all native/configs parameters
andrea-pasquale Nov 15, 2024
b7afb14
Merge pull request #1036 from qiboteam/0.2-more-protocols
andrea-pasquale Nov 15, 2024
5d236bf
feat: Update for virtual phases
andrea-pasquale Nov 15, 2024
a91211c
Merge branch 'main' into 0.2
andrea-pasquale Nov 15, 2024
eab1dc8
fix: Update virtual phases
andrea-pasquale Nov 15, 2024
9ab4d0e
doc: Update documentations and scripts
andrea-pasquale Nov 15, 2024
af4cfcb
test: Improving coverage
andrea-pasquale Nov 15, 2024
c280398
refactor: Platform -> CalibrationPlatform + drop virtual_z_signal
andrea-pasquale Nov 15, 2024
14f80b4
first test for swittching from pi to pi-half
ElStabilini Nov 19, 2024
ec4b7ad
fixed pi half calibration sequence
ElStabilini Nov 20, 2024
9f63c69
modified classes and methods for running rabi for RX90
ElStabilini Nov 20, 2024
33db217
added option to save duration of RX90 pulse
ElStabilini Nov 21, 2024
32cceda
started modifying rabi ef for using RX90
ElStabilini Nov 21, 2024
7661361
modified pihalf_pulse to rx90 in parameters
ElStabilini Nov 21, 2024
d03f383
Update rabi.rst
ElStabilini Nov 21, 2024
d0c1228
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 21, 2024
e6a2395
set pi calibration as default and change rx90 dtype
ElStabilini Nov 21, 2024
144f468
Saving modified documentation
ElStabilini Nov 21, 2024
c112748
fix ordering error
ElStabilini Nov 21, 2024
f083434
moved all pihalf_pulses in Rabi-Data class
ElStabilini Nov 21, 2024
f52765f
moved all pihalf_pulses in Rabi-Data class
ElStabilini Nov 21, 2024
efcb55a
fixed errors
ElStabilini Nov 21, 2024
66f0b71
Update rabi.rst
ElStabilini Nov 21, 2024
1f16f50
fixed amplitude_sequence and length_sequence inputs
ElStabilini Nov 21, 2024
f8e9021
Sync remote and local branches
ElStabilini Nov 21, 2024
a08cf3c
fixed acquisition error
ElStabilini Nov 21, 2024
0f9ec82
fixed error
ElStabilini Nov 21, 2024
6111a46
fix rabi length signal
ElStabilini Nov 22, 2024
973b318
fix rabi length signal
ElStabilini Nov 22, 2024
3164fd8
align True
ElStabilini Nov 22, 2024
393d039
Update rabi.rst
ElStabilini Nov 22, 2024
1742dc1
Add rabi_amplitude_rx90
ElStabilini Nov 22, 2024
30dd98c
Update rabi.rst
ElStabilini Nov 22, 2024
f521abc
rename pi_half to rx90
ElStabilini Nov 22, 2024
bf70bf6
Sync local and remote branches
ElStabilini Nov 22, 2024
349e312
force ef rabi protocol with pihalf
ElStabilini Nov 22, 2024
07a62b8
Delete rabi_length_signal.yaml
ElStabilini Nov 25, 2024
1873ccb
Update src/qibocal/protocols/rabi/utils.py
ElStabilini Nov 25, 2024
ef2e21a
Update src/qibocal/protocols/rabi/amplitude_frequency.py
ElStabilini Nov 25, 2024
7deade0
Update src/qibocal/protocols/rabi/length_frequency.py
ElStabilini Nov 25, 2024
222539d
Update src/qibocal/protocols/rabi/length_frequency.py
ElStabilini Nov 25, 2024
62230c9
Update src/qibocal/protocols/rabi/length.py
ElStabilini Nov 25, 2024
23ae111
Update src/qibocal/protocols/rabi/ef.py
ElStabilini Nov 25, 2024
4dbcc34
Update src/qibocal/protocols/rabi/length.py
ElStabilini Nov 25, 2024
3427756
Update update.py
ElStabilini Nov 25, 2024
3c676ff
Update protocols.yml
ElStabilini Nov 26, 2024
df453df
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 26, 2024
92e0d71
Update pyproject.toml
ElStabilini Nov 26, 2024
1f9d532
Update length_frequency.py
ElStabilini Nov 26, 2024
31db8b7
Update ef.py
ElStabilini Nov 26, 2024
c579cbb
Update flipping.py
ElStabilini Nov 26, 2024
64e5352
Update pyproject.toml
ElStabilini Nov 26, 2024
3c4e0d9
Update poetry.lock
ElStabilini Nov 27, 2024
04cf0f9
Update flipping.py
ElStabilini Nov 27, 2024
cf73084
modify amplitude_sequence and length_sequence for rx90, add flipping …
ElStabilini Nov 27, 2024
f6bfcaf
Update flipping.py
ElStabilini Nov 27, 2024
454f5b5
Update flipping.py
ElStabilini Nov 27, 2024
47a22b5
Update flipping.py
ElStabilini Nov 27, 2024
96dd44e
Update flipping.py
ElStabilini Nov 27, 2024
07a4bcd
Update flipping.py
ElStabilini Nov 27, 2024
e8cea9a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 27, 2024
4052755
Update flipping.py
ElStabilini Nov 27, 2024
12fedb5
fix FlippingResults and FlippingData class definition
ElStabilini Nov 28, 2024
b58e13a
fix globalbackends error: downgrade qibo
ElStabilini Nov 28, 2024
235f3b4
change from GlobalBackends() call to get_backend() call for compatibi…
ElStabilini Nov 28, 2024
32308e2
Update flipping.rst
ElStabilini Nov 28, 2024
57904a1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 28, 2024
51ebc1e
fix qibo version in pyproject.toml
ElStabilini Nov 28, 2024
3b6769d
fix error in _fit method
ElStabilini Nov 28, 2024
29a1296
update documentation for flipping
ElStabilini Nov 28, 2024
4a1251a
Merge pull request #1050 from qiboteam/fix_backend
scarrazza Nov 28, 2024
022240d
fix tests for rx90
ElStabilini Nov 28, 2024
8b0995d
Update flipping.rst
ElStabilini Nov 28, 2024
98bcf1d
modify plot function in utils to have the correct name of the pulse c…
ElStabilini Nov 29, 2024
17ba606
'sync remote and local branch'
ElStabilini Nov 29, 2024
7b907ae
improve code for printing pulse names on reports
ElStabilini Nov 30, 2024
7660fde
fix compatibility with qibo v0.2.14
ElStabilini Dec 3, 2024
2d8c8f7
fix conflict with pyproject.toml for branch 0.2
ElStabilini Dec 3, 2024
1bac594
fix error in flipping sequence construction for rx90
ElStabilini Dec 3, 2024
af82fec
Merge branch '0.2' into pi_half
ElStabilini Dec 3, 2024
d7745ae
feat: Add update to drag and improve fit
andrea-pasquale Dec 5, 2024
228a02e
Update src/qibocal/protocols/flipping.py
ElStabilini Dec 6, 2024
35c7178
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 6, 2024
8950008
Update src/qibocal/protocols/flipping.py
ElStabilini Dec 6, 2024
b90f887
fix test definition and improve code for flipping with rx90 gate
ElStabilini Dec 6, 2024
23ee280
'sync remote and local fixes'
ElStabilini Dec 6, 2024
01a4d1a
Update utils.py
ElStabilini Dec 6, 2024
c5bb28f
improve documentation for flipping and rabi protocols
ElStabilini Dec 6, 2024
f62bbc3
Update doc/source/protocols/rabi/rabi.rst
ElStabilini Dec 7, 2024
832d0e9
create first RX90 of the sequence always using R.(theta=pi/2)
ElStabilini Dec 11, 2024
05c2886
fix tabs
ElStabilini Dec 11, 2024
478c864
sync remote and local update
ElStabilini Dec 11, 2024
837cc08
Update src/qibocal/protocols/flipping.py
ElStabilini Dec 11, 2024
7b23156
Merge pull request #1044 from qiboteam/pi_half
ElStabilini Dec 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions calibration_scripts/rx_calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
e.platform.settings.nshots = 2000

rabi_output = e.rabi_amplitude(
min_amp_factor=0.5,
max_amp_factor=1.5,
step_amp_factor=0.01,
pulse_length=e.platform.qubits[target].native_gates.RX.duration,
min_amp=0.0,
max_amp=2,
step_amp=0.01,
pulse_length=e.platform.natives.single_qubit[target].RX[0][1].duration,
)
# update only if chi2 is satisfied
if rabi_output.results.chi2[target][0] > 2:
Expand All @@ -43,10 +43,10 @@
ramsey_output.update_platform(e.platform)

rabi_output_2 = e.rabi_amplitude(
min_amp_factor=0.5,
max_amp_factor=1.5,
step_amp_factor=0.01,
pulse_length=e.platform.qubits[target].native_gates.RX.duration,
min_amp=0,
max_amp=0.2,
step_amp=0.01,
pulse_length=e.platform.natives.single_qubit[target].RX[0][1].duration,
)
# update only if chi2 is satisfied
if rabi_output_2.results.chi2[target][0] > 2:
Expand All @@ -61,10 +61,10 @@
)

rabi_output_3 = e.rabi_amplitude(
min_amp_factor=0.5,
max_amp_factor=1.5,
step_amp_factor=0.01,
pulse_length=e.platform.qubits[target].native_gates.RX.duration,
min_amp=0,
max_amp=0.2,
step_amp=0.01,
pulse_length=e.platform.natives.single_qubit[target].RX[0][1].duration,
)
# update only if chi2 is satisfied
if rabi_output_3.results.chi2[target][0] > 2:
Expand Down
2 changes: 1 addition & 1 deletion doc/source/getting-started/interface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ This program will upload your report to the server and generate an unique URL.


``qq compare``
^^^^^^^^^^^^^
^^^^^^^^^^^^^^


Using ``qq compare`` it is possible to compare together two ``Qibocal`` reports.
Expand Down
Binary file removed doc/source/protocols/avoided_crossing.png
Binary file not shown.
55 changes: 0 additions & 55 deletions doc/source/protocols/avoided_crossing.rst

This file was deleted.

6 changes: 3 additions & 3 deletions doc/source/protocols/chevron.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ Below is an example runcard for this experiment.
- id: chevron
operation: chevron
parameters:
amplitude_max_factor: 1.1
amplitude_min_factor: 0.9
amplitude_step_factor: 0.01
amplitude_max: 1.1
amplitude_min: 0.9
amplitude_step: 0.01
duration_max: 51
duration_min: 4
duration_step: 2
Expand Down
Binary file removed doc/source/protocols/coupler/chevron.png
Binary file not shown.
35 changes: 0 additions & 35 deletions doc/source/protocols/coupler/chevron.rst

This file was deleted.

34 changes: 18 additions & 16 deletions doc/source/protocols/flipping.rst
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
Flipping
========

The flipping experiment corrects the amplitude in the qubit drive pulse. In this experiment,
we applying an :math:`R_x(\pi/2)` rotation followed by :math:`N` flips (two :math:`R_x(\pi)` rotations)
The flipping experiment corrects the amplitude in the qubit drive pulse for :math:`R_x(\pi)` rotations. In this experiment,
we apply an :math:`R_x(\pi/2)` rotation followed by :math:`N` flips (two :math:`R_x(\pi)` rotations)
and we measure the qubit state.
The first :math:`R_x(\pi/2)` is necessary to discriminate the over rotations and under rotations of the :math:`R_x(\pi)` pulse:
without it the difference between the two cases is just a global phase, i.e., the
probabilities are the same. With the :math:`R_x(\pi/2)` pulse, in case of under rotations the state will be closer to :math:`\ket{0}`
after the initial flip, in the over rotations one the final state will be closer to :math:`\ket{1}`.

By fitting the resulting data with a sinusoidal function, we can determine the delta amplitude, which allows us to refine the
:math:`\pi` pulse amplitue.
:math:`\pi` pulse amplitude.

We implemented also a version of the flipping protocol to calibrate the drive pulse amplitude of the :math:`R_x(\pi/2)` rotations,
in this case each :math:`R_x(\pi)` rotation is replaced by two :math:`R_x(\pi/2)` rotations.
The main reasons for implementing protocols to fine tune the `R_x(\pi/2)` rotations are explained in :ref:`rabi`.

Parameters
^^^^^^^^^^
Expand All @@ -24,30 +28,28 @@ It follows a runcard example of this experiment.

.. code-block:: yaml

- id: flipping
operation: flipping
parameters:
detuning: 0.05
nflips_max: 30
nflips_step: 1
- id: flipping
operation: flipping
parameters:
delta_amplitude: 0.05
nflips_max: 30
nflips_step: 1

The expected output is the following:

.. image:: flipping.png

Qibocal provides also a "signal" version of this routine, it follows a possible runcard
with its report.
If the same experiment is run setting the `rx90: True` the flipping is performed to calibrate the amplitude of the :math:`R_x(\pi/2)` rotation

.. code-block:: yaml

- id: flipping
operation: flipping_signal
operation: flipping
parameters:
detuning: -0.5
nflips_max: 20
delta_amplitude: 0.05
nflips_max: 30
nflips_step: 1

.. image:: flipping_signal.png
rx90: True

Requirements
^^^^^^^^^^^^
Expand Down
Binary file removed doc/source/protocols/flipping_signal.png
Binary file not shown.
47 changes: 0 additions & 47 deletions doc/source/protocols/flux/crosstalk.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,50 +62,3 @@ Requirements
^^^^^^^^^^^^

- :ref:`qubit_flux`

.. _resonator_crosstalk:

Resonator crosstalk
-------------------

In a similar fashion it is possible to repeat the previous experiment
by sweeping the readout frequency. Note that in this case it will be
necessary to bias the qubit away from its sweetspot more to observe
significant variations.

Parameters
^^^^^^^^^^

.. autoclass:: qibocal.protocols.flux_dependence.resonator_crosstalk.ResCrosstalkParameters
:noindex:

Example
^^^^^^^

.. code-block:: yaml

- id: resonator crosstalk
operation: resonator_crosstalk
targets: [2]
parameters:
bias_point:
2: 0.5
bias_step: 0.01
bias_width: 0.4
flux_qubits: [0, 3]
freq_step: 100000
freq_width: 6000000
nshots: 2000

.. image:: resonator_crosstalk.png

As we can see, even by biasing the qubit away from its sweetspot we are not able to see
a dependence ( a deviation from the straight line) but only a shift.

The protocols aims at extracting the crosstalk coefficients
:math:`C_{20}` and :math:`C_{23}`.

Requirements
^^^^^^^^^^^^

- :ref:`resonator_flux`
Binary file removed doc/source/protocols/flux/resonator_crosstalk.png
Binary file not shown.
44 changes: 0 additions & 44 deletions doc/source/protocols/flux/single.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,54 +120,10 @@ A possible runcard to assess how the resonator frequency changes by varying flux
relaxation_time: 1000


From this protocol it is possible to extract both the bare and the dressed resonator frequency
as well as an estimate for the coupling :math:`g_0`.
It is suggested to run this protocol only after executing the qubit flux dependence experiment
since some of the coefficients required can be computed with that experiment.


.. image:: resonator_flux.png

Requirements
^^^^^^^^^^^^

- :ref:`resonator_punchout`
- :ref:`qubit_flux`

Qubit flux dependence (tracking)
--------------------------------

As we saw above both the resonator and the qubit are affected by an external flux.
In the qubit flux dependence the measurement is performed at fixed readout frequency.
To take into account how the transmon shifts in frequency when probing the qubit we have
another experiment `qubit_flux_tracking`.

Parameters
^^^^^^^^^^

.. autoclass:: qibocal.protocols.flux_dependence.qubit_flux_tracking.QubitFluxTrackParameters
:noindex:

Example
^^^^^^^

Here is a possible runcard:

.. code-block:: yaml

- id: qubit flux dependence
operation: qubit_flux_tracking
parameters:
bias_step: 0.001
bias_width: 0.05
drive_amplitude: 0.002
drive_duration: 4000
freq_step: 200000
freq_width: 10000000
nshots: 1024
relaxation_time: 20000

Requirements
^^^^^^^^^^^^

- :ref:`resonator_flux`
3 changes: 1 addition & 2 deletions doc/source/protocols/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. _calibration_routines:
Protocols
=========

Expand Down Expand Up @@ -28,11 +29,9 @@ In this section we introduce the basics of all protocols supported by ``qibocal`
allxy
flipping
readout_mitigation_matrix
avoided_crossing
readout_optimization
standard_rb
chevron
virtual_z
state_tomographies
coupler/chevron
references
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ Here is the corresponding plot:


To extract the qubit frequency a Lorentzian fit is performed.
After the post-processing the following parameters will be updated:

* qubit.drive_frequency
* qubit.native_gates.RX.frequency

Requirements
^^^^^^^^^^^^
Expand Down
Loading
Loading