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

Public Member Functions

bool contains_forbidden_subsequence (const GrayCodeCNOT &candidate) const
 
 ForbiddenSubseqSet (const std::vector< matrix_base< int >> &topology)
 
void insert_forbidden (const GrayCodeCNOT &path)
 

Public Attributes

std::vector< GrayCodeCNOTpatterns
 
const std::vector< matrix_base< int > > & topology
 

Detailed Description

Definition at line 918 of file N_Qubit_Decomposition_Tree_Search.cpp.

Constructor & Destructor Documentation

◆ ForbiddenSubseqSet()

ForbiddenSubseqSet::ForbiddenSubseqSet ( const std::vector< matrix_base< int >> &  topology)
inline

Definition at line 922 of file N_Qubit_Decomposition_Tree_Search.cpp.

Member Function Documentation

◆ contains_forbidden_subsequence()

bool ForbiddenSubseqSet::contains_forbidden_subsequence ( const GrayCodeCNOT candidate) const
inline

Definition at line 925 of file N_Qubit_Decomposition_Tree_Search.cpp.

Here is the call graph for this function:

◆ insert_forbidden()

void ForbiddenSubseqSet::insert_forbidden ( const GrayCodeCNOT path)
inline

Definition at line 935 of file N_Qubit_Decomposition_Tree_Search.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ patterns

std::vector<GrayCodeCNOT> ForbiddenSubseqSet::patterns

Definition at line 919 of file N_Qubit_Decomposition_Tree_Search.cpp.

◆ topology

const std::vector<matrix_base<int> >& ForbiddenSubseqSet::topology

Definition at line 920 of file N_Qubit_Decomposition_Tree_Search.cpp.


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