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

    Interface AmplitudeDisplay

    Represents detailed information about a single amplitude in a quantum state vector.

    interface AmplitudeDisplay {
        state: string;
        amplitude: Complex;
        probability: number;
        amplitudeString: string;
        phase: number;
    }
    Index

    Properties

    state: string

    The computational basis state as a binary string (e.g., "010").

    amplitude: Complex

    The quantum amplitude associated with the basis state.

    probability: number

    The probability of measuring this basis state (|amplitude|²).

    amplitudeString: string

    A formatted string representation of the quantum amplitude.

    phase: number

    The phase of the amplitude in radians.