Flip
Overloads
| Name | Description |
|---|---|
Flip(integer site) -> SpinHalfOperator | Creates a spin-1/2 OperatorPermute that flips the spin at a single site. |
Flip(const List<integer> sites) -> SpinHalfOperator | Creates a spin-1/2 OperatorPermute that flips spins at specified sites. |
Flip(integer site) -> SpinHalfOperator
Creates a spin-1/2 OperatorPermute that flips the spin at a single site.
Parameters
- site: The site index where the spin is flipped.
Flip(const List<integer> sites) -> SpinHalfOperator
Creates a spin-1/2 OperatorPermute that flips spins at specified sites.
Parameters
- sites: Vector of site indices where spins are flipped.