Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
itsubaki committed Sep 9, 2023
1 parent 89e7364 commit a30e84a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions q.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ func Index(qb ...Qubit) []int {
return idx
}

// Theta returns 2 * pi / 2**k
func Theta(k int) float64 {
return gate.Theta(k)
}
Expand Down

0 comments on commit a30e84a

Please sign in to comment.