Skip to content

Difference between invert() and reverse()? #927

Answered by burgholzer
Geremia asked this question in Q&A

You must be logged in to vote

Exactly what the docstrings describe ;o)

  • Reverse only reverses the order of operations
  • Invert additionally inverts each operation (for example, replacing S with Sdg).

Replies: 1 comment 2 replies

You must be logged in to vote
2 replies
@Geremia

@burgholzer

Answer selected by Geremia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants