TrivialEmbeddingAlgorithm¶
-
class
TrivialEmbeddingAlgorithm: public xacc::quantum::EmbeddingAlgorithm¶ The EmbeddingAlgorithm class provides an interface for minor graph embedding algorithms.
Public Functions
-
TrivialEmbeddingAlgorithm()¶ The Constructor
-
virtual
~TrivialEmbeddingAlgorithm()¶ The Destructor
Implementations of EmbeddingAlgorithm implement this method to provide a valid minor graph embedding of the given problem graph into the given hardware graph.
- Return
embedding A mapping of problem vertex indices to the list of hardware vertices they map to
- Parameters
problem: The problem graph to be embedded into the hardware graphhardware: The hardware graph.params: Any key-value string parameters to influence the algorithm.
-
virtual const std::string
name() const¶ Return the name of this instance.
- Return
name The string name
-
virtual const std::string
description() const¶ Return the description of this instance
- Return
description The description of this object.
-