qib.field.particle.Particle

class qib.field.particle.Particle(field: Field, index: int)[source]

Bases: object

Quantum particle, like a qubit, fermion, boson, … as element of a field. The ‘index’ is the linear index into the underlying lattice.

Methods

Attributes

particle_type

Particle type.

property particle_type

Particle type.