description:
union(seq, seq)
union(seq, seq, seq)
the union function
takes element-wise max of the coefficients
examples:
union(|a>, |b>, |c>)
|a> + |b> + |c>
union(3|a> + 1.2|b>, 3.5|a> + 0.9|b> + 5.13|c>)
3.5|a> + 1.2|b> + 5.13|c>
union(|a1> + |a2> . 0.3|b1> + 0.5|b2>, 3|a1> + 0.9|a2> . 0.7|b2>)
3|a1> + |a2> . 0.3|b1> + 0.7|b2>
see also:
intersection, complement, subset, mbr