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

#include <Scheduler.h>

+ Inheritance diagram for Schedulers::CircuitInfo< Time >:
+ Collaboration diagram for Schedulers::CircuitInfo< Time >:

Public Types

using BitMapping = typename Circuits::Circuit< Time >::BitMapping
 

Public Member Functions

 CircuitInfo ()=default
 
 CircuitInfo (const std::shared_ptr< Circuits::Circuit< Time > > &circuit, size_t shots, size_t id, size_t gatesDepth, Time timeDepth, size_t qubits)
 
bool operator== (const CircuitInfo< Time > &other) const
 
- Public Member Functions inherited from Schedulers::ExecuteCircuit< Time >
 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

size_t id = 0
 
size_t gatesDepth = 0
 
Time timeDepth = 0
 
size_t qubits = 0
 
BitMapping bitMapping
 
size_t hostId = 0
 
size_t startQubits = 0
 
- Public Attributes inherited from Schedulers::ExecuteCircuit< Time >
std::shared_ptr< Circuits::Circuit< Time > > circuit
 
size_t shots = 1000
 

Detailed Description

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

Definition at line 34 of file Scheduler.h.

Member Typedef Documentation

◆ BitMapping

template<typename Time = Types::time_type>
using Schedulers::CircuitInfo< Time >::BitMapping = typename Circuits::Circuit<Time>::BitMapping

Definition at line 35 of file Scheduler.h.

Constructor & Destructor Documentation

◆ CircuitInfo() [1/2]

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

◆ CircuitInfo() [2/2]

template<typename Time = Types::time_type>
Schedulers::CircuitInfo< Time >::CircuitInfo ( const std::shared_ptr< Circuits::Circuit< Time > > &  circuit,
size_t  shots,
size_t  id,
size_t  gatesDepth,
Time  timeDepth,
size_t  qubits 
)
inline

Definition at line 39 of file Scheduler.h.

Member Function Documentation

◆ operator==()

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

Definition at line 48 of file Scheduler.h.

Member Data Documentation

◆ bitMapping

template<typename Time = Types::time_type>
BitMapping Schedulers::CircuitInfo< Time >::bitMapping

Definition at line 62 of file Scheduler.h.

◆ gatesDepth

template<typename Time = Types::time_type>
size_t Schedulers::CircuitInfo< Time >::gatesDepth = 0

Definition at line 59 of file Scheduler.h.

◆ hostId

template<typename Time = Types::time_type>
size_t Schedulers::CircuitInfo< Time >::hostId = 0

Definition at line 66 of file Scheduler.h.

◆ id

template<typename Time = Types::time_type>
size_t Schedulers::CircuitInfo< Time >::id = 0

Definition at line 58 of file Scheduler.h.

◆ qubits

template<typename Time = Types::time_type>
size_t Schedulers::CircuitInfo< Time >::qubits = 0

Definition at line 61 of file Scheduler.h.

◆ startQubits

template<typename Time = Types::time_type>
size_t Schedulers::CircuitInfo< Time >::startQubits = 0

Definition at line 67 of file Scheduler.h.

◆ timeDepth

template<typename Time = Types::time_type>
Time Schedulers::CircuitInfo< Time >::timeDepth = 0

Definition at line 60 of file Scheduler.h.


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