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

#include <SyntaxTree.h>

Inheritance diagram for qasm::AddCondQopBracedExpr:
Collaboration diagram for qasm::AddCondQopBracedExpr:

Classes

struct  result

Public Member Functions

virtual double Eval () const
virtual double Eval (const std::unordered_map< std::string, double > &variables) const
std::vector< QoperationStatementoperator() (const CondHeadType &condHead, const std::vector< QopType > &body, const boost::optional< std::vector< QopType > > &elseBody, 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 1177 of file SyntaxTree.h.


Class Documentation

◆ qasm::AddCondQopBracedExpr::result

struct qasm::AddCondQopBracedExpr::result

Definition at line 1178 of file SyntaxTree.h.

Collaboration diagram for qasm::AddCondQopBracedExpr::result:
Class Members
typedef vector< 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()()

std::vector< QoperationStatement > qasm::AddCondQopBracedExpr::operator() ( const CondHeadType & condHead,
const std::vector< QopType > & body,
const boost::optional< std::vector< QopType > > & elseBody,
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: