### operator types: numeric

numeric:
description:
numeric operator
operators that multiply the coefficients of kets by some number (either an integer or a float)
it preserves the structure of the input sequence
also shows that application of operators to a sequence is really just a special type of multiplication
examples:
the |sp> => rank split |abcde>
the |sp>
|a> + 2|b> + 3|c> + 4|d> + 5|e>
100 the |sp>
100|a> + 200|b> + 300|c> + 400|d> + 500|e>
-- a quick calculation of factorial:
1 2 3 4 5 6 |x>
720|x>
-- a quick calculation of the square of 17:
17^2 |x>
289|x>
see also:

Home