|
Maestro 0.2.5
Unified interface for quantum circuit simulation
|
#include <SimpleOps.h>
Inheritance diagram for qasm::AddGateDeclExpr:
Collaboration diagram for qasm::AddGateDeclExpr: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 boost::fusion::vector< GateDeclType, std::vector< GateDeclOpType > > &gateDecl, std::unordered_map< std::string, StatementType > &definedGates) const |
Definition at line 373 of file SimpleOps.h.
| struct qasm::AddGateDeclExpr::result |
Definition at line 374 of file SimpleOps.h.
Collaboration diagram for qasm::AddGateDeclExpr::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 378 of file SimpleOps.h.
References qasm::QoperationStatement::comment, qasm::QoperationStatement::declOps, qasm::QoperationStatement::GateDecl, qasm::QoperationStatement::opType, qasm::QoperationStatement::paramsDecl, and qasm::QoperationStatement::qubitsDecl.