Sequential Quantum Gate Decomposer  v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
List of all members | Public Attributes
LevelResult Struct Reference

Structure containing the result of a BFS level enumeration. More...

Public Attributes

std::vector< std::pair< std::vector< int >, GrayCodeCNOT > > out_res
 Vector of output results (discoveries) from the BFS level enumeration. More...
 
std::map< std::vector< int >, GrayCodeCNOTseq_pairs_of
 Map from state vectors to their corresponding Gray code sequences. More...
 
std::set< std::vector< int > > visited
 Set of visited states (represented as vectors of integers) More...
 

Detailed Description

Structure containing the result of a BFS level enumeration.

This structure contains the visited states, sequence pairs, and the output results from enumerating a single BFS level.

Definition at line 44 of file N_Qubit_Decomposition_Tree_Search.cpp.

Member Data Documentation

◆ out_res

std::vector<std::pair<std::vector<int>, GrayCodeCNOT> > LevelResult::out_res

Vector of output results (discoveries) from the BFS level enumeration.

Definition at line 50 of file N_Qubit_Decomposition_Tree_Search.cpp.

◆ seq_pairs_of

std::map<std::vector<int>, GrayCodeCNOT> LevelResult::seq_pairs_of

Map from state vectors to their corresponding Gray code sequences.

Definition at line 48 of file N_Qubit_Decomposition_Tree_Search.cpp.

◆ visited

std::set<std::vector<int> > LevelResult::visited

Set of visited states (represented as vectors of integers)

Definition at line 46 of file N_Qubit_Decomposition_Tree_Search.cpp.


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