Robust and efficient in situ quantum control