tqec.interop#

Provides interoperability between tqec and external frameworks / formats.

Functions

block_synthesis(zx_graph[, strategy, positions])

display_collada_model(filepath_or_bytes[, ...])

Display the 3D COLLADA model from a Collada DAE file in IPython compatible environments, or write the generated HTML content to a file.

positioned_block_synthesis(g)

Convert a positioned ZX graph to a BlockGraph.

read_block_graph_from_dae_file(filepath[, ...])

Read a Collada DAE file and construct a BlockGraph from it.

write_block_graph_to_dae_file(block_graph, ...)

Write a BlockGraph to a Collada DAE file.

Classes

PositionedZX(g, positions)

A ZX graph with 3D positions and additional constraints.

RGBA(r, g, b, a)

RGBA representation of a color.

SynthesisStrategy(value[, names, module, ...])

Strategy for synthesizing a block graph from a ZX graph.

TQECColor(value[, names, module, qualname, ...])

Predefined and commonly used colors in TQEC.