|
Maestro 0.2.5
Unified interface for quantum circuit simulation
|
#include <SyntaxTree.h>
Inheritance diagram for qasm::AddCondQopExpr:
Collaboration diagram for qasm::AddCondQopExpr:Classes | |
| struct | result |
Public Member Functions | |
| virtual double | Eval () const |
| virtual double | Eval (const std::unordered_map< std::string, double > &variables) const |
| QoperationStatement | operator() (CondOpType &condOp, const std::unordered_map< std::string, IndexedId > &qreg_map, const std::unordered_map< std::string, IndexedId > &creg_map, const std::unordered_map< std::string, StatementType > &opaqueGates, const std::unordered_map< std::string, StatementType > &definedGates) const |
Definition at line 520 of file SyntaxTree.h.
| struct qasm::AddCondQopExpr::result |
Definition at line 521 of file SyntaxTree.h.
Collaboration diagram for qasm::AddCondQopExpr::result:| Class Members | ||
|---|---|---|
| typedef QoperationStatement | type | |
|
inlinevirtualinherited |
Reimplemented in qasm::IndexedId, qasm::Constant, qasm::Variable, qasm::BinaryOperator, qasm::UnaryOperator, qasm::Function, and qasm::Expression.
|
inlinevirtualinherited |
Reimplemented in qasm::Constant, qasm::Variable, qasm::BinaryOperator, qasm::UnaryOperator, qasm::Function, and qasm::Expression.
|
inline |
Definition at line 525 of file SyntaxTree.h.
References qasm::IndexedId::base, qasm::QoperationStatement::cbits, qasm::QoperationStatement::CondUop, qasm::QoperationStatement::condValue, qasm::IndexedId::Eval(), and qasm::QoperationStatement::opType.