Skip to main content

create

Method of Fbit.

create(const integer site) -> Fbit

Applies the creation operator cic_i^{\dagger} on the fermionic product state in place.

Applies the creation operator on the product state, keeping track of the phase factor due to fermionic particle exchanges.

Parameters

  • site: The site index.

Example

Fbit("0101").create(0) // Returns (1 + 0i)|1101>
Fbit("1101").create(1) // Returns (0 + 0i)|1101>
Fbit("1110").create(3) // Returns (-1 + 0i)|1111>