built in operators: sidx


sidx:
    description:
        sidx input-seq
        map superpositions in a sequence to their index number
        NB: counting starts from 1 not 0
        The original use case for this operator failed, so may delete this operator in the future

    examples:
        sidx (|a> . |b> . |c> . |d> . |e>)
            |1> . |2> . |3> . |4> . |5>

    see also:

Home