CTAN Comprehensive TeX Archive Network

Directory graphics/pgf/contrib/quantumcubemodel

README.md

Quantum Cube Model – Package

Visualize quantum states and gate operations using the quantum cube model in .

Overview

The quantumcubemodel package provides simple commands for creating intuitive cube-based diagrams to represent quantum states of 1, 2, or 3 qubits. Inspired by Prof. B. Just’s framework, it’s especially useful for teaching, presentations, and educational material in quantum computing.

Breaking Changes in v0.2.0

v0.2.0 introduces breaking changes compared to v0.1.0.

These changes result from a major redesign of the API to allow for more flexibility and future enhancements.

While this means some existing code may need to be updated, the new API makes it easier to extend and customize functionality going forward.

Features

  • Cube diagrams for 1, 2, or 3-qubit quantum states
  • Representation of complex amplitudes and phases
  • Visual transitions for quantum gates:
    • Hadamard
    • Pauli-X / Y / Z
    • CNot
    • Toffoli (CCNot)
  • exposing tikz canvas for extended usecases

License

MIT License © 2025 Cedric Schacht

Author

Cedric Schacht

cedric.schacht@dhbw-stuttgart.de

https://github.com/CedricSchacht/quantumcubemodel

Download the contents of this package in one zip archive (607.9k).

quantumcubemodel – Representation of quantum states in the quantum cube model

This package provides simple  commands to draw intuitive cube-based diagrams for quantum states of one, two, or three qubits. Inspired by Prof. B. Just’s educational framework, it supports amplitude-phase notation, gate transition visualizations (Hadamard, Pauli, CNOT, Toffoli). The package is ideal for teaching and documenting small quantum circuits.

Packagequantumcubemodel
Bug trackerhttps://github.com/CedricSchacht/quantumcubemodel/issues
Repositoryhttps://github.com/cedricschacht/quantumcubemodel
Developershttps://github.com/cedricschacht/quantumcubemodel
Version0.2.0 2025-12-09
LicensesMIT License
Copyright2025 Cedric Schacht
MaintainerCedric Schacht
Contained inTeX Live as quantumcubemodel
MiKTeX as quantumcubemodel
TopicsGraphics
PGF TikZ
Computer science
...
Guest Book Sitemap Contact Contact Author