|
Maestro 0.1.0
Unified interface for quantum circuit simulation
|
A struct representing a job to be executed on a host. More...
#include <Scheduler.h>
Public Types | |
| using | NetworkClass = typename Network::INetwork<Time> |
| using | ExecuteResults = typename NetworkClass::ExecuteResults |
Public Member Functions | |
| void | DoWork () |
| size_t | GetJobCount () const |
Public Attributes | |
| std::shared_ptr< NetworkClass > | hostNetwork |
| size_t | h = 0 |
| std::shared_ptr< Circuits::Circuit< Time > > | circ |
| size_t | nrShots = 0 |
| ExecuteResults | results |
A struct representing a job to be executed on a host.
A struct representing a job to be executed on a host, containing both the circuit and the number of shots information, also a shared pointer to the network to execute on. Calling DoWork() will execute the job on the host network and store the results in the results member.
| Time | The time type to use for the network and circuit. |
Definition at line 80 of file Scheduler.h.
| using Schedulers::ExecuteJob< Time >::ExecuteResults = typename NetworkClass::ExecuteResults |
Definition at line 82 of file Scheduler.h.
| using Schedulers::ExecuteJob< Time >::NetworkClass = typename Network::INetwork<Time> |
Definition at line 81 of file Scheduler.h.
|
inline |
Definition at line 90 of file Scheduler.h.
|
inline |
Definition at line 97 of file Scheduler.h.
| std::shared_ptr<Circuits::Circuit<Time> > Schedulers::ExecuteJob< Time >::circ |
Definition at line 86 of file Scheduler.h.
| size_t Schedulers::ExecuteJob< Time >::h = 0 |
Definition at line 85 of file Scheduler.h.
| std::shared_ptr<NetworkClass> Schedulers::ExecuteJob< Time >::hostNetwork |
Definition at line 84 of file Scheduler.h.
| size_t Schedulers::ExecuteJob< Time >::nrShots = 0 |
Definition at line 87 of file Scheduler.h.
| ExecuteResults Schedulers::ExecuteJob< Time >::results |
Definition at line 88 of file Scheduler.h.