infix operators, type 1: .
. :
description:
sp1 . sp2
the infix operator for defining sequences of superpositions
the infix dot represents the change from one superposition to the next
the result is called a sequence
examples:
-- a couple of abstract examples:
-- first a sequence of kets:
|one> . |two> . |three> . |four> . |five>
-- now a sequence of superpositions:
|a> + |b> + |c> . |u> + |v> . |x> + |y> + |z>
-- now using operators, to save a little typing:
ssplit[" "] |one two three four>
|one> . |two> . |three> . |four>
split |abc> . split |uv> . split |xyz>
|a> + |b> + |c> . |u> + |v> . |x> + |y> + |z>
see also:
ssplit, split, + , - , _ , __ , :_
Home