Definition at line 608 of file qasm_ast.hpp.
#include <qasm_ast.hpp>
◆ QasmRepresentation()
compiler::QasmRepresentation::QasmRepresentation |
( |
| ) |
|
|
inline |
◆ qubitRegister()
void compiler::QasmRepresentation::qubitRegister |
( |
int |
participating_number | ) |
|
|
inline |
◆ numQubits()
int compiler::QasmRepresentation::numQubits |
( |
| ) |
|
|
inline |
◆ versionNumber() [1/2]
double compiler::QasmRepresentation::versionNumber |
( |
| ) |
const |
|
inline |
◆ versionNumber() [2/2]
void compiler::QasmRepresentation::versionNumber |
( |
double |
version | ) |
|
|
inline |
◆ getSubCircuits()
SubCircuits& compiler::QasmRepresentation::getSubCircuits |
( |
| ) |
|
|
inline |
◆ addMappings()
void compiler::QasmRepresentation::addMappings |
( |
std::string |
name_key, |
|
|
NumericalIdentifiers |
indices, |
|
|
bool |
isQubit |
|
) |
| |
|
inline |
◆ getMappedIndices()
const NumericalIdentifiers& compiler::QasmRepresentation::getMappedIndices |
( |
std::string |
name_key, |
|
|
bool |
isQubit, |
|
|
int |
linenumber |
|
) |
| const |
|
inline |
◆ setErrorModel()
void compiler::QasmRepresentation::setErrorModel |
( |
std::string |
error_model_type, |
|
|
std::vector< double > |
error_model_num_params |
|
) |
| |
|
inline |
◆ getErrorModelType()
const std::string compiler::QasmRepresentation::getErrorModelType |
( |
| ) |
const |
|
inline |
◆ getErrorModelParameters()
std::vector<double> compiler::QasmRepresentation::getErrorModelParameters |
( |
| ) |
const |
|
inline |
◆ printMappings()
void compiler::QasmRepresentation::printMappings |
( |
| ) |
const |
|
inline |
◆ printErrorModel()
void compiler::QasmRepresentation::printErrorModel |
( |
| ) |
const |
|
inline |
◆ subcircuits_
◆ qubit_register_
int compiler::QasmRepresentation::qubit_register_ |
|
protected |
◆ version_number_
double compiler::QasmRepresentation::version_number_ |
|
protected |
◆ mappings_
std::map< std::string , std::pair<NumericalIdentifiers,bool> > compiler::QasmRepresentation::mappings_ |
|
protected |
◆ error_model_
std::pair< std::string, std::vector<double> > compiler::QasmRepresentation::error_model_ |
|
protected |
The documentation for this class was generated from the following file: