spheres.oscillators.spinj_xyz_osc

spheres.oscillators.spinj_xyz_osc(osc, paulis=None)[source]

<X>, <Y>, <Z> expectation values on the given double oscillator state.

Parameters
  • osc (qt.Qobj) – Double oscillator state.

  • paulis (dict) – Dictionary of second quantized Pauli’s. Constructed if not provided.

Returns

xyz – Array of Pauli expectation values.

Return type

np.ndarray