3 releases (1 stable)
1.0.0 | Mar 29, 2023 |
---|---|
0.1.1 | Mar 27, 2023 |
0.1.0 | Mar 27, 2023 |
#230 in Simulation
75 downloads per month
Used in quaru
92KB
2K
SLoC
openqasm
A parser for openqasm 2.0 written in Rust.
Developed primarily to be used with the quantum simulator quaru (https://github.com/DATX11-22/quaru).
lib.rs
:
A parser for openqasm 2.0.
Example
use openqasm_parser::openqasm;
use std::path::Path;
let program = openqasm::parse_openqasm(Path::new("openqasmfile.qasm"));