cirq-web
Web-based 3D visualization tools for Cirq.
Decision gist · record as of 2026-08-14
Yes. cirq-web is worth installing if you work with Cirq and need to visualize quantum states or circuits. It has low install friction, active maintenance, no known vulnerabilities, and a permissive license. The single dependency on cirq-core is expected for a Cirq module. It fills a specific, well-defined need for quantum visualization in notebooks and browsers.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later; cirq-core must be installed as a runtime dependency.
- Low friction installation as a pure Python wheel with a single runtime dependency on cirq-core.
- Actively maintained with recent releases and no known vulnerabilities.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows free use, modification, and distribution in both open-source and commercial projects with minimal restrictions.
last release 2026-06-29 (46 days) · last repo commit 2026-08-14 · 5,046 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 131,429 downloads/mo, #11,589 on PyPI
Alternatives
Verify before relying
pip install cirq-web
import cirq
from cirq_web import BlochSphere
zero_state = [1+0j, 0+0j]
state_vector = cirq.to_valid_state_vector(zero_state)
sphere = BlochSphere(state_vector=state_vector)
sphere.generate_html_file()- Whether the 3D visualization requires specific browser capabilities or JavaScript support.
- Performance characteristics when rendering large or complex quantum states.
- Whether additional system dependencies are needed for HTML generation or browser display.
What it is and what it does
cirq-web is a visualization module for the Cirq quantum computing framework that adds browser-based 3D rendering capabilities. It builds on top of cirq-core and enables developers to create interactive visualizations of quantum states, with the Bloch sphere as a primary example. The module generates portable HTML files that can be viewed in any modern browser, and integrates with Jupyter notebooks and Google Colab for interactive exploration.
The package is designed for quantum researchers, educators, and developers who need to visualize quantum states and circuits during development or presentation. It abstracts away the complexity of 3D graphics and web rendering, allowing users to generate visualizations with simple Python calls. The module is actively maintained as part of the broader Cirq ecosystem and supports current Python versions.
Use it for
- Visualize quantum state vectors as interactive 3D Bloch spheres in Jupyter notebooks for educational purposes.
- Generate portable HTML visualizations of quantum states for inclusion in research papers or documentation.
- Debug quantum circuits by interactively exploring state evolution during algorithm development.
- Create interactive demonstrations of quantum computing concepts in Google Colab for teaching.
- Export quantum simulation results as shareable 3D visualizations without requiring specialized software.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
cirq-web is worth installing if you work with Cirq and need to visualize quantum states or circuits. It has low install friction, active maintenance, no known vulnerabilities, and a permissive license. The single dependency on cirq-core is expected for a Cirq module. It fills a specific, well-defined need for quantum visualization in notebooks and browsers.
Install
cirq-web on PyPI
Before you install
Low friction installation as a pure Python wheel with a single runtime dependency on cirq-core. Actively maintained with recent releases and no known vulnerabilities.
Requires Python 3.11 or later; cirq-core must be installed as a runtime dependency.
License in practice
Apache-2.0 permissive license allows free use, modification, and distribution in both open-source and commercial projects with minimal restrictions.
Quickstart
pip install cirq-web
import cirq
from cirq_web import BlochSphere
zero_state = [1+0j, 0+0j]
state_vector = cirq.to_valid_state_vector(zero_state)
sphere = BlochSphere(state_vector=state_vector)
sphere.generate_html_file()
Verify before relying
- Whether the 3D visualization requires specific browser capabilities or JavaScript support.
- Performance characteristics when rendering large or complex quantum states.
- Whether additional system dependencies are needed for HTML generation or browser display.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.11.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagecirq-core |
| Maintenance | Actively maintained 46 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 131,429 / month, #11,589 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: Quantum ComputingTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: cirq_web-1.7.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “quantum circuit visualization”
- cirq-webProvides browser-based 3D visualization tools for quantum circuits…
- hugrhugr provides a pure-Python implementation of the Hierarchical…
- qiskit-experimentsQiskit Experiments provides tools for building, running, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also cirq-core · cirq-google · cirq · cirq-ionq · cirq-aqt · cirq-pasqal · qiskit · qiskit-ionq · pennylane · mqt.qcec