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

#include <SimpleOps.h>

Inheritance diagram for qasm::AddQregExpr:
qasm::AbstractSyntaxTree

Classes

struct  result

Public Member Functions

IndexedId operator() (int &counter, std::unordered_map< std::string, IndexedId > &qreg_map, const IndexedId &id) const
Public Member Functions inherited from qasm::AbstractSyntaxTree
virtual ~AbstractSyntaxTree ()=default
virtual double Eval () const
virtual double Eval (const std::unordered_map< std::string, double > &variables) const

Additional Inherited Members

Protected Member Functions inherited from qasm::AbstractSyntaxTree
 AbstractSyntaxTree ()=default
 AbstractSyntaxTree (const AbstractSyntaxTree &)=default
 AbstractSyntaxTree (AbstractSyntaxTree &&)=default
AbstractSyntaxTreeoperator= (const AbstractSyntaxTree &)=default
AbstractSyntaxTreeoperator= (AbstractSyntaxTree &&)=default

Detailed Description

Definition at line 147 of file SimpleOps.h.

Member Function Documentation

◆ operator()()

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

Definition at line 152 of file SimpleOps.h.


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