Skip to main content

[]

Symbol of Fbit.

(const Fbit lhs [] integer site) -> integer

Returns the state of the fermionic mode (interpreted as an integer) at the specified site.

Parameters

  • lhs: Left-hand side value.
  • site: The site of the fermionic mode being queried in the product state.

Example

Fbit("0011")[2] // Returns 1