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: [[θ1,ϕ1],[θ2,ϕ2],...]

  • name (str) – name of the sequence

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

Ra(θ)=exp(iaσθ/2)=exp(iHt)H=aσ/2,t=θ.
Returns

one-qubit control sequence corresponding to the array a

Return type

Seq