0.1.16 • Published 7 years ago
projectq v0.1.16
Q-js
NodeJS version of ProjectQ
install
- use
gitto clone the repository - run
yarn install - run
yarn buildto build native cpp simulator run
yarn test, check examples
notice
- Most of the
classhave same name with the original ProjectQ project - Using
camelcaserules to renamed most class methods.get_inversehas been changed togetInverse. - Some class (like
GridMapper) have too much arguments for it's constructor, so changed to only pass anObjectwhich contains all original arguments. - Python
tupletype has been ported to JavascriptArray. It's the programmer's responsibility to make sure not to mutate immutable object, but not the language. ibmandGridMapperis still under porting.- Issues and pull requests are welcome.
