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

#include <SimpleOps.h>

+ Inheritance diagram for qasm::AddQregExpr:
+ Collaboration diagram for qasm::AddQregExpr:

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 > &qreg_map, const IndexedId &id) const
 

Detailed Description

Definition at line 149 of file SimpleOps.h.


Class Documentation

◆ qasm::AddQregExpr::result

struct qasm::AddQregExpr::result

Definition at line 150 of file SimpleOps.h.

+ Collaboration diagram for qasm::AddQregExpr::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::AddQregExpr::operator() ( int &  counter,
std::unordered_map< std::string, IndexedId > &  qreg_map,
const IndexedId id 
) const
inline

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