tket
Loading...
Searching...
No Matches
Public Member Functions | List of all members
tket::WeightedSubgraphMonomorphism::RelabelledGraphWSM< VertexType, GraphType > Class Template Reference

Intended for use with Architecture and QubitGraph, which are similar but different types. More...

#include <RelabelledGraphWSM.hpp>

Public Member Functions

 RelabelledGraphWSM (const GraphType &graph)
 
const GraphEdgeWeights & get_relabelled_edges_and_weights () const
 
const std::set< VertexWSM > & get_relabelled_isolated_vertices () const
 
const std::set< VertexWSM > & get_relabelled_nonisolated_vertices () const
 
const std::vector< VertexType > & get_original_vertices () const
 
VertexWSM get_relabelled_vertex (const VertexType &original_vertex) const
 

Detailed Description

template<class VertexType, class GraphType>
class tket::WeightedSubgraphMonomorphism::RelabelledGraphWSM< VertexType, GraphType >

Intended for use with Architecture and QubitGraph, which are similar but different types.

Calculate new VertexWSM vertex labels.

Definition at line 29 of file RelabelledGraphWSM.hpp.

Constructor & Destructor Documentation

◆ RelabelledGraphWSM()

template<class VertexType , class GraphType >
tket::WeightedSubgraphMonomorphism::RelabelledGraphWSM< VertexType, GraphType >::RelabelledGraphWSM ( const GraphType &  graph)
inlineexplicit

Definition at line 31 of file RelabelledGraphWSM.hpp.

Member Function Documentation

◆ get_original_vertices()

template<class VertexType , class GraphType >
const std::vector< VertexType > & tket::WeightedSubgraphMonomorphism::RelabelledGraphWSM< VertexType, GraphType >::get_original_vertices ( ) const
inline

Definition at line 86 of file RelabelledGraphWSM.hpp.

◆ get_relabelled_edges_and_weights()

template<class VertexType , class GraphType >
const GraphEdgeWeights & tket::WeightedSubgraphMonomorphism::RelabelledGraphWSM< VertexType, GraphType >::get_relabelled_edges_and_weights ( ) const
inline

Definition at line 73 of file RelabelledGraphWSM.hpp.

◆ get_relabelled_isolated_vertices()

template<class VertexType , class GraphType >
const std::set< VertexWSM > & tket::WeightedSubgraphMonomorphism::RelabelledGraphWSM< VertexType, GraphType >::get_relabelled_isolated_vertices ( ) const
inline

Definition at line 77 of file RelabelledGraphWSM.hpp.

◆ get_relabelled_nonisolated_vertices()

template<class VertexType , class GraphType >
const std::set< VertexWSM > & tket::WeightedSubgraphMonomorphism::RelabelledGraphWSM< VertexType, GraphType >::get_relabelled_nonisolated_vertices ( ) const
inline

Definition at line 81 of file RelabelledGraphWSM.hpp.

◆ get_relabelled_vertex()

template<class VertexType , class GraphType >
VertexWSM tket::WeightedSubgraphMonomorphism::RelabelledGraphWSM< VertexType, GraphType >::get_relabelled_vertex ( const VertexType original_vertex) const
inline

Definition at line 90 of file RelabelledGraphWSM.hpp.


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