The fabrication of nanolenses involves techniques such as electron beam lithography, focused ion beam milling, and nanoimprint lithography. These methods allow for the precise patterning of materials to create structures with the desired optical properties. The choice of fabrication technique depends on the required resolution, material properties, and application.