THz measurements of the optical response in a two‐dimensional electron gas