#include <SyntaxTree.h>
Definition at line 22 of file SyntaxTree.h.
◆ qasm::AddGateExpr::result
| struct qasm::AddGateExpr::result |
◆ Eval() [1/2]
| virtual double qasm::AbstractSyntaxTree::Eval |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ Eval() [2/2]
| virtual double qasm::AbstractSyntaxTree::Eval |
( |
const std::unordered_map< std::string, double > & |
variables | ) |
const |
|
inlinevirtualinherited |
◆ GateNrQubits()
◆ GetGateType()
Definition at line 423 of file SyntaxTree.h.
References Circuits::kCCXGateType, Circuits::kCHGateType, Circuits::kCPGateType, Circuits::kCRxGateType, Circuits::kCRyGateType, Circuits::kCRzGateType, Circuits::kCSwapGateType, Circuits::kCSxDagGateType, Circuits::kCSxGateType, Circuits::kCUGateType, Circuits::kCXGateType, Circuits::kCYGateType, Circuits::kCZGateType, Circuits::kHadamardGateType, Circuits::kKGateType, Circuits::kNone, Circuits::kPhaseGateType, Circuits::kRxGateType, Circuits::kRyGateType, Circuits::kRzGateType, Circuits::kSdgGateType, Circuits::kSGateType, Circuits::kSwapGateType, Circuits::kSxDagGateType, Circuits::kSxGateType, Circuits::kTdgGateType, Circuits::kTGateType, Circuits::kUGateType, Circuits::kXGateType, Circuits::kYGateType, and Circuits::kZGateType.
◆ IsSuppportedGate()
| static bool qasm::AddGateExpr::IsSuppportedGate |
( |
const std::string & |
gateName | ) |
|
|
inlinestatic |
◆ IsSuppportedMultipleParamsGate()
| static bool qasm::AddGateExpr::IsSuppportedMultipleParamsGate |
( |
const std::string & |
gateName | ) |
|
|
inlinestatic |
◆ IsSuppportedNoParamGate()
| static bool qasm::AddGateExpr::IsSuppportedNoParamGate |
( |
const std::string & |
gateName | ) |
|
|
inlinestatic |
◆ IsSuppportedOneParamGate()
| static bool qasm::AddGateExpr::IsSuppportedOneParamGate |
( |
const std::string & |
gateName | ) |
|
|
inlinestatic |
◆ operator()()
| QoperationStatement qasm::AddGateExpr::operator() |
( |
const UopType & |
uop, |
|
|
const std::unordered_map< std::string, IndexedId > & |
qreg_map, |
|
|
const std::unordered_map< std::string, StatementType > & |
opaqueGates, |
|
|
const std::unordered_map< std::string, StatementType > & |
definedGates, |
|
|
const std::unordered_map< std::string, double > & |
variables = {} |
|
) |
| const |
|
inline |
◆ ParseQubits()
| static std::vector< int > qasm::AddGateExpr::ParseQubits |
( |
const ArgumentType & |
arg, |
|
|
const std::unordered_map< std::string, IndexedId > & |
qreg_map |
|
) |
| |
|
inlinestatic |
The documentation for this struct was generated from the following file: