qit.seq.nmr

qit.seq.nmr(a, name='')

Convert a sequence of NMR-style rotations into a one-qubit control sequence.

Parameters
  • a (array_like) – sequence of one-qubit rotations using the NMR notation: \([[\theta_1, \phi_1], [\theta_2, \phi_2], ...]\)

  • name (str) – name of the sequence

Each \(\theta, \phi\) pair corresponds to a NMR rotation of the form \(\theta_\phi\), or a rotation of the angle \(\theta\) about the unit vector \([\cos(\phi), \sin(\phi), 0]\).

\[R_{\vec{a}}(\theta) = \exp(-i \vec{a} \cdot \vec{\sigma} \theta/2) = \exp(-i H t) \quad \Leftarrow \quad H = \vec{a} \cdot \vec{\sigma}/2, \quad t = \theta.\]
Returns

one-qubit control sequence corresponding to the array a

Return type

Seq