Maestro 0.2.5
Unified interface for quantum circuit simulation
Loading...
Searching...
No Matches
qasm.h File Reference
#include "SyntaxTree.h"
+ Include dependency graph for qasm.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  qasm::error_handler_
 
struct  qasm::error_handler_::result< typename, typename, typename >
 

Namespaces

namespace  qasm
 

Macros

#define _QASM_H_
 

Functions

 BOOST_FUSION_ADAPT_STRUCT (qasm::Program,(std::vector< std::string >, comments)(double, version)(std::vector< std::string >, includes)(std::vector< qasm::StatementType >, statements)) namespace qasm
 

Variables

phx::function< error_handler_ > const qasm::error_handler = error_handler_()
 

Detailed Description

Version
1.0

DESCRIPTION

Classes for the qasm parser and interpreter.

Not fully implemented yet, it's supposed to support only open qasm 2.0.

Definition in file qasm.h.


Class Documentation

◆ qasm::error_handler_::result

struct qasm::error_handler_::result
template<typename, typename, typename>
struct qasm::error_handler_::result< typename, typename, typename >

Definition at line 24 of file qasm.h.

+ Collaboration diagram for qasm::error_handler_::result< typename, typename, typename >:
Class Members
typedef void type

Macro Definition Documentation

◆ _QASM_H_

#define _QASM_H_

Definition at line 16 of file qasm.h.

Function Documentation

◆ BOOST_FUSION_ADAPT_STRUCT()

BOOST_FUSION_ADAPT_STRUCT ( qasm::Program  ,
(std::vector< std::string >, comments)(double, version)( std::vector< std::string >, includes)(std::vector< qasm::StatementType >, statements)   
)

Definition at line 38 of file qasm.h.