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

    Type Alias Amplitude

    Amplitude: Complex

    Represents a quantum amplitude, a complex number describing the probability weight of a basis state. The squared magnitude of an amplitude, |α|², gives the probability of measuring that basis state. For a valid quantum state, the sum of squared magnitudes of all amplitudes must equal 1.