openfermion.utils.load_operator

{ }

Load FermionOperator or QubitOperator from file.

file_name The name of the saved file.
data_directory Optional data directory to change from default data directory specified in config file.
plain_text Whether the input file is plain text

operator The stored FermionOperator, BosonOperator, QuadOperator, or QubitOperator

TypeError Operator of invalid type.