Hackversity.
Log In Join Now

Quantum Fundamentals

Explore qubits, superposition, and quantum measurement basics

8 labs 0 solved 825 XP available
0.0% complete
BEGINNER

Quantum Gate Toolkit

Implement three functions that apply X, Y, and Z Pauli gates to a qubit and return the resulting statevectors.

BEGINNER

Quantum Measurement Simulator

Simulate 1024 measurements of the |+⟩ state and return the counts of 0s and 1s as a dictionary.

BEGINNER

Bell State Generator

Create the maximally entangled Bell state |Φ+⟩ using H and CNOT gates, and return its statevector.

BEGINNER

What is a Qubit?

Write a function that creates a 1-qubit circuit, applies a Hadamard gate, and returns the statevector probabilities dictionary.

BEGINNER

Quantum Inner Product Calculator

Implement a function that computes the inner product ⟨ψ|φ⟩ of two single-qubit state vectors.

BEGINNER

Multi-Qubit Universe

Build a function that creates an n-qubit uniform superposition (all-H state) and returns the probabilities dictionary.

BEGINNER

Superposition Explorer

Implement a function that prepares an arbitrary single-qubit superposition and returns the resulting probability dictionary.

BEGINNER

Quantum State Validator

Write a function that checks whether a given amplitude pair (alpha, beta) constitutes a valid, normalized quantum state.