|
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 MeasureType &measure, const std::unordered_map< std::string, IndexedId > &creg_map, const std::unordered_map< std::string, IndexedId > &qreg_map) const |
Definition at line 204 of file SimpleOps.h.
| struct qasm::AddMeasureExpr::result |
Definition at line 205 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 209 of file SimpleOps.h.
References qasm::QoperationStatement::cbits, qasm::IndexedId::id, qasm::IndexedId::index, qasm::QoperationStatement::Measurement, qasm::QoperationStatement::opType, and qasm::QoperationStatement::qubits.