sigmoid: clean

    description:
        clean ket
        clean the coefficients of the given superposition
        if x < 0, return 0
        else return 1

    examples:
        clean (3|a> + 2.2|b> - 3 |c> + |d>)
            |a> + |b> + 0|c> + |d>
    
    see also:
        set-to

Home