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

#include <SyntaxTree.h>

Inheritance diagram for qasm::RejectQasm3OnlyGateExpr:
Collaboration diagram for qasm::RejectQasm3OnlyGateExpr:

Classes

struct  result

Public Member Functions

virtual double Eval () const
virtual double Eval (const std::unordered_map< std::string, double > &variables) const
bool operator() (const std::string &gateName, const std::unordered_map< std::string, StatementType > &definedGates) const

Detailed Description

Definition at line 999 of file SyntaxTree.h.


Class Documentation

◆ qasm::RejectQasm3OnlyGateExpr::result

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

Definition at line 1001 of file SyntaxTree.h.

Collaboration diagram for qasm::RejectQasm3OnlyGateExpr::result< typename, typename >:
Class Members
typedef bool 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()()

bool qasm::RejectQasm3OnlyGateExpr::operator() ( const std::string & gateName,
const std::unordered_map< std::string, StatementType > & definedGates ) const
inline

Definition at line 1005 of file SyntaxTree.h.


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