“…Optical gratings are central components of diffractive optical elements (DOEs) that are used in various optical devices to manipulate optical beams in order to create a desired far-field intensity profile of the beam. They can affect the amplitude as well as the phase of an optical field [ 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ]. One of their advantageous properties is tunability, which can be obtained by the application of external stimuli, such as electric [ 4 , 10 , 11 , 12 , 13 ], magnetic [ 14 , 15 , 16 , 17 ], and mechanical or optical fields [ 18 , 19 , 20 ].…”