|
| int | doChecks () |
| |
| void | checkQubits (compiler::Operation &op, int &result, int linenumber) |
| |
| int | checkQubitList (const compiler::Qubits &qubits, int linenumber) const |
| |
| int | checkQubitListLength (const compiler::Qubits &qubits1, const compiler::Qubits &qubits2, int linenumber) const |
| |
| int | checkUnitaryGate (const compiler::Operation &op, int linenumber) const |
| |
| int | checkSingleQubit (const compiler::Operation &op, int linenumber) const |
| |
| int | checkWaitDisplayNot (const compiler::Operation &op, int linenumber) const |
| |
| int | checkResetAveraging (const compiler::Operation &op, int linenumber) const |
| |
| int | checkMeasureAll (const compiler::Operation &op, int linenumber) const |
| |
| int | checkToffoli (const compiler::Operation &op, int linenumber) const |
| |
| int | checkTwoQubits (const compiler::Operation &op, int linenumber) const |
| |
| int | checkMeasureParity (const compiler::Operation &op, int linenumber) const |
| |
Definition at line 16 of file qasm_semantic.hpp.
#include <qasm_semantic.hpp>
◆ QasmSemanticChecker() [1/2]
| compiler::QasmSemanticChecker::QasmSemanticChecker |
( |
const char * |
qasm_str_input | ) |
|
|
inline |
◆ QasmSemanticChecker() [2/2]
| compiler::QasmSemanticChecker::QasmSemanticChecker |
( |
FILE * |
qasm_file | ) |
|
|
inline |
◆ parseResult()
| int compiler::QasmSemanticChecker::parseResult |
( |
| ) |
const |
|
inline |
◆ getQasmRepresentation()
◆ doChecks()
| int compiler::QasmSemanticChecker::doChecks |
( |
| ) |
|
|
inlineprotected |
◆ checkQubits()
| void compiler::QasmSemanticChecker::checkQubits |
( |
compiler::Operation & |
op, |
|
|
int & |
result, |
|
|
int |
linenumber |
|
) |
| |
|
inlineprotected |
◆ checkQubitList()
| int compiler::QasmSemanticChecker::checkQubitList |
( |
const compiler::Qubits & |
qubits, |
|
|
int |
linenumber |
|
) |
| const |
|
inlineprotected |
◆ checkQubitListLength()
◆ checkUnitaryGate()
| int compiler::QasmSemanticChecker::checkUnitaryGate |
( |
const compiler::Operation & |
op, |
|
|
int |
linenumber |
|
) |
| const |
|
inlineprotected |
◆ checkSingleQubit()
| int compiler::QasmSemanticChecker::checkSingleQubit |
( |
const compiler::Operation & |
op, |
|
|
int |
linenumber |
|
) |
| const |
|
inlineprotected |
◆ checkWaitDisplayNot()
| int compiler::QasmSemanticChecker::checkWaitDisplayNot |
( |
const compiler::Operation & |
op, |
|
|
int |
linenumber |
|
) |
| const |
|
inlineprotected |
◆ checkResetAveraging()
| int compiler::QasmSemanticChecker::checkResetAveraging |
( |
const compiler::Operation & |
op, |
|
|
int |
linenumber |
|
) |
| const |
|
inlineprotected |
◆ checkMeasureAll()
| int compiler::QasmSemanticChecker::checkMeasureAll |
( |
const compiler::Operation & |
op, |
|
|
int |
linenumber |
|
) |
| const |
|
inlineprotected |
◆ checkToffoli()
| int compiler::QasmSemanticChecker::checkToffoli |
( |
const compiler::Operation & |
op, |
|
|
int |
linenumber |
|
) |
| const |
|
inlineprotected |
◆ checkTwoQubits()
| int compiler::QasmSemanticChecker::checkTwoQubits |
( |
const compiler::Operation & |
op, |
|
|
int |
linenumber |
|
) |
| const |
|
inlineprotected |
◆ checkMeasureParity()
| int compiler::QasmSemanticChecker::checkMeasureParity |
( |
const compiler::Operation & |
op, |
|
|
int |
linenumber |
|
) |
| const |
|
inlineprotected |
◆ qasm_
◆ maxNumQubit_
| size_t compiler::QasmSemanticChecker::maxNumQubit_ |
|
protected |
◆ parse_result_
| int compiler::QasmSemanticChecker::parse_result_ |
|
protected |
The documentation for this class was generated from the following file: