Quantum Fundamentals
Explore qubits, superposition, and quantum measurement basics
Quantum Gate Toolkit
Implement three functions that apply X, Y, and Z Pauli gates to a qubit and return the resulting statevectors.
Quantum Measurement Simulator
Simulate 1024 measurements of the |+⟩ state and return the counts of 0s and 1s as a dictionary.
Bell State Generator
Create the maximally entangled Bell state |Φ+⟩ using H and CNOT gates, and return its statevector.
What is a Qubit?
Write a function that creates a 1-qubit circuit, applies a Hadamard gate, and returns the statevector probabilities dictionary.
Quantum Inner Product Calculator
Implement a function that computes the inner product ⟨ψ|φ⟩ of two single-qubit state vectors.
Multi-Qubit Universe
Build a function that creates an n-qubit uniform superposition (all-H state) and returns the probabilities dictionary.
Superposition Explorer
Implement a function that prepares an arbitrary single-qubit superposition and returns the resulting probability dictionary.
Quantum State Validator
Write a function that checks whether a given amplitude pair (alpha, beta) constitutes a valid, normalized quantum state.