|
Maestro 0.2.5
Unified interface for quantum circuit simulation
|
#include <SimpleOps.h>
Inheritance diagram for qasm::AddOpaqueDeclExpr:
Collaboration diagram for qasm::AddOpaqueDeclExpr:Classes | |
| struct | result |
Public Member Functions | |
| virtual double | Eval () const |
| virtual double | Eval (const std::unordered_map< std::string, double > &variables) const |
| QoperationStatement | operator() (const OpaqueDeclType &opaqueDecl, std::unordered_map< std::string, StatementType > &opaqueGates, const std::unordered_map< std::string, IndexedId > &qreg_map) const |
Definition at line 341 of file SimpleOps.h.
| struct qasm::AddOpaqueDeclExpr::result |
Definition at line 342 of file SimpleOps.h.
Collaboration diagram for qasm::AddOpaqueDeclExpr::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 346 of file SimpleOps.h.
References qasm::QoperationStatement::comment, qasm::QoperationStatement::OpaqueDecl, qasm::QoperationStatement::opType, qasm::QoperationStatement::paramsDecl, and qasm::QoperationStatement::qubitsDecl.