Alpha negative

\ket{0}

\ket{1}

Alpha marker negative

beta_{qubit}: 1 / sqrt(2)
a_n = true
alpha_{qubit}: ((-1)^(a_n) * sqrt(1 - (abs(beta_{qubit}))^(2)))
Qubit = Vector((0, 0), (alpha_{qubit}, beta_{qubit}))
Einheitskreis_{pos}(x) = sqrt(1 - x^(2))
Einheitskreis_{neg}(x) = (-sqrt(1 - x^(2)))
text1: "\ket{\Psi}=" + (LaTeX[alpha_{qubit}]) + "\cdot\ket{0}+" + (LaTeX[beta_{qubit}]) + "\cdot\ket{1}"
text4 = LaTeX(alpha_{qubit}, true, true)
beta_{qubit_marker} = 0 (slider from -1 to 1, step 0.01)
a_n_m = false
alpha_{qubit_marker}: ((-1)^(a_n_m) * sqrt(1 - (abs(beta_{qubit_marker}))^(2)))
text5: "alpha_{qubitmarker}=" + alpha_{qubit_marker} + ""
Qubit_{Marker} = Vector((0, 0), (alpha_{qubit_marker}, beta_{qubit_marker}))