qgrad_qutip.coherent¶
-
qgrad_qutip.coherent(N, alpha)¶ Generates coherent state with eigenvalue alpha by displacing the vacuum state by a displacement parameter alpha.
- Parameters
N (int) – Dimension of Hilbert space
alpha (float/complex) – Eigenvalue of the coherent state
- Returns
Coherent state (eigenstate of the lowering operator)
- Return type
jnp.ndarray