prashanth-up / Quantum-Simulator

A Quantum Simulator program utilizing matrix operations to simulate a quantum system capable of reproducing pseudo fundamentals of superposition and entanglement.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quantum-Simulator

A Quantum Simulator program utilizing matrix operations to simulate a quantum system capable of reproducing pseudo fundamentals of superposition and entanglement. This program however constitutes to perform operations on 2 qubits only. As limited to its 2 qubit operation versatality, this is still capable of multi-gate measurements. In addition to this, parametric gates are also enabled for inputs in variables with angles and radians.

A more readable way to view the jupyter notebook render: nbviewer

Current capabilities

  • Initialise state vectors.
  • Read program to calculate matrix operator for specific gates.
  • Modify the state by applying operators.
  • Perform multishot measurement of all qubits using weighted random technique.
  • Can run parametric gates.
  • Can run unitaries for radians.

Requirements

  • Python (3.5 or above preferred)
  • NumPy
  • math (inbuilt in py)
  • itertools (inbuilt in py)
  • Human with enough interest and patience to study this

Future features to be added

  • Allow parameterized gates in matrix operations.
  • Run variational quantum algorithms.

Support ⭐

Any bugs or improvements you find may remain in a state of superposition.

Feel free to contribute, however revolutionary or miniscule of a PR it may be.

About

A Quantum Simulator program utilizing matrix operations to simulate a quantum system capable of reproducing pseudo fundamentals of superposition and entanglement.

License:GNU General Public License v3.0


Languages

Language:Jupyter Notebook 100.0%