Optoelectronic logic operations by cleaved-coupled-cavity semiconductor lasers