2 unstable releases
|0.2.0||Jan 29, 2020|
|0.1.0||Jan 20, 2020|
#28 in Simulation
36 downloads per month
cargo install dqcsim-openqasm
cargo install --force dqcsim-openqasm
cargo uninstall dqcsim-openqasm
This plugin enables running
.qasm files directly e.g.
dqcsim test.qasm null
- Include statements are resolved relative to the current working directory and there are no automatic includes or additional gate definitions.
.qasmfiles including other files e.g.
include "qelib1.inc";have to provide these files.
barrierinstructions are skipped by default. To enable passing
barrierinstructions in the gatestream set the
DQCSIM_OPENQASM_BARRIERenvironment variable. The
barrierinstruction is encoded as a custom gate named
openqasm.barrierwith the target qubits set accordingly.