Metadata-Version: 2.1
Name: pytket-offline-display
Version: 0.0.1
Summary: Python module for displaying pytket circuits when offline.
Author: TKET development team
Author-email: tket-support@cambridgequantum.com
License: Apache 2
Project-URL: Documentation, https://cqcl.github.io/tket/pytket/api/index.html
Project-URL: Source, https://github.com/CQCL/tket
Project-URL: Tracker, https://github.com/CQCL/tket/issues
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# Pytket-offline-renderer

This pytket extension package provides offline circuit rendering functionality.
To use, simply replace the usual `pytket.circuit.display` import with `pytket.circuit.offline_display`, for example:
```python
from pytket.circuit.offline_display import render_circuit_jupyter
from pytket import Circuit

circ = Circuit(2,2)
circ.H(0)
circ.CX(0,1)
circ.measure_all()

render_circuit_jupyter(circ)
```
