Maestro 0.1.0
Unified interface for quantum circuit simulation
Loading...
Searching...
No Matches
qasm::CircToQasm< Time > Class Template Reference

#include <CircQasm.h>

Public Types

enum class  QasmGateType : size_t {
  X , Y , Z , H ,
  S , SDG , Sx , SxDG ,
  K , T , TDG , Rx ,
  Ry , Rz , U , CZ ,
  CY , CH , CRZ , CU1 ,
  CU3 , CRX , CRY , CS ,
  CSDAG , CSX , CSXDAG , SWAP ,
  IncludedGate , NoGate
}

Static Public Member Functions

static std::string GenerateWithMapping (const std::shared_ptr< Circuits::Circuit< Time > > &circuit, const std::unordered_map< Types::qubit_t, Types::qubit_t > &bitsMap)
static std::string Generate (const std::shared_ptr< Circuits::Circuit< Time > > &circuit)

Detailed Description

template<typename Time = Types::time_type>
class qasm::CircToQasm< Time >

Definition at line 21 of file CircQasm.h.

Member Enumeration Documentation

◆ QasmGateType

template<typename Time = Types::time_type>
enum class qasm::CircToQasm::QasmGateType : size_t
strong
Enumerator
SDG 
Sx 
SxDG 
TDG 
Rx 
Ry 
Rz 
CZ 
CY 
CH 
CRZ 
CU1 
CU3 
CRX 
CRY 
CS 
CSDAG 
CSX 
CSXDAG 
SWAP 
IncludedGate 
NoGate 

Definition at line 23 of file CircQasm.h.

Member Function Documentation

◆ Generate()

template<typename Time = Types::time_type>
std::string qasm::CircToQasm< Time >::Generate ( const std::shared_ptr< Circuits::Circuit< Time > > & circuit)
inlinestatic

Definition at line 80 of file CircQasm.h.

◆ GenerateWithMapping()

template<typename Time = Types::time_type>
std::string qasm::CircToQasm< Time >::GenerateWithMapping ( const std::shared_ptr< Circuits::Circuit< Time > > & circuit,
const std::unordered_map< Types::qubit_t, Types::qubit_t > & bitsMap )
inlinestatic

Definition at line 62 of file CircQasm.h.


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