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

min_qsim

  • 1 Devlogs
  • 9 Total hours

Minimalist Quantum Computer Simulator

Ship #1

This is minimalistic quantum computer simulator, I added the features that I need to experiment with and the rest is located in the readme. Thanks for checking me out!

  • 1 devlog
  • 9h
  • 12.81x multiplier
  • 116 Stardust
Try project → See source code →
Open comments for this post

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
0
1

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…