Expand description
§roqoqo-qasm
QASM interface for qoqo.
Translates qoqo operations and circuits to QASM operations via the interface, and Create a Qasm file with QasmBackend.
Structs§
- Backend
- QASM backend to qoqo
- Token
Iterator - Struct implementing Iterator trait to lex string to computational Tokens.
- Variable
Gatherer - Struct to keep track of variables present in input Circuit.
Enums§
- Qasm2
Dialect - Enum for setting the version of OpenQASM used
- Qasm3
Dialect - Enum for setting the version of OpenQASM used
- Qasm
Version - Enum for setting the version of OpenQASM used
- Rule
- Token
- Enum combining different types of Tokens in an Expression.
Functions§
- call_
circuit - Translate the qoqo circuit into QASM ouput.
- call_
operation - Translates a qoqo operation to QASM (&str).
- file_
to_ circuit - Translates a QASM file into a qoqo Circuit instance.
- gate_
definition - Outputs the QASM gate definition of many qoqo operations.
- string_
to_ circuit - Translates a QASM string into a qoqo Circuit instance.