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

#include <SimpleOps.h>

Collaboration diagram for qasm::ModifierType:

Public Member Functions

 ModifierType ()=default
 ModifierType (ModifierKind kind, double exponent=0., int count=1)

Public Attributes

int count = 1
double exponent = 0.
ModifierKind kind = ModifierKind::Ctrl

Detailed Description

Definition at line 173 of file SimpleOps.h.

Constructor & Destructor Documentation

◆ ModifierType() [1/2]

qasm::ModifierType::ModifierType ( )
default

◆ ModifierType() [2/2]

qasm::ModifierType::ModifierType ( ModifierKind kind,
double exponent = 0.,
int count = 1 )
inline

Definition at line 175 of file SimpleOps.h.

References count, exponent, and kind.

Member Data Documentation

◆ count

int qasm::ModifierType::count = 1

Definition at line 186 of file SimpleOps.h.

Referenced by ModifierType().

◆ exponent

double qasm::ModifierType::exponent = 0.

Definition at line 179 of file SimpleOps.h.

Referenced by ModifierType().

◆ kind

ModifierKind qasm::ModifierType::kind = ModifierKind::Ctrl

Definition at line 178 of file SimpleOps.h.

Referenced by ModifierType(), and qasm::AddModifiedGateExpr::IsControl().


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