Skip to main content

Python module for displaying pytket circuits when offline.

Project description

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:

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytket-offline-display-0.0.1.tar.gz (471.0 kB view details)

Uploaded Source

Built Distribution

pytket_offline_display-0.0.1-py3-none-any.whl (95.7 kB view details)

Uploaded Python 3

File details

Details for the file pytket-offline-display-0.0.1.tar.gz.

File metadata

File hashes

Hashes for pytket-offline-display-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2d294c9bab4cbf625be929587167a9de581e76369bc163c49c3e69ff1aec4669
MD5 561140d7a3ef98ea9e5e75247f6fd393
BLAKE2b-256 7b451e50c7d3170e9cf244b55fe88a3b82bf974895e44892bb78382cc55ea235

See more details on using hashes here.

File details

Details for the file pytket_offline_display-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pytket_offline_display-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 747c7e252e92fc8ac667cdce340656aa394d05267e40cccbfa41ea0584ca0a79
MD5 e81959bfa1367bc3d0c5e6680502a569
BLAKE2b-256 d98a039712a053fb0ecc3304f3af9b3f044563c87cd0d6f093a7774f5dd531b6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page