Maestro 0.1.0
Unified interface for quantum circuit simulation
Loading...
Searching...
No Matches
Schedulers::ExecuteCircuit< Time > Struct Template Reference

A way to pack together a circuit and the number of shots for its execution. More...

#include <Controller.h>

Public Member Functions

 ExecuteCircuit ()=default
 ExecuteCircuit (const std::shared_ptr< Circuits::Circuit< Time > > &circuit, size_t shots)
virtual ~ExecuteCircuit ()=default
bool operator== (const ExecuteCircuit< Time > &other) const

Public Attributes

std::shared_ptr< Circuits::Circuit< Time > > circuit
size_t shots = 1000

Detailed Description

template<typename Time = Types::time_type>
struct Schedulers::ExecuteCircuit< Time >

A way to pack together a circuit and the number of shots for its execution.

A struct representing a circuit to be executed along with the number of shots.

A struct representing a circuit to be executed along with the number of shots.

Template Parameters
TimeThe time type to use for the circuit.
See also
Circuits::Circuit

Definition at line 56 of file Controller.h.

Constructor & Destructor Documentation

◆ ExecuteCircuit() [1/2]

template<typename Time = Types::time_type>
Schedulers::ExecuteCircuit< Time >::ExecuteCircuit ( )
default

◆ ExecuteCircuit() [2/2]

template<typename Time = Types::time_type>
Schedulers::ExecuteCircuit< Time >::ExecuteCircuit ( const std::shared_ptr< Circuits::Circuit< Time > > & circuit,
size_t shots )
inline

Definition at line 59 of file Controller.h.

◆ ~ExecuteCircuit()

template<typename Time = Types::time_type>
virtual Schedulers::ExecuteCircuit< Time >::~ExecuteCircuit ( )
virtualdefault

Member Function Documentation

◆ operator==()

template<typename Time = Types::time_type>
bool Schedulers::ExecuteCircuit< Time >::operator== ( const ExecuteCircuit< Time > & other) const
inline

Definition at line 65 of file Controller.h.

Member Data Documentation

◆ circuit

template<typename Time = Types::time_type>
std::shared_ptr<Circuits::Circuit<Time> > Schedulers::ExecuteCircuit< Time >::circuit

Definition at line 69 of file Controller.h.

◆ shots

template<typename Time = Types::time_type>
size_t Schedulers::ExecuteCircuit< Time >::shots = 1000

Definition at line 70 of file Controller.h.


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