Skip to main content

==

Overloads​

NameDescription
(const LatticeCoordinate lhs == const LatticeCoordinate rhs) -> boolReturns true if the lattice coordinates are the same.
(as_real lhs == const StateInfo right_option) -> boolReturns true if the two StateInfo options are equivalent.
(as_complex lhs == const StateInfo right_option) -> boolReturns true if the two StateInfo options are equivalent.

(const LatticeCoordinate lhs == const LatticeCoordinate rhs) -> bool​

Returns true if the lattice coordinates are the same.

Parameters​

  • lhs: Left hand side lattice coordinate.
  • rhs: Right hand side lattice coordinate.

(as_real lhs == const StateInfo right_option) -> bool​

Returns true if the two StateInfo options are equivalent.

Parameters​

  • right_option: The StateInfo option on the right of the == operator.

Returns​

A boolean equal to true if the StateInfo options are identical, false is returned otherwise.

(as_complex lhs == const StateInfo right_option) -> bool​

Returns true if the two StateInfo options are equivalent.

Parameters​

  • right_option: The StateInfo option on the right of the == operator.

Returns​

A boolean equal to true if the StateInfo options are identical, false is returned otherwise.