← Latest papers
⚛️ quantum physics

Hybrid Quantum and Classical Workload Management with Graph-based Scheduling

This paper introduces Fluence, a Kubernetes scheduler plugin that leverages graph-based gang scheduling to solve the unique two-queue orchestration challenges of hybrid quantum-classical workloads, significantly reducing worker idle time, eliminating wasted node resources, and cutting costs by enabling intelligent, queue-aware device selection.

Original authors: Vanessa Sochat, Daniel Milroy

Published 2026-07-13
📖 5 min read🧠 Deep dive

Original authors: Vanessa Sochat, Daniel Milroy

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are running a massive, high-tech kitchen where chefs (classical computers) are preparing complex dishes. Usually, they just need ingredients from the pantry. But now, you've added a magical, remote oven (a quantum computer) that lives in a different city. This oven is amazing, but it has a catch: you can't just walk in and use it. You have to send a request to a separate, mysterious line of people waiting to use it.

This creates a "two-queue problem." You have your kitchen's line, and the remote oven's line. The problem? Your chefs don't know how long the oven's line is. They might start chopping vegetables and prepping pans (using up your kitchen's space and time) while waiting for the oven to be free. If the oven is busy for an hour, your chefs are just standing there, chopping air, wasting energy and space.

The authors of this paper, Vanessa Sochat and Daniel Milroy, built a new kitchen manager called Fluence. Think of Fluence as a super-smart head chef who refuses to let the prep crew start working until the remote oven is actually ready.

The Magic Trick: "All or Nothing"

In the old way of doing things (using a default scheduler), if you asked for a team of chefs to work together, the kitchen might let half the team start cooking while the other half waits for the oven. This is like sending a pizza delivery driver to the door before the pizza is even baked. It wastes time and space.

Fluence uses a strategy called "gang scheduling." It treats the whole team as a single unit. It says, "No one starts chopping, no one starts prepping, until the remote oven is 100% ready and the whole team can work at the exact same moment."

In their tests, when they tried to run groups of 4 chefs, the old manager let the team start partially, causing them to wait around for about 133 node-seconds (a measure of wasted time) while the oven line moved. Fluence kept that wasted time almost at zero. It's like the difference between a traffic jam where cars inch forward and a traffic light that stays red until the whole intersection is clear, then lets everyone zoom through at once.

The "Two-Queue" Synchronization

The biggest headache is that the remote oven's line is unpredictable. Sometimes it's empty; sometimes it's hours long.

  • The Old Way: The chefs start working immediately. If the oven queue is long, they sit idle for hours.
  • The Fluence Way: One chef (the "producer") goes to the remote oven line and checks the status. The rest of the chefs (the "consumers") are told to "wait in the wings" (a state called being gated). They don't use any kitchen space or electricity until the producer says, "The oven is free!"

In their experiments, this simple trick saved a massive amount of time. When the oven queue was short, Fluence reduced the chefs' idle time by about 5 times. But when they tested it on a real quantum device where the queue stretched out for hours, Fluence saved time by orders of magnitude. In one specific test with a group of 8 chefs, the old method made them wait 223 seconds on one simulator, while Fluence got them working in just 32 seconds. In another case with a 2.66-hour queue, the old method wasted 19,160 node-seconds of time, while Fluence's workers didn't start until the very last second, avoiding that waste entirely.

Picking the Best Oven

Fluence also helps you pick which remote oven to use. There are different ovens (simulators and real quantum devices) with different prices and wait times.

  • Random Choice: If you just pick an oven at random, you might pick a super expensive one or one with a long line.
  • Fluence's Choice: Fluence can look at the menu and say, "Let's pick the cheapest one" or "Let's pick the one with the shortest line."

In their tests, when Fluence was told to pick the cheapest option, it cut the average cost per run by roughly 70 times compared to picking randomly. It also helped finish the work faster by choosing the ovens with the shortest lines.

What Fluence is NOT

The authors are very clear about what Fluence doesn't do.

  • It doesn't magically make the remote oven faster. It just manages the waiting time better.
  • It doesn't require you to store secret passwords in the kitchen manager's main office (which is a security risk). Instead, it lets the user handle the credentials locally.
  • It doesn't work for every single type of quantum job. For example, if you want to send 8 different chefs to 8 different ovens at the same time, Fluence doesn't need to coordinate that because they aren't waiting on each other. Fluence is specifically for when a team of chefs needs to work together on a single task that depends on one remote oven.

The Bottom Line

The paper shows that by adding this "wait until ready" logic to the kitchen manager, you can stop wasting expensive kitchen space while waiting for a remote oven. They proved this using simulations and real tests with AWS Braket and other quantum providers.

They found that without this smart coordination, you end up with a lot of wasted time and money. With Fluence, the chefs stay fresh, the kitchen stays efficient, and the team only starts cooking when the whole meal can be served at once. It's a way to make the future of quantum computing work smoothly with the computers we already have, without needing to change the recipes the chefs are using.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →