An all-optical switching array for switching a direction of optical signals is
presented. The all-optical switching array includes a first substrate. Furthermore,
the all-optical switching array includes a plurality of optical switches disposed
on the first substrate, wherein each of the plurality of optical switches comprises
a first state and a second state and is configured to change the direction of an
optical signal, depending on whether the optical switch is in the first state or
the second state. The transition of the switch between the first state and the
second state is triggered by an ultra-fast laser beam.