ParticleNumber#

class ParticleNumber(num_spatial_orbitals)[source]#

Bases: object

The ParticleNumber property.

The following attributes can be set via the initializer but can also be read and updated once the ParticleNumber object has been constructed.

num_spatial_orbitals#

the number of spatial orbitals.

Type:

int

প্যারামিটার:

num_spatial_orbitals (int) -- the number of spatial orbitals in the system.

Methods

interpret(result)[source]#

Interprets an EigenstateResult in this property's context.

প্যারামিটার:

result (EigenstateResult) -- the result to add meaning to.

second_q_ops()[source]#

Returns the second quantized particle number operator.

রিটার্নস:

A mapping of strings to FermionicOp objects.

রিটার্ন টাইপ:

Mapping[str, FermionicOp]