Skip to main content

/

Symbol of State.

Overloads

NameDescription
(const State lhs / const complex rhs) -> StateDivides a quantum state by a constant coefficient.
(const State lhs / const bool rhs) -> StateDivides a quantum state by a constant coefficient.
(const State lhs / const real rhs) -> StateDivides a quantum state by a constant coefficient.
(const State lhs / const integer rhs) -> StateDivides a quantum state by a constant coefficient.

(const State lhs / const complex rhs) -> State

Divides a quantum state by a constant coefficient.

Returns a new quantum state resulting from the division of the given state by the coefficient.

Parameters

  • lhs: Left-hand side value.
  • rhs: The coefficient to divide the state by.

(const State lhs / const bool rhs) -> State

Divides a quantum state by a constant coefficient.

Returns a new quantum state resulting from the division of the given state by the coefficient.

Parameters

  • lhs: Left-hand side value.
  • rhs: The coefficient to divide the state by.

(const State lhs / const real rhs) -> State

Divides a quantum state by a constant coefficient.

Returns a new quantum state resulting from the division of the given state by the coefficient.

Parameters

  • lhs: Left-hand side value.
  • rhs: The coefficient to divide the state by.

(const State lhs / const integer rhs) -> State

Divides a quantum state by a constant coefficient.

Returns a new quantum state resulting from the division of the given state by the coefficient.

Parameters

  • lhs: Left-hand side value.
  • rhs: The coefficient to divide the state by.