|
Maestro 0.3.1
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 |
| IndexedId | operator() (int &counter, std::unordered_map< std::string, IndexedId > &qreg_map, DeclarationRegistry &declarations, const IndexedId &id) const |
Definition at line 424 of file SimpleOps.h.
| struct qasm::AddQregExpr::result |
Definition at line 425 of file SimpleOps.h.
| Class Members | ||
|---|---|---|
| typedef IndexedId | 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 429 of file SimpleOps.h.
References qasm::IndexedId::base, qasm::IndexedId::declType, qasm::IndexedId::id, qasm::Qubit, qasm::RegisterDeclaration(), and qasm::ValidateRegisterAllocation().