|
Maestro 0.3.1
Unified interface for quantum circuit simulation
|
Go to the source code of this file.
Classes | |
| struct | qasm::AddBitCondBranchExpr |
| struct | qasm::AddCondQopBracedExpr |
| struct | qasm::AddCondQopExpr |
| struct | qasm::AddGateExpr |
| struct | qasm::AddModifiedGateExpr |
| struct | qasm::Program |
| struct | qasm::RejectGateBodyModifierExpr |
| struct | qasm::RejectQasm3OnlyGateExpr |
| struct | qasm::RejectUnsupportedConstructExpr |
| struct | qasm::AddGateExpr::result |
| struct | qasm::AddModifiedGateExpr::result |
| struct | qasm::RejectGateBodyModifierExpr::result |
| struct | qasm::RejectUnsupportedConstructExpr::result |
| struct | qasm::RejectQasm3OnlyGateExpr::result< typename, typename > |
| struct | qasm::AddCondQopExpr::result |
| struct | qasm::AddBitCondBranchExpr::result |
| struct | qasm::AddCondQopBracedExpr::result |
Namespaces | |
| namespace | qasm |
Macros | |
| #define | _SYNTAXTREE_H_ |
Functions | |
| void | qasm::ApplyCondition (StatementType &stmt, const std::vector< int > &conditionBits, const std::vector< bool > &expectedValues) |
| std::vector< bool > | qasm::DecodeRegisterCondition (const std::string ®isterName, int value, size_t width) |
| double | qasm::EvaluateGateParameter (const Expression ¶meter, const std::unordered_map< std::string, double > &variables) |
| template<class Time> | |
| std::shared_ptr< Circuits::ICondition > | qasm::MakeEqualCondition (const std::vector< int > &conditionBits, const std::vector< bool > &expectedValues) |
| void | qasm::RejectPredicateMutationBeforeReevaluation (const std::vector< QopType > &body, const std::vector< int > &conditionBits, bool followedByElse, std::string_view branchName) |
Variables | |
| phx::function< AddCondQopExpr > | qasm::AddCondQop |
| phx::function< AddCondQopBracedExpr > | qasm::AddCondQopBraced |
| phx::function< AddGateExpr > | qasm::AddGate |
| phx::function< AddModifiedGateExpr > | qasm::AddModifiedGate |
| phx::function< RejectGateBodyModifierExpr > | qasm::RejectGateBodyModifier |
| phx::function< RejectQasm3OnlyGateExpr > | qasm::RejectQasm3OnlyGate |
| phx::function< RejectUnsupportedConstructExpr > | qasm::RejectUnsupportedConstruct |
Classes for the qasm parser and interpreter.
Supports the static-circuit subset of OpenQASM 2 and OpenQASM 3.
Definition in file SyntaxTree.h.
| struct qasm::AddGateExpr::result |
Definition at line 35 of file SyntaxTree.h.
| Class Members | ||
|---|---|---|
| typedef QoperationStatement | type | |
| struct qasm::AddModifiedGateExpr::result |
Definition at line 552 of file SyntaxTree.h.
| Class Members | ||
|---|---|---|
| typedef QoperationStatement | type | |
| struct qasm::RejectGateBodyModifierExpr::result |
Definition at line 949 of file SyntaxTree.h.
| Class Members | ||
|---|---|---|
| typedef UopType | type | |
| struct qasm::RejectUnsupportedConstructExpr::result |
Definition at line 971 of file SyntaxTree.h.
| Class Members | ||
|---|---|---|
| typedef QoperationStatement | type | |
| struct qasm::RejectQasm3OnlyGateExpr::result |
Definition at line 1001 of file SyntaxTree.h.
| Class Members | ||
|---|---|---|
| typedef bool | type | |
| struct qasm::AddCondQopExpr::result |
Definition at line 1082 of file SyntaxTree.h.
| Class Members | ||
|---|---|---|
| typedef QoperationStatement | type | |
| struct qasm::AddBitCondBranchExpr::result |
Definition at line 1116 of file SyntaxTree.h.
| Class Members | ||
|---|---|---|
| typedef vector< QoperationStatement > | type | |
| struct qasm::AddCondQopBracedExpr::result |
Definition at line 1178 of file SyntaxTree.h.
| Class Members | ||
|---|---|---|
| typedef vector< QoperationStatement > | type | |
| #define _SYNTAXTREE_H_ |
Definition at line 16 of file SyntaxTree.h.