We're celebrating World Quantum Day 2022! Join us

fqe.from_cirq

Interoperability between cirq and the openfermion-fqe. This takes a

cirq wavefunction and creates an FQE wavefunction object initialized with the correct data.

state (numpy.array(dtype=numpy.complex128)) - a cirq wavefunction

thresh (double) - set the limit at which a cirq element should be considered zero and not make a contribution to the FQE wavefunction

openfermion-fqe.Wavefunction