q5m.js - Quantum Computing Library - v0.1.1
    Preparing search index...

    Interface SVGCircuitData

    Defines the data structure for rendering a complete circuit in SVG.

    interface SVGCircuitData {
        width: number;
        height: number;
        gates: SVGGate[];
        wires: SVGWire[];
        qubits: SVGQubit[];
    }
    Index

    Properties

    width: number

    The total width of the SVG canvas.

    height: number

    The total height of the SVG canvas.

    gates: SVGGate[]

    An array of gate objects to be rendered.

    wires: SVGWire[]

    An array of wire objects (qubit lines, control lines).

    qubits: SVGQubit[]

    An array of qubit label information.