Class BlochSphere
java.lang.Object
org.episteme.natural.physics.quantum.BlochSphere
Bloch Sphere representation for single-qubit quantum states.
A pure qubit state $|\psi\rangle = \cos(\theta/2)|0\rangle + e^{i\phi}\sin(\theta/2)|1\rangle$ is represented as a point on the unit sphere.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Complex[]fromBlochAngles(Real theta, Real phi) Converts Bloch sphere coordinates back to qubit state.static Real[]toBlochCoordinates(Complex alpha, Complex beta) Converts qubit amplitudes to Bloch sphere coordinates.
-
Field Details
-
STATE_ZERO
Special states on the Bloch sphere (Coordinates). -
STATE_ONE
-
STATE_PLUS
-
STATE_MINUS
-
STATE_PLUS_I
-
STATE_MINUS_I
-
-
Constructor Details
-
BlochSphere
public BlochSphere()
-
-
Method Details
-
toBlochCoordinates
-
fromBlochAngles
-