Learn the core principles of quantum computing including qubits, superposition, and entanglement.
Qubits extend classical bits by existing in a superposition of states. Unlike binary bits (0 or 1), qubits can represent both values simultaneously.
const qubit = QuantumState.create();
Represented as |ψ> = α|0> + β|1> where |α|² + |β|² = 1