Skip to main content

pauli_rotate

Method of PauliSum.

pauli_rotate(const real angle, const PauliTerm Q) -> PauliSum

Rotates the PauliSum by an angle about an axis specified by a PauliTerm in place.

Parameters

  • angle: The angle to rotate by.
  • Q: The PauliTerm to rotate about.