|
Maestro 0.1.0
Unified interface for quantum circuit simulation
|
#include <SimpleOps.h>
Public Member Functions | |
| IndexedId () | |
| IndexedId (const std::string &id, int index) | |
| ~IndexedId () | |
| double | Eval () const |
| operator std::string () const | |
| Public Member Functions inherited from qasm::AbstractSyntaxTree | |
| virtual | ~AbstractSyntaxTree ()=default |
| virtual double | Eval (const std::unordered_map< std::string, double > &variables) const |
Public Attributes | |
| std::string | id |
| int | index |
| int | base = 0 |
| std::string | declType |
Additional Inherited Members | |
| Protected Member Functions inherited from qasm::AbstractSyntaxTree | |
| AbstractSyntaxTree ()=default | |
| AbstractSyntaxTree (const AbstractSyntaxTree &)=default | |
| AbstractSyntaxTree (AbstractSyntaxTree &&)=default | |
| AbstractSyntaxTree & | operator= (const AbstractSyntaxTree &)=default |
| AbstractSyntaxTree & | operator= (AbstractSyntaxTree &&)=default |
Definition at line 22 of file SimpleOps.h.
|
inline |
Definition at line 24 of file SimpleOps.h.
|
inline |
Definition at line 25 of file SimpleOps.h.
|
inline |
Definition at line 27 of file SimpleOps.h.
|
inlinevirtual |
Reimplemented from qasm::AbstractSyntaxTree.
Definition at line 29 of file SimpleOps.h.
|
inline |
Definition at line 31 of file SimpleOps.h.
| int qasm::IndexedId::base = 0 |
Definition at line 37 of file SimpleOps.h.
| std::string qasm::IndexedId::declType |
Definition at line 38 of file SimpleOps.h.
| std::string qasm::IndexedId::id |
Definition at line 35 of file SimpleOps.h.
| int qasm::IndexedId::index |
Definition at line 36 of file SimpleOps.h.