Skip to content

A fast quantum computer simulator optimized for Quantum Machine Learning

License

Notifications You must be signed in to change notification settings

JoaquinKeller/manyQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ManyQ

A fast quantum computer simulator

Uses SIMD, multicore and GPU to speedup computations

Optimized for Quantum Machine Learning algorithms

ManyQ is the underlying quantum computer simulator of PolyadicQML: https://github.com/JoaquinKeller/polyadicQML

To install

pip install manyq

Quick start

import manyq as mq


mq.initQreg(2)
mq.H(1)
mq.CX(1,0)
mq.measureAll()


print(mq.Qreg.inQ) 
# quantum state (vector of amplitudes)

print(mq.Qreg.mQ) 
# measurement (vector of probabilities)

print(mq.makeShots(2000)) 
# 2000 shots (nb of occurence of each bit string) 

About

A fast quantum computer simulator optimized for Quantum Machine Learning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages