Skip to content

Instantly share code, notes, and snippets.

View prince-ph0en1x's full-sized avatar
🤖
Quantum Intelligence

Aritra Sarkar prince-ph0en1x

🤖
Quantum Intelligence
View GitHub Profile
@prince-ph0en1x
prince-ph0en1x / qubit.py
Last active August 27, 2017 12:00 — forked from limitedmage/qubit.py
Python Quantum Computing simulator
from random import random
class QuDit:
nD = 0 # Hilbert Space Dimension
nQ = 0 # Number of Qudits used in simulation
state = []
# Initialize
def __init__(self, D, Q):

Keybase proof

I hereby claim:

  • I am prince-ph0en1x on github.
  • I am aritra_sarkar (https://keybase.io/aritra_sarkar) on keybase.
  • I have a public key whose fingerprint is 0DC2 804D 0A7C 109D FC21 C861 8999 3210 EDB8 67D4

To claim this, I am signing this object: