Maestro 0.2.5
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
 
bool operator== (const ExecuteCircuit< Time > &other) const
 

Public Attributes

BitMapping bitMapping
 
std::shared_ptr< Circuits::Circuit< Time > > circuit
 
size_t gatesDepth = 0
 
size_t hostId = 0
 
size_t id = 0
 
size_t qubits = 0
 
size_t shots = 1000
 
size_t startQubits = 0
 
Time timeDepth = 0
 

Detailed Description

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

Definition at line 35 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 36 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 40 of file Scheduler.h.

Member Function Documentation

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

Member Data Documentation

◆ bitMapping

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

Definition at line 63 of file Scheduler.h.

◆ circuit

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

◆ gatesDepth

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

Definition at line 60 of file Scheduler.h.

Referenced by Schedulers::CircuitInfo< Time >::operator==().

◆ hostId

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

Definition at line 67 of file Scheduler.h.

Referenced by Schedulers::CircuitInfo< Time >::operator==().

◆ id

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

Definition at line 59 of file Scheduler.h.

Referenced by Schedulers::CircuitInfo< Time >::operator==().

◆ qubits

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

Definition at line 62 of file Scheduler.h.

Referenced by Schedulers::CircuitInfo< Time >::operator==().

◆ shots

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

◆ startQubits

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

Definition at line 68 of file Scheduler.h.

◆ timeDepth

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

Definition at line 61 of file Scheduler.h.

Referenced by Schedulers::CircuitInfo< Time >::operator==().


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