Physicists developed a new method to prepare quantum operations on a given quantum computer using a machine learning generative model to find the appropriate sequence of quantum gates to execute a quantum operation. The study, recently published in Nature Machine Intelligence, marks a significant step forward in unleashing the full extent of quantum computing.