spheres.spin_circuits.strawberryfields.spin_osc_strawberryfields¶
-
spheres.spin_circuits.strawberryfields.
spin_osc_strawberryfields
(spin)[source]¶ Returns a StrawberryFields circuit that prepares a given spin-j state as a state of two photonic oscillator modes.
- Parameters
spin (qt.Qobj) – Spin-j state.
- Returns
prog – StrawberryFields circuit.
- Return type
sf.Program