ClassicalSimGraphDrawer#

qualtran.drawing.ClassicalSimGraphDrawer

A graph drawer that labels each edge with a classical value.

Inherits From: PrettyGraphDrawer, GraphDrawer

The (composite) bloq must be composed entirely of classically-simulable bloqs.

bloq

The (composite) bloq to draw.

vals

Input classical values to propogate through the composite bloq.

Methods#

cxn_label

View source

Label the connection with its classical value.

cxn_edge

View source

Overridable method to style a pydot.Edge for connecionts.