We're celebrating World Quantum Day 2022! Join us

fqe.to_cirq

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

FQE wavefunction and returns a cirq compatible wavefunction based on the information stored within.

wfn (wavefunction.Wavefunction) - a openfermion-fqe wavefunction object

numpy.array(dtype=numpy.complex128) - a cirq wavefunction that can be used in a simulator object.