the present invention optically switches a signal carrying light beam , such as a laser beam , between inputs and outputs , such as input and output optical fibers , by changing the direction of an optical beam . this is done by independently changing a phase of individual sections of the wave front of the light beam using an ipslm formed with a plurality of phase shifting elements . in the present invention the pslms of u . s . patent application ser . no . 09 / 689 , 694 are replaced by ipslms , which shift the phase of the light beam reflected from each pixel by an interferometer , preferably a gires - tournois interferometer , whose cross section , for example , is shown in fig6 . the advantage of using an array of small phase shifting elements each comprising a gires - tournois interferometer is that the elements can change the optical wave path length to a desired distance for the desired deflection angle much more rapidly than other types of devices including pslms . the gires - tournois ipslm , like other pslms , has phase shifting elements such that no element of the ipslm needs to advance the phase of the wave front by more than one wavelength of the light beam . in the gires - tournois ipslm , the phase shift of the light beam is significantly larger than in a pslm using a mirror for the same change in optical wave path length of a phase shifting element . other configurations for the optical switch are also possible such as a 3 - d switch as shown and described in u . s . patent application ser . no . 09 / 689 , 694 , where input and output fibers are arrayed in one or more two dimensional planes . light from each of the input fibers is collimated into a beam that is incident on an input beam reflector which deflects the beam to the output beam reflector , which in turn deflects that beam into an output fiber associated with that output beam reflector . one or more relay mirrors or lenses may be in the optical path between the input beam reflectors and the output reflectors . the beam reflectors of u . s . patent application ser . no . 09 / 689 , 694 are composed of one or more pslms in which optical switching is performed by changing the relative phase of the individual portions of the cross section of a wave front of a light beam incident on the pslms . the relative phase changes , which are produced by the movement of a two dimensional array of individual small phase shifting elements ( pixels ), preferably mirrors , can cause the phase of the reflected light beam to increase essentially linearly across the beam , thus resulting in a light beam deflection . in addition , it is possible to produce arbitrary desired wave fronts from a light beam by changing the phase of the relative phase shifting elements of an array of the pslms or ipslms . [ 0033 ] fig1 depicts an embodiment of an optical switch , which can include a single pslm reflector or an ipslm reflector . this embodiment is particularly suitable for routing a single light beam from an input port 1 to one or more multiple output ports 2 , 3 and 4 . this optical switch has a single pslm or ipslm 5 , and must be on the axes of the input port 1 and all of the output ports 2 , 3 and 4 . such a switch can be used to switch a light beam between any set of two ports in either direction ( bi - directional ). if the ports 1 , 2 , 3 and 4 are equally spaced apart , then a connection is simultaneously made between any two ports that satisfy the relation port n to port ( n + m ). the reflector 5 is an array of phase shifting elements , which can include a micro lens array , having one lens per phase shifting element or be without the lenses . the array of ports 1 , 2 , 3 , and 4 can be duplicated in the dimension perpendicular to the drawing allowing a greater number of ports . alternatively the view shown can be duplicated in n parallel planes allowing for many input ports . in addition , ipslms are interchangeable with pslms , and can be used in all embodiments or pslm configurations of an optical switch shown and described in u . s . patent application ser . no . 09 / 689 , 694 . [ 0034 ] fig2 shows a plan view of an ipslm 10 comprising a plurality of reflectors 11 each of which is comprised of a 2 - dimensional array of pixel phase shifting elements 12 using a gires tournois interferometer . in fig2 the pixel reflectors 11 can be used either as input deflector arrays or output deflector arrays and they may be contiguous close packed circular pixels 12 . however , other arrangements are possible including rectangular and hexagonal . separation strips 13 may be desired between individual reflectors 11 . the pixels 12 within each reflector 11 should be contiguous and occupy as much of the surface as possible to obtain the highest optical throughput efficiency . the phase shifting elements 12 have electrical isolation between adjacent first conducting electrodes 14 to allow for individual voltage control to control the phase of individual portions of the wave front segments of the light beam . the second conducting electrodes from each of the phase shifting elements may be commonly connected . [ 0035 ] fig3 b shows the calculated phase shift 22 of the reflected light of an ipslm of the first and second embodiments shown in fig6 and 7 , respectively . the phase shift 22 is in radians of optical phase as a function of the optical wave path length between the two reflective surfaces , which is measured in units of radians of optical wavelength . fig3 a shows the calculated reflectivity 20 of the interferometer as a function of the optical path length between the two reflective surfaces in units of radians of optical wavelength . both of these calculations assumed the input reflector to have a reflectivity of 0 . 9 and the second reflector to have a reflectivity of 0 . 998 . these calculations were based on principles well known to persons practiced in the art ( see principles of optics , bom & amp ; wolf , pergamon press , new york ). further , a second phase shift 23 is shown in fig3 b for a pslm phase shifting element . the phase shift 22 for the same optical wave path length for an ipslm is significantly larger than the phase shift 23 for a pslm , thereby requiring less movement of each phase shifting element for the ipslm and increasing the switching speed of a light beam switching between an input port and an output port . the non - linear phase shifting 22 characteristic of a phase shifting element of an ipslm , which is shown in fig3 b , is produced by wave front interference between the portion of the pixel of light reflected and / or refracted at the first reflective surface and the remaining portion , which is reflected at the second reflective surface . the operation of an ipslm is depicted by the partial cross sectional view of fig4 showing a portion of a reflective ipslm . the ipslm changes the phase of the individual portions of the wave front 30 - 51 of a beam 75 by changing the optical wave path length of small interferometers ( opposite the beam of light 75 and behind reflective surfaces 52 - 73 ) in the path of the beam 75 . the change in the optical wave path length of phase shifting interferometers can be accomplished either by changing the separation of the reflective surfaces 52 - 73 of each of the phase shifting elements or by changing the refractivity of a medium between the reflective surfaces ( reflectors ) of each of the phase shifting elements . the light beam 75 is “ divided ” into or by a series of pixels 30 - 51 that correspond to these reflectors 52 - 73 . each pixel 30 - 51 or each pixel reflector 52 - 73 has width d , which is preferably equal to many wavelengths of the light being deflected . the separation of the reflective surfaces of each of the pixel reflectors 5273 , which varies in distance from a reference position 74 having a second reflective surface , represents one - half the optical wave path length between the reflective surfaces 52 - 73 and second reflective surface 74 . each pixel reflector 52 - 73 can be either moved in a direction that is generally perpendicular to the reflective surface , thereby increasing the optical wave path length between the reflective surfaces 52 - 73 and second reflective surface 74 of the phase shifting element or has its optical wave path length changed by changing the refractivity of a medium . when a successive pixel reflector increases the optical wave path length relative to a previous pixel reflector , such as depicted for the pixel reflectors 61 and 62 respectively , successive wave front elements ( portions of the incoming beam ) 30 - 51 will be relatively phase advanced by an amount according to the phase shifting characteristic shown in fig3 b . the relative wave front displacement for a change in the optical path length significantly increases near optical resonance because of the interferometric phase shifting elements . the phase change can be made to increase linearly across the beam , thus causing a deflection as shown in fig4 . the effect of the wave front displacements , which is caused by changes to the optical wave path length of the reflectors 52 - 73 , is the creation of a virtual mirror 77 depicted by the dashed line in fig4 . the scale of fig4 is distorted such that the distances perpendicular to the pixel reflecting surfaces is greatly enlarged for clarity . when successive pixel reflectors , which are successively phase advanced , for example pixels 52 - 62 , ( see fig4 ) cumulatively exceeds λ / 2 , where λ is the wavelength of the light , the change in the phase advance for the nth element , such as pixel 63 , is reduced by λ / 2 , that is to nδ modulo ( λ / 2 ). where λ is the advance between adjacent segments of the virtual mirror and nδ modulo ( λ / 2 ) is the remainder when nδ is divided by λ / 2 . thus the change in optical wave path length need not be greater than λ . in fig4 the incoming beam arrives via direction 75 and results in an outgoing beam being reflected in an exit direction 76 and again creating a virtual mirror 77 depicted by the dashed line in fig4 . that is , with this approach , the length that a pixel reflector 52 - 73 needs to be changed by is at most a λ / 2 distance , which is a fraction of the length or virtual displacement vd that an edge of a rotating mirror is moved to produce the same angle of reflection . vd indicates the displacement of the virtual mirror 77 . as a result , the angle of the beam can be changed much faster using an ipslm compared to using a rotating mirror . the mass of the reflectors 52 - 73 may be much smaller than that of a stiff relatively massive rotating mirror and for this additional reason , the switching of the beam 76 is faster using an ipslm . further , the reflector elements of an ipslm have a larger phase shift for the same change in optical wave path length over a half wavelength as compared to a pslm , and therefore can deflect a beam of light more rapidly than a pslm . in fig5 the virtual mirrors 90 - 92 have essentially the same resolving power as a real plane mirror of the same diameter . a separate resolvable direction requires a motion of one side of that mirror with respect to the other side of λ / 2 . thus for a reflector that is n pixels wide , δ should be chosen to be approximately multiples of λ /( 2 * n ) depending on the application . fig5 is a plan view of the operation of an ipslm with an array of interferometric phase shifting elements , and shows three modes 87 - 89 of the array of the phase shifting elements to produce separate resolvable directions 81 - 83 , respectively , for the reflected light beam 80 where δ is chosen to be approximately 1 , 2 , and 3 times λ /( 2 * n ). therefore , the smallest resolvable deflection angle 93 occurs when the change in optical wave path length is approximately λ across the array of phase shifting elements . the next smallest resolvable deflection angle 96 occurs when the change in optical wave path length is approximately λ across a submultiple of the array of phase shifting elements . successively larger resolvable deflection angles , for example deflection angle 95 , occur when the change in optical wave path length is approximately λ across an even integer number of submultiples of the array of phase shifting elements . [ 0040 ] fig6 shows a cross section of an individual pixel gires - tournois interferometer phase shifting element 100 . reflective surfaces 101 and 102 , which may be multilayer dielectric mirrors or metallic layers are movably mounted with respect to one another . the second reflective surface 101 is mounted on a substrate 103 used as the body of the phase shifting element 100 . the first reflective surface 102 is on a transparent substrate of mass m , which can be made of silicon , and is supported displaced from surface 101 by compliant supporting members or springs ( not shown ), of combined spring constant , k = m * ω 2 , where ω is the resonant frequency for oscillation of perpendicular motion of the substrate 103 . thus it is evident to someone skilled in the art that the mode of vibration of the structure that changes the separation of the reflective surfaces is ω . that vibration is approximately critically damped , for example , by controlling the density of air or other gas in the space around reflective surface 102 . electrically conducting layers 101 a and 102 a are placed between reflective surfaces 101 and 102 and their respective substrates 103 and 104 . if the reflective surfaces are metallic they may also serve and replace the conducting layers . a controlled electrical potential is provided between the two conducting layers through electrical conductors 101 b and 102 b to control the separation distance by electrostatic forces between them . the first reflective surface 102 and substrate 104 must be partly transmissive and with a high , for instance a 90 % reflectivity . in addition , it is advantageous for the second reflective surface 101 to be a mirror having a very high reflectivity , for instance 99 . 8 %. a second embodiment of a gires - tournois interferometer phase shifting element 110 of the present invention is shown in fig7 having a space between two reflective surfaces 111 and 112 , preferably multi - layer dielectric mirrors , filled with a medium such as a ferroelectric material which might include lead lanthinium zirconium tantilate ( plzt ). reflective surfaces 111 and 112 are substantially stationary with respect to one another . the second reflective surface 112 is mounted on a substrate 113 used as the body of the phase shifting element 110 and is under the medium 115 . while the first reflective surface 111 is provided on top of the medium 115 . the medium 115 , which changes refractivity with applied electric potential , is sandwiched between the first and second reflective surfaces 111 and 112 , respectively . electrically conducting layer 111 a is placed between reflective surface 111 and its respective substrate 113 . an electrically conducting layer 112 a is provided over reflective surface 112 . a controlled electrical potential is provided between the two conducting layers 111 a and 112 a through electrical conductors 111 b and 112 b to control the refractivity separation distance ( one - half the optical wave path length ) by electrostatic forces between them . the first reflective surface 111 must be partly transmissive and with a high , for instance a 90 % reflectivity . in addition , it is advantageous for the second reflective surface 112 to be a mirror having a very high reflectivity , for instance 99 . 8 %. the medium between the two reflective surfaces of each phase shifting element forms a resonance cavity 111 , 112 and 115 , and by changing the voltage applied across the medium 115 using the electrically conducting layers 11 a and 112 a , the optical wave path length can controllably change the phase of the reflected beam 118 . the interferometer can be fabricated according to principles taught by wang , “ thin ferroelectric interferometer for spatial light modulations ”, applied optics , vol . 37 , p . 7490 , 10 november 1998 . in particular , a device with a cross sectional area 30 by 30 micrometers , plzt thickness of 2 . 5 micrometers and a 1 milliampere current for each of the phase shifting elements can be switched through the required path length change of one half wavelength in 10 nanoseconds . [ 0043 ] fig8 depicts an ipslm 120 formed as an array of phase shifting elements 121 - 127 of the second embodiment without actively moving parts and has the advantage that the ipslm 120 switching time to switch a light beam 128 from one input fiber to another output fiber can be reduced significantly ( to 10 nanoseconds or less ) because of the large electro - optic coefficient and the construction . it is advantageous that each of the phase shifting element areas be less than or equal to 40 micrometers square and that the current supplied to the respective conductive layer , for example conductive layer 138 and 139 , which are electrically isolated from each other be less then 10 milliamperes . the ipslm 120 of the second embodiment works by changing the direction of a light beam 128 by changing a phase through wave front interference of the optical wave front of individual pixels of the light beam 128 , as in fig4 . the ipslm is divided into pixels with each pixel phase modulating a small portion of the cross section of the light beam 128 incident on the ipslm . each pixel of the incident light beam 128 has a partially reflecting first mirror 129 , which may be a mirror common to all pixels in a reflector or may be broken into separate mirrors for each pixel . the phase of each segment of the wave front corresponding to each pixel is substantially determined by the optical wave optical path distances between the mirrors 129 and 130 , which is varied by the applied electrical potential , since the media 131 - 137 chosen has a large electro - optic coefficient . by applying a potential across respective electrically isolated transparent conductive layers 138 : 139 , 140 : 141 , 142 : 143 , 144 : 145 , 146 : 147 , 148 : 149 , and 150 : 151 , the optical wave path distance can be varied producing wave front phase changes in each pixel of the light beam 152 . the transparent conductive layer is electrically connected to respective electrically isolated transparent conductive electrodes 138 a - 151 a to supply electric potential across the media 131 - 137 . [ 0045 ] fig9 shows the embodiment of an optical switch combined with a spectrograph to separate different wavelength channels in a wdm system . an input beam 160 from the input port 161 , having two or more separate wavelengths lambda 1 , lambda 2 , etc is collimated by lens 162 into a beam that is incident on the input surface of a prism or other spectral dispersing element 163 where it is refracted and then is incident on a pslm or ipslm 164 . because of the chromatic dispersing of the prism or other spectral dispersing element 163 , the two wavelengths , which are refracted at different angles within the prism or other spectral dispersing element 163 , are incident on the pslm or the ipslm 164 at different directions . the pslm or ipslm 164 can controllably steer the two wavelengths together as an array of beams of separated wavelengths to different desired directions ( in two dimensions ) thereby exiting the prism or other spectral dispersing element 163 at different angles . the two wavelengths shown , which are reflected off of the pslm or ipslm 164 and exit the prism or other spectral dispersion element 163 at different angles , are focused by lens 162 onto either additional pslms or ipslms or output ports 165 and 166 at different positions . those skilled in the art will recognize this device as a litrow type spectrograph with the addition of the pslms or ipslms . other means of spectral separation of wavelengths may also be used , for example , a diffraction grating or the like . the spectrograph separates out the input wavelengths , and the input wavelengths are directed onto positions 165 and 166 , which as previously mentioned may be output ports or may be pslms or ipslms . the positions 165 and 166 are determined by the resolving power of the instrument . the pslm or the ipslm 164 allows the switching of the different wavelengths lambda 1 , lambda 2 , etc . to different positions 165 , 166 , 167 , etc . the positions form an array which may be a two dimensional array of positions . thus , an array of signals of different wavelengths may be positioned at different outputs . the addition of the pslm or ipslms at positions 165 and 166 makes it possible to controllably steer the separated wavelengths of light of individual wavelengths to any one of a plurality of output ports 167 and 168 . one skilled in the art will recognize that collimating lenses may be required at the input and output ports and pslms 165 , 166 , etc . [ 0046 ] fig9 is only diagrammatic and is intended to show the use of a pslm or ipslm to separate and switch signals of different wavelengths from a wdm signal . concomitant use of pslms and ipslms for alternative combinations will be evident to persons skilled in the art , and can include the use of one or more pslms or ipslms in configurations shown in patent application ser . no . 09 / 689 , 699 to steer a light beam from an input port to one or more output ports .