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

Bloch Sphere theta and phi redraw optimization #25

Open
stewdio opened this issue Jun 19, 2020 · 0 comments
Open

Bloch Sphere theta and phi redraw optimization #25

stewdio opened this issue Jun 19, 2020 · 0 comments
Labels
Enhancement New feature or request Q.Qubit

Comments

@stewdio
Copy link
Owner

stewdio commented Jun 19, 2020

Currently each time updateBlochVector is called it attempts to scale the Theta ring and also recalculate the geometry for the Phi arc. This is waaaay unnecessary. Should instead only re-scale and only recalculate geometry if Theta or Phi have changed respectively.

@stewdio stewdio added Enhancement New feature or request Q.Qubit labels Jun 19, 2020
@stewdio stewdio changed the title Bloch Sphere theta and phi redrew optimization Bloch Sphere theta and phi redraw optimization Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Q.Qubit
Projects
None yet
Development

No branches or pull requests

1 participant