Scheduling Modes

Scheduling decides how separate Qubi lines map onto circuit columns when gates could run in parallel.

Set it with #settings Scheduling "mode" in the program, or with Code gate scheduling at the top of the Settings button, which writes the same line. Default is always.

ModeBehavior
neverOne gate per column. H (0,1,2) → three columns.
same_lineParallel only within a single source line.
same_gate_continuousPack consecutive same-type gates if wires don't conflict.
same_gatePack all same-type gates regardless of order. Alias: sameType.
alwaysMaximum parallelism - pack whenever qubits don't conflict. (Default)
compressedPer-wire earliest free column, respecting source line order.

Example

// Scheduling "never" → three columns
H 0
H 1
H 2

// Scheduling "always" → one column (wires differ)
H 0
H 1
H 2

compressed is useful when you care about per-wire column alignment while still squeezing independent gates earlier on idle wires.