Optical Thyristor Based Stochastic Elementary Processor