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

#include <SimpleOps.h>

+ Inheritance diagram for qasm::AddCregExpr:
+ Collaboration diagram for qasm::AddCregExpr:

Classes

struct  result
 

Public Member Functions

virtual double Eval () const
 
virtual double Eval (const std::unordered_map< std::string, double > &variables) const
 
IndexedId operator() (int &counter, std::unordered_map< std::string, IndexedId > &creg_map, const IndexedId &id) const
 

Detailed Description

Definition at line 126 of file SimpleOps.h.


Class Documentation

◆ qasm::AddCregExpr::result

struct qasm::AddCregExpr::result

Definition at line 127 of file SimpleOps.h.

+ Collaboration diagram for qasm::AddCregExpr::result:
Class Members
typedef IndexedId 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()()

IndexedId qasm::AddCregExpr::operator() ( int &  counter,
std::unordered_map< std::string, IndexedId > &  creg_map,
const IndexedId id 
) const
inline

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