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
CutInfo Struct Reference

Structure containing cut information for operator Schmidt rank (OSR) analysis. More...

#include <N_Qubit_Decomposition_Tree_Search.h>

Public Member Functions

 CutInfo (std::vector< std::vector< int >> all_cuts, MinCnotBoundSolver osr_bound_solver)
 

Public Attributes

std::vector< std::vector< int > > all_cuts
 Vector of all possible qubit cuts, where each cut is represented as a vector of qubit indices. More...
 
MinCnotBoundSolver osr_bound_solver
 Map from CNOT pair (target, control) to the indices of cuts that are affected by this pair. More...
 
std::map< GrayCodeCNOT, SearchNodeprefixes
 Map from Gray code sequences to their OSR result pairs (rank, cost) for different cuts. More...
 

Detailed Description

Structure containing cut information for operator Schmidt rank (OSR) analysis.

This structure tracks all possible qubit cuts, which cuts are affected by each CNOT pair, and the OSR results (prefixes) for different Gray code sequences.

Definition at line 289 of file N_Qubit_Decomposition_Tree_Search.h.

Constructor & Destructor Documentation

◆ CutInfo()

CutInfo::CutInfo ( std::vector< std::vector< int >>  all_cuts,
MinCnotBoundSolver  osr_bound_solver 
)
inline

Definition at line 296 of file N_Qubit_Decomposition_Tree_Search.h.

Member Data Documentation

◆ all_cuts

std::vector<std::vector<int> > CutInfo::all_cuts

Vector of all possible qubit cuts, where each cut is represented as a vector of qubit indices.

Definition at line 291 of file N_Qubit_Decomposition_Tree_Search.h.

◆ osr_bound_solver

MinCnotBoundSolver CutInfo::osr_bound_solver

Map from CNOT pair (target, control) to the indices of cuts that are affected by this pair.

Definition at line 293 of file N_Qubit_Decomposition_Tree_Search.h.

◆ prefixes

std::map<GrayCodeCNOT, SearchNode> CutInfo::prefixes

Map from Gray code sequences to their OSR result pairs (rank, cost) for different cuts.

Definition at line 295 of file N_Qubit_Decomposition_Tree_Search.h.


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