openfermion.measurements.vector_to_operator

Function to map vector to operator.

vectorized_operator numpy.array

Vector of term coefficients.

operator FermionOperator

FermionOperator with only 1- and 2-body terms that we wish to vectorize.