|
Maestro 0.2.11
Unified interface for quantum circuit simulation
|
#include <SimpleOps.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() (const ResetType &reset, const std::unordered_map< std::string, IndexedId > &qreg_map) const |
Definition at line 264 of file SimpleOps.h.
| struct qasm::AddResetExpr::result |
Definition at line 265 of file SimpleOps.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 269 of file SimpleOps.h.
References qasm::IndexedId::id, qasm::IndexedId::index, qasm::QoperationStatement::opType, qasm::QoperationStatement::qubits, and qasm::QoperationStatement::Reset.