Using Strawberry Fields
Development
API
fock_state
Returns the Fock state
n (int) – the occupation number
fock_dim (int) – the size of the truncated Fock basis
the Fock state
array