ms_dephasing_robust_cost
ions.ms_dephasing_robust_cost(drives, lamb_dicke_parameters, relative_detunings, *, name=None)
Calculate the cost for robust optimization of a Mølmer–Sørensen gate.
Add the tensor that this function returns to the infidelity of your target operation to obtain a cost that you can use to create a Mølmer–Sørensen gate that is robust against dephasing noise. You can further multiply the robust cost by a scaling factor to weigh how much importance you give to the robustness compared to the original cost.
Parameters
- drives (list [Pwc or None ]) – The piecewise-constant drives, , one for each of the ions. Drive values must be in rad/s and durations must be in seconds. All drives must have the same total duration, but can have different segmentations. If an ion is not addressed, you can pass None for its drive (this leads to a more efficient calculation than passing a zero drive).
- lamb_dicke_parameters (np.ndarray) – The laser-ion coupling strength, .
Its shape must be
(3, N, N)
, where the dimensions indicate, respectively, axis, collective mode, and ion. - relative_detunings (np.ndarray) – The difference (in Hz) between each motional
mode frequency and the laser detuning from the qubit transition frequency
. Its shape must be
(3, N)
, where the dimensions indicate, respectively, axis and collective mode. - name (str or None , optional) – The name of the node.
Returns
The cost term that you can use to optimize a Mølmer–Sørensen gate that is robust against dephasing noise. The cost is the sum of the square moduli of the time-averaged positions of the phase-space trajectories, weighted by the corresponding Lamb–Dicke parameters.
Return type
Tensor(scalar, real)
SEE ALSO
Graph.ions.ms_infidelity
: Final operational infidelity of a Mølmer–Sørensen gate.
boulderopal.ions.obtain_ion_chain_properties
: Function to calculate the properties of an ion chain.
Notes
You can construct a Mølmer–Sørensen gate that is robust against dephasing noise by a combination of minimizing the time-averaged positions of the phase-space trajectories and imposing a symmetry in each ion’s drive 1.
The displacement of the -th ion in the -th mode of oscillation in dimension is 2
For a gate of duration , the time-averaged displacement is
This function returns the sum of the square moduli of the time-averaged
positions multiplied by the corresponding Lamb–Dicke parameters. These
parameters weight the time-averaged positions in the same way that the
are weighted in the formula for the infidelity
of a Mølmer–Sørensen gate (see Graph.ions.ms_infidelity
).
In other words, the robust cost that this function returns is
You can add this to the infidelity with the respect to the target gate to create the cost function that optimizes a gate that is also robust against dephasing. You can further multiply by a scaling factor to weigh how much importance you give to robustness.
References
- [1] A. R. Milne, C. L. Edmunds, C. Hempel, F. Roy, S. Mavadia, and M. J. Biercuk, Phys. Rev. Appl. 13, 024022 (2020).
- [2] C. D. B. Bentley, H. Ball, M. J. Biercuk, A. R. R. Carvalho, M. R. Hush, and H. J. Slatyer, Adv. Quantum Technol. 3, 2000044 (2020).
Examples
Refer to the How to optimize error-robust Mølmer–Sørensen gates for trapped ions user guide to find how to use this and related nodes.