Integrating QPUs into Supercomputing Centers Using Slurm HRES Plugins
Supercomputing centers can now schedule quantum processors through Slurm natively, ending per-site custom integrations and idle-node waste.
Slurm, the job-scheduling software that runs most supercomputers, added Hierarchical Resources (HRES) plugins in version 26.11 that let it manage quantum processors (QPUs) as a normal cluster resource. Previously, a QPU had to be handled with custom code at each site, which wasted compute nodes while jobs waited for the quantum device. Now a short Lua plugin plus a configuration file handles health checks, reservations, and cleanup. Open source projects QRMI and QDMI have already released plugins connecting Slurm clusters to quantum hardware from multiple providers.
Until now, every supercomputing site or quantum vendor built its own custom integration to schedule QPUs, so users faced different interfaces per site and vendors rebuilt integrations per customer. Slurm 26.11's HRES plugins create one portable mechanism, and the open source QRMI and QDMI plugins already work with multiple providers. Centers adopting quantum hardware save integration and maintenance cost; sites can host several QPUs without the command-line conflicts the older license-plus-SPANK approach caused.
Slurm 26.11 HRES plugins model a QPU as a cluster-level resource defined in resources.yaml with a layer listing the nodes allowed to use it, requested via --resources=qpu:1. An hres/lua plugin implements callbacks: hres_maintenance polls device health every maintenance_cycle seconds, hres_controller_job_prerun admits jobs before node allocation (avoiding idle nodes), and async prerun/revoke/epilog callbacks manage reservations; ESLURM_HRES_REMOTE_FAIL distinguishes service outages from failures. A middleware layer between Slurm and the QPU hides device internals, and HRES avoids GRES's node-binding limitation and SPANK plugins' option collisions and upgrade fragility.