UnionFind
latest
Contents:
Installation
Usage
Implementing Custom Lattice
Development
Python API
C++ Library API
Class Hierarchy
File Hierarchy
Full API
Namespaces
Classes and Structs
Template Struct hash< UnionFindCPP::Edge >
Template Struct is_std_array
Template Struct is_std_array< std::array< T, N > >
Struct Edge
Class RootManager
Class RootManager::SizeProxy
Template Class Decoder
Class LatticeFromParity
Enums
Functions
Variables
Defines
UnionFind
»
C++ Library API
»
Template Class Decoder
Edit on GitHub
Template Class Decoder
Defined in
File Decoder.hpp
Class Documentation
template
<
LatticeConcept
Lattice
>
class
UnionFindCPP
::
Decoder
Public Types
using
Vertex
=
uint32_t
using
RootIterator
=
tsl
::
robin_set
<
Vertex
>
::
const_iterator
Public Functions
template
<
typename
...
Args
>
inline
explicit
Decoder
(
Args
&
&
...
args
)
inline
auto
decode
(
std
::
vector
<
uint32_t
>
&
syndromes
)
->
std
::
vector
<
Edge
>
inline
auto
num_vertices
(
)
const
->
int
inline
auto
num_edges
(
)
const
->
int
inline
auto
edge_idx
(
const
Edge
&
edge
)
const
->
int
inline
void
clear
(
)
Read the Docs
v: latest
Versions
latest
stable
Downloads
On Read the Docs
Project Home
Builds