openfermion.linalg.generate_linear_qubit_operator

Generates a LinearOperator from a QubitOperator.

qubit_operator(QubitOperator): A qubit operator to be applied on vectors. n_qubits(int): The total number of qubits options(LinearQubitOperatorOptions): Options for the ParallelLinearQubitOperator.

linear_operator(scipy.sparse.linalg.LinearOperator): A linear operator.