A new technique to measure the phase characteristics of laser mirrors based on semiconductor heterostructures