built in operators: shuffle


shuffle:
    description:
        shuffle seq
        randomly shuffle each superposition in the input sequence

    examples:
        shuffle (|one> + |two> + |three> + |four> + |five> . |x> + |y> + |z>)
            |one> + |four> + |two> + |three> + |five> . |z> + |x> + |y>

    see also:
        sshuffle
Home