From 32308e27a96f84d27999cfc082f2f01cdcf6131b Mon Sep 17 00:00:00 2001 From: Elisa Stabilini Date: Thu, 28 Nov 2024 09:46:19 +0100 Subject: [PATCH 1/2] Update flipping.rst --- doc/source/protocols/flipping.rst | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/doc/source/protocols/flipping.rst b/doc/source/protocols/flipping.rst index c210af0c3..39425c558 100644 --- a/doc/source/protocols/flipping.rst +++ b/doc/source/protocols/flipping.rst @@ -1,8 +1,8 @@ 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 @@ -10,7 +10,9 @@ probabilities are the same. With the :math:`R_x(\pi/2)` pulse, in case of under 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. Parameters ^^^^^^^^^^ @@ -35,6 +37,20 @@ The expected output is the following: .. image:: flipping.png +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 + parameters: + delta_amplitude: 0.05 + nflips_max: 30 + nflips_step: 1 + rx90: True + +The expected output is the following: + Requirements ^^^^^^^^^^^^ From 57904a1e1534b4dbb4da1a77c08bb10eec1feedf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 28 Nov 2024 08:46:31 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- doc/source/protocols/flipping.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/protocols/flipping.rst b/doc/source/protocols/flipping.rst index 39425c558..5ac42e9bb 100644 --- a/doc/source/protocols/flipping.rst +++ b/doc/source/protocols/flipping.rst @@ -37,7 +37,7 @@ The expected output is the following: .. image:: flipping.png -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 +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