Skip to main content

Crate tk_pg_converter

Crate tk_pg_converter 

Source
Expand description

This crate provides conversion functions between PauliGraph and serialized TKET circuit format as well as a function to compare the unitaries of two PauliGraphs by calling pytket.

Enums§

TKConversionError
Error type for TKET conversion operations.

Functions§

compare_unitaries_via_tk
Compare the unitaries of two PauliGraphs by converting them to TKET JSON and calling pytket’s compare_unitaries function.
pg_from_tk_json
Convert a serialized TKET circuit to a PauliGraph.
pg_to_tk_json
Convert a PauliGraph to serialized TKET circuit format.