libqasm
library for handling cQASM files
Classes | Typedefs | Functions
cqasm::v1::error_model Namespace Reference

Detailed Description

Namespace for the ErrorModel class and helper types.

Classes

class  ErrorModel
 Representation of an error model. More...
 

Typedefs

using ErrorModelRef = tree::Maybe< ErrorModel >
 Optional reference to an error model, used within the semantic tree. More...
 

Functions

std::ostream & operator<< (std::ostream &os, const ErrorModel &model)
 Stream << overload for error models. More...
 
std::ostream & operator<< (std::ostream &os, const ErrorModelRef &model)
 Stream << overload for error model references. More...
 

Typedef Documentation

◆ ErrorModelRef

Optional reference to an error model, used within the semantic tree.

Definition at line 78 of file cqasm-v1-error-model.hpp.

Function Documentation

◆ operator<<() [1/2]

std::ostream & cqasm::v1::error_model::operator<< ( std::ostream &  os,
const ErrorModel model 
)

Stream << overload for error models.

Definition at line 36 of file cqasm-v1-error-model.cpp.

◆ operator<<() [2/2]

std::ostream & cqasm::v1::error_model::operator<< ( std::ostream &  os,
const ErrorModelRef model 
)

Stream << overload for error model references.

Definition at line 44 of file cqasm-v1-error-model.cpp.