Skip to content

Hardware

What changes when a circuit can react to a measurement

Dynamic circuits use measurement outcomes during execution. Understand the feedback path before comparing them with circuits that only measure at the end.

Hardware2026-05-302 min readReviewed 2026-10-28

Three precision connector modules seated in a shared ceramic docking rail.
Start locally. Connect deliberately.
QFlow Studio run state screen with execution details
Inside QFlowThe QFlow Results panel. Read the execution label and settings beside the output. QFlow Studio product capture

In an ordinary introductory circuit, you measure at the end. A dynamic circuit can use an earlier measurement to decide what happens next.

Key takeaways

  1. Trace classical feedback explicitly.
  2. Check backend capabilities.
  3. Do not remove a condition to make a conversion succeed.

Chapter 01

Follow the classical bit

The measurement outcome becomes information used by later control flow. Draw that dependency as carefully as the qubit wires. The interesting question is not simply whether a mid-circuit measurement exists, but which later operation depends on it.

Chapter 02

Separate language support from device support

A programming language may express control-flow constructs that a particular backend cannot execute. IBM documents both the constructs and hardware limitations. Check the current target’s capabilities instead of assuming that a successfully created circuit will be accepted everywhere.

The idea at a glance

Follow the measurement into the next decision

  1. Prepare

    Apply the initial quantum operations.

  2. Measure

    Store the selected outcome in a classical bit.

  3. Decide

    Use that bit in supported classical control flow.

  4. Continue

    Apply the corresponding later operation on a compatible target.

A reading diagram. Available actions still depend on the item, account and supported representation.

Chapter 03

Compare the whole experiment

A shorter quantum depth can come with extra measurements, resets or classical latency. Record the overhead and the outcome quality under matched conditions. An improvement in one part of the circuit need not imply an improvement in total execution time.

Chapter 04

Keep conversions honest

If a QFlow target or parser cannot preserve the conditional behavior, keep the source program and the compatibility explanation. Dropping the condition would change the algorithm. A small supported example is a better learning exercise than a static drawing that hides the feedback.

Sources

  1. IBM QuantumClassical feedforward and control flowReference; checked 2026-10-28
  2. QFlow StudioQFlow user guide: the current workspaceReference; checked 2026-10-28

Next step

Try one small experiment.

Choose a supported example, make a prediction and see what changes when you edit the circuit.

Explore the Hub