FermionicOperator.total_particle_number

FermionicOperator.total_particle_number()[source]

A data_preprocess_helper fermionic operator which can be used to evaluate the number of particle of the given eigenstate.

Returns

Fermionic Hamiltonian

Return type

FermionicOperator