Maestro 0.1.0
Unified interface for quantum circuit simulation
Loading...
Searching...
No Matches
qasm::AddGateDeclExpr Struct Reference

#include <SimpleOps.h>

Inheritance diagram for qasm::AddGateDeclExpr:
qasm::AbstractSyntaxTree

Classes

struct  result

Public Member Functions

QoperationStatement operator() (const boost::fusion::vector< GateDeclType, std::vector< GateDeclOpType > > &gateDecl, std::unordered_map< std::string, StatementType > &definedGates) const
Public Member Functions inherited from qasm::AbstractSyntaxTree
virtual ~AbstractSyntaxTree ()=default
virtual double Eval () const
virtual double Eval (const std::unordered_map< std::string, double > &variables) const

Additional Inherited Members

Protected Member Functions inherited from qasm::AbstractSyntaxTree
 AbstractSyntaxTree ()=default
 AbstractSyntaxTree (const AbstractSyntaxTree &)=default
 AbstractSyntaxTree (AbstractSyntaxTree &&)=default
AbstractSyntaxTreeoperator= (const AbstractSyntaxTree &)=default
AbstractSyntaxTreeoperator= (AbstractSyntaxTree &&)=default

Detailed Description

Definition at line 375 of file SimpleOps.h.

Member Function Documentation

◆ operator()()

QoperationStatement qasm::AddGateDeclExpr::operator() ( const boost::fusion::vector< GateDeclType, std::vector< GateDeclOpType > > & gateDecl,
std::unordered_map< std::string, StatementType > & definedGates ) const
inline

Definition at line 380 of file SimpleOps.h.


The documentation for this struct was generated from the following file: