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

#include <SimpleOps.h>

+ Inheritance diagram for qasm::AddOpaqueDeclExpr:
+ Collaboration diagram for qasm::AddOpaqueDeclExpr:

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 OpaqueDeclType &opaqueDecl, std::unordered_map< std::string, StatementType > &opaqueGates, const std::unordered_map< std::string, IndexedId > &qreg_map) const
 

Detailed Description

Definition at line 341 of file SimpleOps.h.


Class Documentation

◆ qasm::AddOpaqueDeclExpr::result

struct qasm::AddOpaqueDeclExpr::result

Definition at line 342 of file SimpleOps.h.

+ Collaboration diagram for qasm::AddOpaqueDeclExpr::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::AddOpaqueDeclExpr::operator() ( const OpaqueDeclType opaqueDecl,
std::unordered_map< std::string, StatementType > &  opaqueGates,
const std::unordered_map< std::string, IndexedId > &  qreg_map 
) const
inline

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