InitializeModes

class InitializeModes

Bases: FermionicGate

Implements 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.

Attributes

occupation

The sequence of booleans indicating the occupation for each mode in the FermionicRegister being initialized by this gate.