description:
normalize sp
normalize[t] sp
normalize the coefficients of the given superposition so they sum to t
if t is not specified, t defaults to 1
examples:
normalize split |a b c d e>
0.2|a> + 0.2|b> + 0.2|c> + 0.2|d> + 0.2|e>
normalize (2|a> + |b>)
0.667|a> + 0.333|b>
normalize[100] (2|a> + |b>)
66.667|a> + 33.333|b>
see also:
rescale, snormalize, soft-max