InitializeModes¶
- class InitializeModes(occupation)¶
Bases:
FermionicGateImplements the fermionic mode initialization.
Caution
This is an early development prototype. Beware of changes to its interface without warning during the pre-release development of this package.
Initializing an instance of this gate can be done with the arguments listed below.
- Parameters:
occupation (Sequence[bool]) – a sequence of booleans indicating the occupation for each mode in the
FermionicRegisterbeing initialized by this gate.
Attributes
- occupation¶
The sequence of booleans indicating the occupation for each mode in the
FermionicRegisterbeing initialized by this gate.