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

#include <SimpleOps.h>

Inheritance diagram for qasm::AddGateDeclExpr:
Collaboration diagram for qasm::AddGateDeclExpr:

Classes

struct  result

Public Member Functions

virtual double Eval () const
virtual double Eval (const std::unordered_map< std::string, double > &variables) const
QoperationStatement operator() (const boost::fusion::vector< GateDeclType, std::vector< GateDeclOpType > > &gateDecl, std::unordered_map< std::string, StatementType > &definedGates) const

Detailed Description

Definition at line 373 of file SimpleOps.h.


Class Documentation

◆ qasm::AddGateDeclExpr::result

struct qasm::AddGateDeclExpr::result

Definition at line 374 of file SimpleOps.h.

Collaboration diagram for qasm::AddGateDeclExpr::result:
Class Members
typedef QoperationStatement type

Member Function Documentation

◆ Eval() [1/2]

virtual double qasm::AbstractSyntaxTree::Eval ( ) const
inlinevirtualinherited

◆ Eval() [2/2]

virtual double qasm::AbstractSyntaxTree::Eval ( const std::unordered_map< std::string, double > & variables) const
inlinevirtualinherited

◆ operator()()

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

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