Two teams of physicists have designed the first programmable quantum sensor, and tested it in the laboratory. To do so they applied techniques from quantum information processing to a measurement problem. The innovative method promises quantum sensors whose precision reaches close to the limit set by the laws of nature.