libqasm
library for handling cQASM files
Namespaces | Functions
cqasm-v1-error-model.cpp File Reference

Implementation for cqasm-v1-error-model.hpp. More...

Go to the source code of this file.

Namespaces

 cqasm
 Toplevel namespace with entry points for the new API.
 
 cqasm::v1
 Namespace for the "new" cQASM 1.x API.
 
 cqasm::v1::error_model
 Namespace for the ErrorModel class and helper types.
 
 cqasm::v1::primitives
 Namespace for the primitive types used in trees generated by tree-gen.
 

Functions

std::ostream & cqasm::v1::error_model::operator<< (std::ostream &os, const ErrorModel &model)
 Stream << overload for error models. More...
 
std::ostream & cqasm::v1::error_model::operator<< (std::ostream &os, const ErrorModelRef &model)
 Stream << overload for error model references. More...
 
template<>
void cqasm::v1::primitives::serialize (const error_model::ErrorModelRef &obj, ::tree::cbor::MapWriter &map)
 
template<>
error_model::ErrorModelRef cqasm::v1::primitives::deserialize (const ::tree::cbor::MapReader &map)
 Deserializes the given primitive object from CBOR. More...
 

Detailed Description

Implementation for cqasm-v1-error-model.hpp.

Definition in file cqasm-v1-error-model.cpp.

#include "cqasm-utils.hpp"
#include "cqasm-v1-error-model.hpp"
#include "cqasm-v1-semantic.hpp"
Include dependency graph for cqasm-v1-error-model.cpp: