> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.conductorquantum.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.conductorquantum.com/_mcp/server.

# Use a simulated OPX

> Connect an existing QUA program to your lab's simulated Quantum Machines OPX.

Use a lab configured for simulation with a **Quantum Machines OPX** row. These instructions are for the simulated instrument, not a physical OPX.

1. [Connect your computer](/control/connect-your-computer) and leave the user profile running. In the connections list, find the entry whose `driver` is `qm`. Note its `proxy_host` and `proxy_port`.
2. In the lab's **Instruments** table, select **Download QM configuration** beside the OPX name. The tooltip identifies the seed configuration or the calibrated configuration saved by a job.
3. In the environment for your QUA program, use `qm-qua` 1.4.1 and NumPy. Give `QuantumMachinesManager` the listed host and proxy port, not the OPX's own port. Load the downloaded JSON and pass it to `open_qm`.
4. Run your program against that quantum machine. Open the resulting **QUA Program** job in Control to inspect its saved files.

For example, in an existing Python program where `port` is the listed proxy port and `config` is the downloaded configuration dictionary:

```python
from qm import QuantumMachinesManager

manager = QuantumMachinesManager(host="127.0.0.1", port=port, timeout=120)
machine = manager.open_qm(config)
```

![Quantum Machines OPX row with an available local endpoint. The download icon beside the instrument name shows a tooltip identifying the seed configuration.](https://files.buildwithfern.com/conductor-quantum.docs.buildwithfern.com/c4864ec8fc3a0cbe1a9f28268dc8906e997e3b92559a34066ea56947ef355171/assets/control-desktop-lab-qm-config.png)

The longer connection timeout allows Control to start the simulated OPX after an idle period. Close the quantum machine with `machine.close()` when your program finishes. If the OPX or its download is missing, ask your lab manager to check the lab configuration.