• CTAN update: quantumcubemodel

    From CTAN Announcements via ctan-ann@erik@ctan.org to ctan-ann on Fri Jan 9 19:40:59 2026
    From Newsgroup: comp.text.tex

    Cedric Schacht submitted an update to the

    quantumcubemodel

    package.

    Version number: 0.2.0 2025-12-09
    License type: mit

    Summary description: Representation of quantum states in the quantum cube model

    Announcement text: ----------------------------------------------------------------------


    Dear users,

    Version 0.2.0 of the `quantumcubemodel` LaTeX package brings significant improvements and introduces breaking changes compared to v0.1.0. Please read below to understand the impact and new features.

    # Why the Change?
    This update is the result of a major redesign of the package API, aiming to offer far greater flexibility for users and enable more refined and customizable
    quantum cube diagrams. The new design exposes the underlying TikZ canvas, allowing for advanced diagramming and more versatile usage quantumcubemodel-doc.pdf.

    # Key Breaking Changes
    * API Overhaul:
    * All user commands now use the qcmx prefix.
    * Previous commands (e.g., \qcmQ, \qcmQQ, \qcmQQQ) have been replaced by a new environment (qcmx) and rendering commands such as \qcmxRenderQ, \qcmxRenderQQ, \qcmxRenderQQQ.
    * Amplitude and Phase Configuration:
    * New commands for setting amplitudes and phases (e.g., \qcmxO, \qcmxI, etc.).
    * Optional phase parameter (degrees, 0rCo360) for amplitude commands.
    * Qubit Axis Control:
    * You can now set the orientation/axis for qubit systems, with options for 1, 2, and 3 qubits (e.g., \qcmxOrientationQ{y}, \qcmxOrientationQQ{xy}).
    * Multiple Diagrams in One Canvas:
    * Support for offsets (X, Y, Z) to position multiple diagrams within one TikZ figure.
    * Transformation & Measurement Commands:
    * Specialized render commands for Pauli-X, Y, Z, Hadamard, CNot, CCNot, and measurement operations, with flexible orientation and multi-qubit support.

    # Migration Guide
    * Update all usage to the new qcmx environment and commands.
    * Refer to the new documentation for updated examples and migration instructions.
    * Legacy commands from v0.1.0 are not compatible; you must adapt your documents to the new API .

    # New Features
    * Main color setting for diagrams.
    * Easier amplitude and phase handling.
    * More refined control over diagram composition and transformation.
    * Expanded documentation with practical examples.

    For further details, consult the documentation and example files included with the package. If you have questions, please reach out.

    Best regards,
    Cedric Schacht


    ----------------------------------------------------------------------

    This package is located at
    https://mirrors.ctan.org/graphics/pgf/contrib/quantumcubemodel

    More information is at
    https://www.ctan.org/pkg/quantumcubemodel

    ------------------------------------------------------------------------

    Thanks for the upload.

    For the CTAN Team
    Erik Braun

    ------------------------------------------------------------------------

    CTAN is run entirely by volunteers and supported by TeX user groups.
    Please join a user group or donate to one, see https://ctan.org/lugs
    --- Synchronet 3.21a-Linux NewsLink 1.2