An OpenQASM 2.0 frontend plugin for DQCsim.
bash
cargo install dqcsim-openqasm
bash
cargo install --force dqcsim-openqasm
bash
cargo uninstall dqcsim-openqasm
This plugin enables running .qasm files directly e.g.
bash
dqcsim test.qasm null
.qasm files including other files e.g. include "qelib1.inc"; have to provide these files.barrier instructions are skipped by default. To enable passing barrier instructions in the gatestream set the DQCSIM_OPENQASM_BARRIER environment variable. The barrier instruction is encoded as a custom gate named openqasm.barrier with the target qubits set accordingly.