ConcreteCallGraph Class

Definition

A kind of call graph whose nodes represent concrete instances of Q# callables.

public sealed class ConcreteCallGraph
type ConcreteCallGraph = class
Public NotInheritable Class ConcreteCallGraph
Inheritance
ConcreteCallGraph

Constructors

ConcreteCallGraph(QsCompilation)

Constructs a call graph with concretizations of callables that is trimmed to only include callables that entry points are dependent on. All Generated Implementations for specializations should be resolved before calling this, except Self-Inverse, which is handled by creating a dependency to the appropriate specialization of the same callable. This will throw an error if a Generated Implementation other than a Self-Inverse is encountered.

Properties

Nodes

A hash set of the nodes in the call graph.

Methods

GetDirectDependencies(ConcreteCallGraphNode)

Returns the children nodes of a given node. Each key in the returned lookup is a child node of the given node. Each value in the lookup is an edge connecting the given node to the child node represented by the associated key. Returns an empty ILookup if the node was found with no dependencies or was not found in the graph.

Applies to