openfermion.transforms.get_quad_operator

Convert to QuadOperator.

Main aliases

openfermion.get_quad_operator, openfermion.transforms.opconversions.conversions.get_quad_operator, openfermion.transforms.opconversions.get_quad_operator

Used in the notebooks

operator BosonOperator.
hbar float

the value of hbar used in the definition of the commutator [q_i, p_j] = i hbar delta_ij. By default hbar=1.

quad_operator An instance of the QuadOperator class.