Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifying rotation angles #6

Open
AckslD opened this issue Apr 29, 2019 · 0 comments
Open

Specifying rotation angles #6

AckslD opened this issue Apr 29, 2019 · 0 comments

Comments

@AckslD
Copy link
Member

AckslD commented Apr 29, 2019

Currently we specify the rotation angle for single-qubit rotations with a one-byte integer n such the angle of rotation is n * pi / 180 radians.

However to have better granularity we could have it so that the angle is instead pi / 2^(n-1). In this case if one would for example want to do a rotation of 3 * pi / 4 one would first do a rotation with n=2 followed by one with n=3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant