An all-optical data compression system comprising: an input encoding
unit having at least one input for receiving a data channel; an output
decoding unit having at least one output for providing a data channel; a
radiation guide for carrying encoded optical data signals from the
encoding unit to the decoding unit, and the encoded optical data signals
are in a form of a train of optical pulses equally separated by a time
interval and having relative phase shifts between adjacent pulses.