ParticleNumber#
- class ParticleNumber(num_spatial_orbitals)[source]#
Bases:
objectThe ParticleNumber property.
The following attributes can be set via the initializer but can also be read and updated once the
ParticleNumberobject has been constructed.- Parameters:
num_spatial_orbitals (int) – the number of spatial orbitals in the system.
Methods
- interpret(result)[source]#
Interprets an
EigenstateResultin this property’s context.- Parameters:
result (qiskit_nature.second_q.problems.EigenstateResult) – the result to add meaning to.