supergrad.utils.gates.qrot

Contents

supergrad.utils.gates.qrot#

supergrad.utils.gates.qrot(theta, phi, n=None, target=0)[source]#

Single qubit rotation driving by Rabi oscillation with 0 detune.

SuperGrad-supported implementation of qutip_qip.operations.gates.qrot().

Original docstring below.

Parameters:
  • phi (float) – The inital phase of the rabi pulse.

  • theta (float) – The duration of the rabi pulse.

  • target (int) – The index of the target qubit.

Returns:

qrot_gate – Quantum object representation of physical qubit rotation under a rabi pulse.

Return type:

qutip.Qobj