Efficient and robust entanglement generation with deep reinforcement learning for quantum metrology. (1st August 2022)