Crates.io | dqcsim-openqasm |
lib.rs | dqcsim-openqasm |
version | 0.3.0 |
source | src |
created_at | 2020-01-20 13:37:59.951445 |
updated_at | 2020-11-12 07:24:53.387912 |
description | An OpenQASM 2.0 frontend plugin for DQCsim |
homepage | |
repository | https://github.com/mbrobbel/dqcsim-openqasm |
max_upload_size | |
id | 200449 |
size | 62,097 |
An OpenQASM 2.0 frontend plugin for DQCsim.
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
.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.