gaussian_state(cov, mu, hbar=2.0)¶
Returns a Gaussian state.
This is simply a bare wrapper function, since the means vector and covariance matrix can be passed via the parameters unchanged.
Note that both the means vector and covariance matrix should be in \((\x_1,\dots, \x_N, \p_1, \dots, \p_N)\) ordering.
cov (array) – covariance matrix. Must be dimension \(2N\times 2N\), where N is the number of modes
mu (array) – vector means. Must be length-\(2N\), where N is the number of modes
hbar (float) – (default 2) the value of \(\hbar\) in the commutation relation \([\x,\p]=i\hbar\)
the mean and the covariance matrix of the Gaussian state
- Return type