Controlled Operations
A controlled operation is one joint transformation on a control register and a target register. It is not shorthand for measuring the control and then deciding which gate to run. When the control is coherent, the branch labels remain quantum amplitudes, branch phases can interfere, and the operation can entangle the control with the target.
This page develops the semantic and verification contract for such operations. It treats projector-controlled blocks, open and multiple controls, SELECT operators, branch phases, eigenstate action, and the resources required to add a control. Named CNOT, CZ, and Toffoli matrices remain with the gate-family page; constructive multiplexor networks remain with compilation; reusable phase-transduction conversions remain with their dedicated concept owner; and phase-estimation or algorithm-specific oracle consequences remain with their algorithmic owners.
Required background. Multi-Qubit Gates supplies tensor order, control–target conventions, common controlled gates, and their entangling behavior. For review, Circuit Model distinguishes coherent and classical wires, while Single-Qubit Gates fixes target matrices and exact, global-phase, and channel-level equality.
Controlled Operations as Coherent Conditionals
Section titled “Controlled Operations as Coherent Conditionals”Let be a control system and a target system. A coherent conditional applies different target operations in orthogonal control sectors while preserving superpositions among those sectors. In the simplest qubit case,
With control first and target second, this is the block matrix
If the input control is , then
No measurement has occurred. If is not proportional to and both amplitudes are nonzero, the result is generally entangled. If a measurement record instead selects a later operation, the overall process is an instrument or channel with different coherence properties.
Before using a controlled-gate symbol, declare:
- the control and target registers and their tensor order;
- the basis in which the control condition is defined;
- the exact target operator, including its phase representative;
- whether access is a known circuit, a controlled primitive, a black box, or a physical subspace construction;
- whether cost means gates, queries, depth, ancillas, or physical evolution time.
The Gates, Circuits, and Computation Models guide places this contract among the surrounding gate, measurement, and computation-model pages.
The Ten-Field Controlled-Operation Record
Section titled “The Ten-Field Controlled-Operation Record”Every implementation or theorem claim should fill this record. Write N/A with a reason when a field genuinely does not apply; a blank field leaves the access or phase convention underdetermined.
- Controlled task and licensed claim — State the conditional transformation and the strongest conclusion sought.
- Registers, dimensions, order, and basis — Name every register, fix tensor order and bit significance, and declare the control basis.
- Control condition, projectors, and promises — Give the active values or predicate, a complete projector resolution, and any input promise.
- Target operation and access model — Specify every branch operator and whether it is known, synthesized, queried, native, or supplied through extra physical structure.
- Input state or subspace and preparation — State the tested or licensed domain, including reference entanglement and ancilla preparation.
- Branch map, phase, inverse, and power conventions — Fix branch phases, operator order, inverse action, and the meaning and cost of powers.
- Ancillas, synthesis assumptions, and resource currencies — Separate width, gates, depth, queries, time, and fault-tolerant or hardware resources.
- Observable, metric, and verification evidence — Name truth-table, interference, matrix, state, channel, or residual checks and their tolerances.
- Alternatives, failure modes, and uncertainty — Record classical-feedforward alternatives, phase ambiguity, leakage, approximation, and unresolved access assumptions.
- Conclusion, stopping point, and canonical handoff — License only what the evidence establishes and route synthesis, algorithms, or hardware onward.
A basis truth table is never enough when relative phase matters. At minimum, a coherent-control audit combines branchwise basis tests with one phase-sensitive superposition test and an explicit inverse or unitarity check.
Projector and Block-Diagonal Semantics
Section titled “Projector and Block-Diagonal Semantics”Let be a complete orthogonal resolution of the control space:
Let every be unitary on the same target space. The general block-controlled operator is
Orthogonality removes cross terms:
Its inverse is branchwise,
If the projectors overlap, fail to span the declared control space, or select blocks of different target dimension, this formula does not yet define the advertised complete unitary. A promised action on only part of the space needs either a full extension or an explicit out-of-promise contract.
Register order is part of the definition. In control–target order, . In target–control order the matrix is related by the SWAP permutation, not by silently reinterpreting indices. Operators on Composite Systems owns the general tensor-product and projector algebra.
Open, Negative, and Multiple Controls
Section titled “Open, Negative, and Multiple Controls”An open control activates on computational-basis value zero:
where . The word “negative” refers to this declared basis convention; it is not a basis-independent physical property.
For a Boolean predicate on a multi-bit control string,
and
A conventional Toffoli is the special case with , but Multi-Qubit Gates remains the canonical home for its matrix, entangling behavior, and native-versus-compiled interpretation. Reversible Computation owns Boolean embeddings, constants, garbage, and uncomputation.
Mixed-polarity controls are obtained by conjugating the appropriate control wires with . Their resource cost depends on the declared alphabet: a diagram may count one mixed-polarity primitive, while a decomposition into positive controls counts the surrounding flips. State which model is being used.
Multiplexed and SELECT Operations
Section titled “Multiplexed and SELECT Operations”A selector register can choose among many coherent branches. For selector qubits and target unitaries ,
This is a unitary exactly when the control projectors form a complete orthogonal resolution and every branch is unitary on the common target space. Its inverse is
Branch phases are operational. Replacing by multiplies the SELECT operator by a diagonal phase operation on the selector register. Equal isolated channels therefore do not imply equal multiplexed gates.
One abstract SELECT call is not automatically one elementary gate or one oracle query. It may conceal branch logic, data access, ancillas, routing, and approximation. Gate Decomposition owns Gray-code and multiplexor networks, topology-aware synthesis, and compiled cost; Algorithmic Primitives owns SELECT and controlled access as algorithmic interfaces.
Coherent Control versus Classical Feedforward
Section titled “Coherent Control versus Classical Feedforward”A controlled unitary preserves amplitudes between control sectors. For a control state and target state ,
The two branches can therefore interfere later. A circuit control dot denotes this coherent block action; it does not secretly measure the control.
Measurement followed by classical feedforward is a different process. If the computational-basis outcome is forgotten, its channel is
This sum deletes the off-diagonal control blocks and . Retaining the measurement record gives a classical–quantum record rather than restoring the lost branch coherence. Coherent control and feedforward may agree on computational-basis truth tables while differing on every phase-sensitive test.
The Circuit Model owns wires, measurement, reset, classical records, and dynamic feedforward. Quantum Instruments owns measured outcomes together with their state updates. This page owns the audit that distinguishes those processes from a block-unitary conditional.
Measurement in Circuits owns the measured-record side of this boundary: basis and outcome encoding, selected or unread outputs, terminal or destructive use, shot statistics, and postprocessing. This page retains the coherence and block-unitary audit.
Mid-Circuit Measurement and Feedforward owns the causal measured-branch program—record availability, conditional operations, reset, repeated branching, and branch resources—while this page retains the coherent block-unitary comparator.
Global Phases Become Relative
Section titled “Global Phases Become Relative”Two target operators and induce the same isolated unitary channel. Adding a control promotes their phase difference to a control-relative operation:
Only a common phase multiplying the entire joint operator is globally irrelevant. For example,
so the two controlled gates can give orthogonal control states even though and define the same isolated channel. Likewise, independent SELECT branch phases implement the selector-register phase
An access contract must therefore distinguish exact operator equality, equality up to one global phase, and equality of isolated channels. Single-Qubit Gates owns the target-gate phase conventions, while Rays and Global Phase owns the state-ray equivalence. Here the issue is specifically the relative phase between controlled branches.
Quantum Fourier Transform uses this phase-sensitive contract to assemble known controlled rotations into a binary phase pattern; it owns the transform factorization, circuit order, swap convention, and approximate-QFT cutoff rather than the general semantics of coherent control.
Eigenstate Kickback and Target Entanglement
Section titled “Eigenstate Kickback and Target Entanglement”For input , define
After the controlled operation, the reduced control state is
More generally, for control amplitudes , the determinant is
When both control amplitudes are nonzero, the output factors exactly when is proportional to . Otherwise the distinct target branches entangle control and target. Failure to entangle one chosen input does not prove that the gate is local or non-entangling on all inputs.
If , then
The eigenphase appears on the control while the target factors. This page retains that generic two-branch identity and the factorization criterion. Phase Kickback owns the reusable common-eigenstate and character-state phase-transduction contract, Boolean and modular conversions, and phase-sensitive verification. Algorithmic Primitives and Quantum Phase Estimation retain algorithm composition, powered access, precision, success probability, and costs.
For integer ,
but this algebraic identity says nothing about whether costs one powered query, controlled-base queries explicitly supplied by the access model, depth , or physical evolution time . Those are different access models and resource currencies.
Controlled Access, Verification, and Canonical Handoffs
Section titled “Controlled Access, Verification, and Canonical Handoffs”If a phase-fixed known circuit is declared as , controlling every factor gives
A decomposition valid only up to a target-global phase needs the corresponding control phase restored. Gate-by-gate control also carries the decomposition’s ancilla, depth, connectivity, and approximation assumptions; it is not a free resource statement.
Completely unknown black-box access is more restrictive. A channel oracle cannot distinguish from , yet their controlled operations differ. Standard circuit access to an arbitrary unknown unitary therefore does not canonically supply . This is an access-model obstruction, not a claim that the block-diagonal matrix fails to exist.
Quantum Oracles records whether access is supplied as a channel, a fixed unitary representative, a controlled unitary, or an interface with an adequate phase reference. This page owns why controlization is not automatic; the Oracle page owns the taxonomy and capability declaration used by later algorithms.
Practical schemes can evade those assumptions by supplying extra structure: for example, a known invariant subspace on which the operation acts trivially, a path degree of freedom, or an interferometric phase reference. Such a physical interface fixes information absent from a channel-only black box. It must be named as an additional resource, not advertised as universal standard-circuit controlization.
A semantic verification should include all of the following:
- register order, basis, active values, and a complete projector resolution;
- branch unitarity and a full inverse, including phases and ancilla cleanup;
- basis-state tests plus at least one superposition or interference test;
- a declared operator, state, or channel metric and its comparison domain;
- separate gate, query, depth, ancilla, time, and hardware currencies;
- an explicit statement of promises and out-of-promise behavior.
With identical control projectors and a fixed relative-phase convention,
in operator norm. Independently rephasing a target block changes the controlled operation and invalidates that comparison.
Universal Gate Sets owns exact and approximate reachability. Gate Decomposition owns synthesis, multiplexor networks, topology, ancillas, and compiled error. Quantum Gates supplies compact lookup formulas. Hardware chapters own native interactions, pulses, leakage, crosstalk, calibration, and experimental fidelity.
Worked Audit: A Phase-Sensitive Controlled Rotation
Section titled “Worked Audit: A Phase-Sensitive Controlled Rotation”This synthetic audit checks an exact ideal semantic record. It makes no compilation or hardware claim.
-
Controlled task and licensed claim — Verify the exact action and branch phase of a controlled rotation, including a falsifiable control-interference prediction.
-
Registers, dimensions, order, and basis — Use qubit control first and qubit target second, in computational order .
-
Control condition, projectors, and promises — Activate on with . There is no input-subspace promise.
-
Target operation and access model — Use the known, phase-referenced ideal gate
-
Input state or subspace and preparation — Prepare exactly in the ideal model.
-
Branch map, phase, inverse, and power conventions — The inactive branch is , the active branch is the displayed phase representative, and
Powers are not requested.
-
Ancillas, synthesis assumptions, and resource currencies — Count one known ideal controlled gate and no ancilla. Decomposition, native availability, fault-tolerant cost, and physical time are
N/Abecause no implementation is claimed. -
Observable, metric, and verification evidence — The output is
so
Exact matrix unitarity, inverse, state-norm, and analytic-versus-direct-state residuals are zero.
-
Alternatives, failure modes, and uncertainty — Incorrectly discarding before adding the control predicts instead
The ideal arithmetic has no statistical uncertainty; phase-reference and implementation uncertainty are unresolved rather than silently set to zero.
-
Conclusion, stopping point, and canonical handoff — License the exact ideal controlled matrix and its phase-sensitive prediction. Stop before claiming a synthesis, native primitive, calibration, or hardware fidelity; route those questions to Gate Decomposition and the relevant hardware owner.
The basis-label map alone would miss the error in field 9. The control interference is what tests the phase promoted by coherent control.
Worked Audit: A Four-Branch SELECT Operation
Section titled “Worked Audit: A Four-Branch SELECT Operation”The second synthetic record tests a complete selector resolution and the reduced state produced by coherent branch selection.
-
Controlled task and licensed claim — Verify the exact four-branch SELECT semantics, inverse, and reduced-target prediction for one declared input.
-
Registers, dimensions, order, and basis — Order two selector qubits as followed by target . Use big-endian selector labels and the computational basis throughout.
-
Control condition, projectors, and promises — Use the complete projectors for all four selector strings. There is no promise outside this full selector space.
-
Target operation and access model — Declare exact known ideal branches
and one abstract semantic call
-
Input state or subspace and preparation — Prepare in the exact ideal model.
-
Branch map, phase, inverse, and power conventions — All branch phases are exactly those of the displayed standard matrices. The output is
The inverse is . Here every branch is a Hermitian involution, so and .
-
Ancillas, synthesis assumptions, and resource currencies — Report width three and one abstract SELECT call. Gate count, query count, depth, ancillas, routing, and native cost are
N/Auntil a synthesis or access model is declared. -
Observable, metric, and verification evidence — Tracing out the orthogonal selector gives
Therefore
Projector completeness and branch unitarity prove . Matrix, inverse, trace, positivity, eigenvalue-sum, and purity residuals are exactly zero.
-
Alternatives, failure modes, and uncertainty — A classically sampled branch would produce a different control record and no coherent SELECT unitary. Unknown branch phases, incomplete selectors, synthesized approximation, and implementation noise are outside this exact record.
-
Conclusion, stopping point, and canonical handoff — License the ideal four-branch operator, inverse, output state, and reduced-target prediction. Stop before assigning generic synthesis, oracle, routing, fault-tolerant, or hardware cost.
The reduced target is mixed because it is correlated with orthogonal selector labels. That observation does not itself identify a compilation or implementation.
Common Failure Modes
Section titled “Common Failure Modes”- Dropping a target-global phase before control. That phase becomes relative between the inactive and active branches. Fix one exact representative or include the compensating control phase.
- Treating a control dot as measurement. A coherent block unitary preserves control-sector off-diagonal terms; measurement and feedforward do not.
- Leaving register order implicit. Control–target and target–control matrices differ by a permutation. Declare tensor order, bit significance, and basis first.
- Using incomplete or overlapping control projectors. A partial truth table does not define a full unitary. Complete the projector resolution or state a promise and extension.
- Calling an open control basis independent. Open and closed values are labels in a declared basis; arbitrary-basis predicates require their own projectors.
- Verifying only basis labels. Truth-table tests cannot detect branch phases. Include a superposition or interferometric test.
- Assuming controlled access is free. A base-unitary query, a powered query, and a controlled query are distinct interfaces unless a reduction is supplied.
- Counting one SELECT call as one gate. Abstract block access hides decoding, routing, ancillas, topology, and approximation.
- Equating an algebraic power with a cost model. does not make a unit-cost primitive.
- Ignoring promised-subspace behavior. A correct action on promised inputs does not define the rest of the Hilbert space.
- Undoing labels but not phases or ancillas. The inverse must reverse the complete joint operation and return work registers as declared.
- Promoting ideal semantics to a native-control claim. Pulse design, leakage, crosstalk, calibration, and measured fidelity require separate hardware evidence.
The stopping rule is simple: if the control predicate, phase reference, access interface, comparison metric, or resource currency is unresolved, license only the formal block operator—not an implementation, algorithmic speedup, or experimental gate.
Exercises
Section titled “Exercises”Exercise 1: Projector Proof and Inverse
Section titled “Exercise 1: Projector Proof and Inverse”Let . Prove that is unitary and derive its inverse when the form a complete orthogonal resolution and every is unitary. Identify what fails if projectors overlap or one branch is nonunitary.
Solution
Using and ,
The same calculation gives , so
If projectors overlap, cross terms survive and the branches are not an orthogonal block decomposition. If a branch is nonunitary, its diagonal block contributes . If the projectors are orthogonal but incomplete, the sum acts as zero on the omitted control subspace rather than as a complete unitary.
Exercise 2: Control Coherence and Entanglement
Section titled “Exercise 2: Control Coherence and Entanglement”For input , derive the reduced control state after , its purity, and the exact factorization condition. Explain why a controlled gate need not entangle every input.
Solution
The joint output is
Writing and tracing out the target gives
The output is pure on the control, hence factorized, exactly when . Equality in Cauchy–Schwarz for normalized and then requires . Thus an eigenstate produces phase kickback without entanglement, while a generic target state can entangle. One non-entangling input does not classify the whole gate as local.
Exercise 3: A Mixed-Polarity 10 Control
Section titled “Exercise 3: A Mixed-Polarity 10 Control”Controls are ordered before target . Activate only for . Give the full truth table, a decomposition using positive-control , its abstract resources, and the output on .
Solution
With ,
It fixes and swaps
Using right-to-left action,
The two gates open and close the control. In the abstract alphabet this has width three, size three, depth three, and no ancilla. A native mixed-polarity primitive may be counted as size and depth one only if that alphabet is explicitly declared.
On the stated input,
Tracing out the controls leaves target probabilities and , so
and
Exercise 4: Distinguishing X from Minus X
Section titled “Exercise 4: Distinguishing X from Minus X”Explain why and define the same isolated unitary channel but different controlled channels. Give a control-superposition and target-eigenstate test that distinguishes them exactly.
Solution
The isolated channels agree because
After control is added,
Choose control and target , for which . Then
whereas
The outputs are orthogonal. An -basis measurement of the control distinguishes them with certainty, demonstrating that branch-relative phase is observable.
Exercise 5: A Transferred SELECT Calculation
Section titled “Exercise 5: A Transferred SELECT Calculation”Replace the branch in the four-branch audit by and prepare . Find the output, reduced target state, spectrum, purity, and inverse. Is the new SELECT operator an involution?
Solution
Define . Since , , and , the output is
Tracing out the selector gives
Its eigenvalues and purity are
Trace one and positive eigenvalues verify a valid reduced state. The exact inverse replaces every branch by its adjoint:
Because , the new is not an involution. No elementary-gate or oracle cost follows from this semantic block description.
Exercise 6: Controlled Powers and Resource Currencies
Section titled “Exercise 6: Controlled Powers and Resource Currencies”Suppose . For , find the kicked-back phase under controlled . Then compare a powered-query interface, repetition of a known base circuit, and controlled physical time evolution.
Solution
The powered eigenphase is
Thus places the relative phase on the active control branch. The algebra alone does not fix cost:
- a declared powered oracle may count one query to ;
- a model that explicitly supplies controlled- as its base oracle counts four sequential controlled- queries; plain unknown- access does not supply this interface;
- a known circuit may repeat its controlled decomposition four times, with four times its size and usually its depth unless parallel structure is proved;
- if , direct controlled evolution for uses physical evolution time unless another simulation interface is supplied.
Query count, gate count, depth, and evolution time must therefore be reported separately.
Exercise 7: Diagnosing Unknown-Black-Box Control
Section titled “Exercise 7: Diagnosing Unknown-Black-Box Control”Use and to explain why channel-only black-box access does not specify one controlled operation. Give one additional physical resource that can make a practical controlization scheme possible.
Solution
The two black-box channels are identical:
Their controlled operators differ by
which is observable on a control superposition. A channel-only interface therefore contains too little information to choose a unique branch phase, so it cannot universally define controlled in the standard circuit model.
One admissible extra resource is a known target subspace on which the device acts as the identity. A path degree of freedom can route one branch through that reference subspace and the other through the unknown action, thereby supplying structure absent from the abstract channel oracle. An interferometric phase reference or another enlarged physical interface can play a similar role. Such a construction is conditional on the added structure; it is not a universal black-box theorem.
Exercise 8: A Complete Controlled-Evolution Record
Section titled “Exercise 8: A Complete Controlled-Evolution Record”Complete the ten-field record for , , control–target order, input , and . Use a declared ideal controlled-evolution interface and explain the effect of .
Solution
-
Controlled task and licensed claim — Verify the exact ideal conditional evolution and its phase-sensitive control prediction; do not infer a physical implementation.
-
Registers, dimensions, order, and basis — Use qubit control first and qubit target second, both in the computational basis.
-
Control condition, projectors, and promises — Activate on with . The tested target is the eigenstate ; conclusions for arbitrary target inputs are not licensed by this one state.
-
Target operation and access model — Declare the ideal phase-referenced controlled-evolution interface for
-
Input state or subspace and preparation — Prepare exactly. State-preparation error is
N/Ain this ideal algebraic record. -
Branch map, phase, inverse, and power conventions — The inactive branch is and the active branch sends to . The inverse is controlled . No powered interface is assumed.
-
Ancillas, synthesis assumptions, and resource currencies — Count one declared controlled evolution, no ancilla, and physical evolution time . Gate and base-query counts are
N/Abecause no circuit or oracle decomposition is supplied. -
Observable, metric, and verification evidence — The exact output is
with
Operator unitarity, inverse, and state-norm residuals are exactly zero.
-
Alternatives, failure modes, and uncertainty — Replacing by changes isolated evolution only by the global phase , but changes the controlled active branch by that relative phase. The phase reference must therefore be part of the interface. Approximation, calibration, leakage, and timing uncertainty are unresolved rather than licensed as zero.
-
Conclusion, stopping point, and canonical handoff — License the exact joint-unitary semantics and interference prediction for the declared interface. Route simulation construction and compiled resources to their canonical owners, and stop before a hardware-control or algorithmic-cost claim.
References
Section titled “References”- M. Araújo, A. Feix, F. Costa, and Č. Brukner, “Quantum circuits cannot control unknown operations,” New Journal of Physics 16, 093026 (2014), doi:10.1088/1367-2630/16/9/093026.
- A. Barenco et al., “Elementary gates for quantum computation,” Physical Review A 52, 3457–3467 (1995), doi:10.1103/PhysRevA.52.3457.
- V. Bergholm, J. J. Vartiainen, M. Möttönen, and M. M. Salomaa, “Quantum circuits with uniformly controlled one-qubit gates,” Physical Review A 71, 052330 (2005), doi:10.1103/PhysRevA.71.052330.
- D. W. Berry, A. M. Childs, R. Cleve, R. Kothari, and R. D. Somma, “Simulating Hamiltonian dynamics with a truncated Taylor series,” Physical Review Letters 114, 090502 (2015), doi:10.1103/PhysRevLett.114.090502.
- R. Cleve, A. Ekert, C. Macchiavello, and M. Mosca, “Quantum algorithms revisited,” Proceedings of the Royal Society A 454, 339–354 (1998), doi:10.1098/rspa.1998.0164.
- A. Gilyén, Y. Su, G. H. Low, and N. Wiebe, “Quantum singular value transformation and beyond: exponential improvements for quantum matrix arithmetics,” in Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, 193–204 (2019), doi:10.1145/3313276.3316366.
- A. Y. Kitaev, “Quantum measurements and the Abelian stabilizer problem,” arXiv:quant-ph/9511026 (1995), arXiv:quant-ph/9511026.
- G. H. Low and I. L. Chuang, “Hamiltonian simulation by qubitization,” Quantum 3, 163 (2019), doi:10.22331/q-2019-07-12-163.
- M. Möttönen, J. J. Vartiainen, V. Bergholm, and M. M. Salomaa, “Quantum circuits for general multiqubit gates,” Physical Review Letters 93, 130502 (2004), doi:10.1103/PhysRevLett.93.130502.
- M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th Anniversary Edition, Cambridge University Press (2010), doi:10.1017/CBO9780511976667.
- V. V. Shende, S. S. Bullock, and I. L. Markov, “Synthesis of quantum-logic circuits,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 25(6), 1000–1010 (2006), doi:10.1109/TCAD.2005.855930.
- X.-Q. Zhou et al., “Adding control to arbitrary unknown quantum operations,” Nature Communications 2, 413 (2011), doi:10.1038/ncomms1392.
The unknown-operation no-go and the practical extra-subspace construction use different access assumptions. Read the Araújo and Zhou results together rather than presenting either as an unconditional statement about all physical implementations.