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

    Interface BlochSphereData

    Represents the coordinates and angles of a single qubit on the Bloch sphere.

    interface BlochSphereData {
        x: number;
        y: number;
        z: number;
        theta: number;
        phi: number;
        description: string;
    }
    Index

    Properties

    Properties

    x: number

    The x-coordinate on the Bloch sphere.

    y: number

    The y-coordinate on the Bloch sphere.

    z: number

    The z-coordinate on the Bloch sphere.

    theta: number

    The polar angle (theta) in radians.

    phi: number

    The azimuthal angle (phi) in radians.

    description: string

    A textual description of the state's position (e.g., "North Pole").