You are browsing as a guest. Sign up (or log in) to start making projects!

9h 3m 11s logged

Minimalist Quantum Computer Simulation

This is a minimalist quantum computer simulation that I coded up over 3 days as a passion project.

Features:
Initialization of n-qubits systems (Also allows for custom statevectors to be inputted)
Different Gates (X, Y, Z, RX, RY, RZ, H, S, T, CZ, CNOT, SWAP, CCX)
Measurements: Checking for statevector normalization, probabilities within a given state vector, full measurement of a qubit, partial measurement of a system with auto state vector re normalization, resetting certain qubits, sampling qubits a given number of times
Debugging tools: Fomatting of probabilities for statevectors
Circuit Class: Wrapping everything up into a circuit class for easy access and use

Picture is just a part of the code that I am proud of which was the partial measurements, one of the hardest part to code for me.

0
1

Comments 0

No comments yet. Be the first!