← VQA Labs

Parameterized Circuit Lab

1-qubit ansatz on the Bloch sphere

Choose an ansatz structure (Ry-Rz, Rx-Ry-Rz, Euler decomposition) and adjust rotation angles with sliders. The Bloch sphere shows the resulting quantum state in real time. Observe how each gate rotates the state vector, and read off Pauli expectation values and measurement probabilities.

|0⟩---Ry(0.00)---Rz(0.00)---
-pi0pi
-pi0pi
|0⟩xy|1⟩

Pauli Expectation Values

<X>0.0000
<Y>0.0000
<Z>1.0000

State Vector

|psi⟩ = (1.000+0.000i) |0⟩ + (0.000+0.000i) |1⟩
P(|0⟩) = 1.0000    P(|1⟩) = 0.0000

Bloch Coordinates

r = (0.000, 0.000, 1.000)
|r| = 1.0000

Drag the sliders to rotate the qubit state. The purple trail shows the path traced by sweeping the first parameter from -pi to pi.

Parameterized Circuit Lab — VQA Labs · hbar.university