Quantum ToolkitTypesStateMethodsdotOn this pagedot Method of State. dot(const State rhs) -> complex Computes the inner product between two quantum states. Returns the complex inner product ⟨lhs∣rhs⟩\langle \text{lhs} \vert \text{rhs} \rangle⟨lhs∣rhs⟩ between two quantum states. Parameters rhs: Second quantum state (ket).