|
Maestro 0.1.0
Unified interface for quantum circuit simulation
|
#include <SyntaxTree.h>
Public Member Functions | |
| Program (const ProgramType &program={}) | |
| void | clear () |
| template<typename Time = Types::time_type> | |
| std::shared_ptr< Circuits::Circuit< Time > > | ToCircuit (std::unordered_map< std::string, StatementType > &opaqueGates, std::unordered_map< std::string, StatementType > &definedGates) const |
Static Public Member Functions | |
| template<typename Time = Types::time_type> | |
| static void | AddToCircuit (const std::shared_ptr< Circuits::Circuit< Time > > &circuit, const StatementType &stmt, std::unordered_map< std::string, StatementType > &opaqueGates, std::unordered_map< std::string, StatementType > &definedGates) |
Public Attributes | |
| double | version = 2.0 |
| std::vector< StatementType > | statements |
| std::vector< std::string > | comments |
| std::vector< std::string > | includes |
Definition at line 559 of file SyntaxTree.h.
|
inline |
Definition at line 565 of file SyntaxTree.h.
|
inlinestatic |
Definition at line 593 of file SyntaxTree.h.
|
inline |
Definition at line 572 of file SyntaxTree.h.
|
inline |
Definition at line 580 of file SyntaxTree.h.
| std::vector<std::string> qasm::Program::comments |
Definition at line 562 of file SyntaxTree.h.
| std::vector<std::string> qasm::Program::includes |
Definition at line 563 of file SyntaxTree.h.
| std::vector<StatementType> qasm::Program::statements |
Definition at line 561 of file SyntaxTree.h.
| double qasm::Program::version = 2.0 |
Definition at line 560 of file SyntaxTree.h.