rotating_frame_operator
- Model.rotating_frame_operator(t, only_diag=False, in_qubit_subspace=False, inverse=False)
Return the rotating frame operator:
\[U_\text{rot}(t) = \prod_{i\in\text{spins}}e^{i 2 \pi f_i t \sigma_{z,i}/2},\]where \(f_i\) are the rotating frame frequencies of the spins and \(\sigma_{z,i}\) are the Pauli z-operators. Frequencies are specified in the
Spin.rotating_frame_frequency
attribute.- Parameters:
- Return type:
- Returns:
Rotating frame operator(s). Shape depends on the
only_diag
parameter and the type of thet
parameter.