1.4.0 • Published 6 years ago

qasm v1.4.0

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

QASM source code parser ##Install if using npm, just run

npm i --save qasm

or if using yarn:

yarn add qasm

How to use

This is a simple example:

import {parse, printOperations} from 'qasm'
  
const sourceCode = '...'
// here value contains generated operations
const {tokens, value} = parse(sourceCode)
printOperations(value)

Grammar diagram

Grammer

OpenQASM Specification

https://github.com/Qiskit/openqasm

License

MIT

1.4.0

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago