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

#include <SyntaxTree.h>

Inheritance diagram for qasm::AddCondQopExpr:
Collaboration diagram for qasm::AddCondQopExpr:

Classes

struct  result

Public Member Functions

virtual double Eval () const
virtual double Eval (const std::unordered_map< std::string, double > &variables) const
QoperationStatement operator() (CondOpType &condOp, const std::unordered_map< std::string, IndexedId > &qreg_map, const std::unordered_map< std::string, IndexedId > &creg_map, const std::unordered_map< std::string, StatementType > &opaqueGates, const std::unordered_map< std::string, StatementType > &definedGates) const

Detailed Description

Definition at line 520 of file SyntaxTree.h.


Class Documentation

◆ qasm::AddCondQopExpr::result

struct qasm::AddCondQopExpr::result

Definition at line 521 of file SyntaxTree.h.

Collaboration diagram for qasm::AddCondQopExpr::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::AddCondQopExpr::operator() ( CondOpType & condOp,
const std::unordered_map< std::string, IndexedId > & qreg_map,
const std::unordered_map< std::string, IndexedId > & creg_map,
const std::unordered_map< std::string, StatementType > & opaqueGates,
const std::unordered_map< std::string, StatementType > & definedGates ) const
inline

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