|
Maestro 0.2.11
Unified interface for quantum circuit simulation
|
#include <SyntaxTree.h>
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.
| Class Members | ||
|---|---|---|
| typedef QoperationStatement | type | |
|
inlinevirtualinherited |
Reimplemented in qasm::BinaryOperator, qasm::Constant, qasm::Expression, qasm::Function, qasm::IndexedId, qasm::UnaryOperator, and qasm::Variable.
|
inlinevirtualinherited |
Reimplemented in qasm::BinaryOperator, qasm::Constant, qasm::Expression, qasm::Function, qasm::UnaryOperator, and qasm::Variable.
|
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.