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

#include <N_Qubit_Decomposition_Tree_Search.h>

Public Member Functions

const std::tuple< int, double, std::vector< int >, std::vector< std::pair< int, double > > > & get_best_osr_result () const
 
int get_min_cnots () const
 
bool operator< (const SearchNode &other) const
 
bool operator> (const SearchNode &other) const
 
 SearchNode (GrayCodeCNOT path)
 

Public Attributes

std::vector< std::tuple< int, double, std::vector< int >, std::vector< std::pair< int, double > > > > osr_results
 
GrayCodeCNOT path
 

Detailed Description

Definition at line 227 of file N_Qubit_Decomposition_Tree_Search.h.

Constructor & Destructor Documentation

◆ SearchNode()

SearchNode::SearchNode ( GrayCodeCNOT  path)
inline

Definition at line 230 of file N_Qubit_Decomposition_Tree_Search.h.

Member Function Documentation

◆ get_best_osr_result()

const std::tuple<int, double, std::vector<int>, std::vector<std::pair<int, double> > >& SearchNode::get_best_osr_result ( ) const
inline

Definition at line 237 of file N_Qubit_Decomposition_Tree_Search.h.

Here is the caller graph for this function:

◆ get_min_cnots()

int SearchNode::get_min_cnots ( ) const
inline

Definition at line 231 of file N_Qubit_Decomposition_Tree_Search.h.

◆ operator<()

bool SearchNode::operator< ( const SearchNode other) const
inline

Definition at line 247 of file N_Qubit_Decomposition_Tree_Search.h.

◆ operator>()

bool SearchNode::operator> ( const SearchNode other) const
inline

Definition at line 248 of file N_Qubit_Decomposition_Tree_Search.h.

Here is the call graph for this function:

Member Data Documentation

◆ osr_results

std::vector<std::tuple<int, double, std::vector<int>, std::vector<std::pair<int, double> > > > SearchNode::osr_results

Definition at line 228 of file N_Qubit_Decomposition_Tree_Search.h.

◆ path

GrayCodeCNOT SearchNode::path

Definition at line 229 of file N_Qubit_Decomposition_Tree_Search.h.


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