Editing
Quantum Bits and Superposition
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Applying</span> == '''Modeling 'The Qubit State' (Calculating the probability of collapse):''' <syntaxhighlight lang="python"> import math def calculate_probabilities(alpha, beta): """ alpha and beta are the amplitudes. The sum of their squares must equal 1.0. """ prob_0 = abs(alpha)**2 prob_1 = abs(beta)**2 return { "State": f"{alpha}|0> + {beta}|1>", "Chance of 0": f"{round(prob_0 * 100)}%", "Chance of 1": f"{round(prob_1 * 100)}%", "Valid Qubit?": "YES" if math.isclose(prob_0 + prob_1, 1.0) else "NO" } # A 'Fair' qubit (The Hadamard State) val = 1 / math.sqrt(2) print(calculate_probabilities(val, val)) </syntaxhighlight> ; Quantum Landmarks : '''The Stern-Gerlach Experiment (1922)''' → The first proof that particles have "Spin" and that their states are quantized. : '''Schrödinger's Cat''' → The famous thought experiment designed to show how "Absurd" superposition would be if it were applied to large objects like cats. : '''Richard Feynman (1981)''' → The physicist who first suggested that since nature is quantum, we need a quantum computer to simulate it perfectly. : '''Trapped Ion Qubits''' → One of the leading technologies for building qubits, where individual atoms are "Held" in place by lasers and electric fields. </div> <div style="background-color: #8B4500; color: #FFFFFF; padding: 20px; border-radius: 8px; margin-bottom: 15px;">
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information