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.
The central construction is a block-diagonal unitary: each orthogonal control sector selects one target unitary. This makes its action and inverse simple to calculate, but physically implementing the control may require more than access to the target gate alone.
Helpful background. Multi-qubit gates supplies tensor order and CNOT examples; single-qubit gates explains why two matrices differing by a global phase describe the same isolated gate channel.
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 entangled. If a measurement record instead selects a later operation, the overall process is an instrument or channel with different coherence properties.
A controlled gate must specify the control basis, tensor order and exact target matrix. In particular, a phase that was irrelevant for the isolated target can become measurable relative to the inactive branch.
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 a statement that the action outside the promised subspace is unspecified.
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 develops the 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 Toffoli gate is the special case with . More complicated predicates can be computed into an ancilla, used as a control, and then uncomputed.
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 SELECT call is not automatically one elementary gate or one oracle query. Its implementation may need branch logic, data access, ancillas and routing. Gate decomposition constructs multiplexor networks; algorithmic primitives uses SELECT within larger algorithms.
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 giving different phase-sensitive predictions.
Measurement in circuits explains these measured branches, and mid-circuit measurement and feedforward follows the causal use of their records. Their full mathematical description uses quantum instruments.
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
Thus exact operator equality, equality up to a global phase, and equality of isolated channels are different requirements once a control is added. For an example where many such relative phases combine, see the quantum Fourier transform.
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 remains unchanged. Phase kickback develops this mechanism for Boolean and modular oracles, and phase estimation combines several controlled powers to estimate an eigenphase.
For a nonnegative 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 choices describe different supplied operations and different costs.
When can a target gate be controlled?
Section titled “When can a target gate be controlled?”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; these additional controls generally require additional gates.
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 automatically supply . This is an access-model obstruction, not a claim that the block-diagonal matrix fails to exist.
Araújo and coauthors formulate this impossibility for unknown operations in the standard circuit model. Practical schemes can work with a richer device. For example, Zhou and coauthors use an extended Hilbert space containing a known identity sector large enough to hold the target state. Coherent transfers can place the inactive branch in that sector, apply the device, and undo the transfers. The relative action of the active and reference sectors is now part of the supplied physical operation. A path bypass with a controlled relative phase can play the same role. These constructions do not contradict the channel-only limitation.
The quantum-oracle page distinguishes base, inverse, controlled and powered access. An experimental or numerical test should also include a superposition: a computational-basis truth table can miss branch phases entirely.
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.
Worked example: a phase-sensitive controlled rotation
Section titled “Worked example: a phase-sensitive controlled rotation”Take control first and target second, and suppose the available target gate is exactly
Its controlled matrix is . On , the target is an eigenstate, so
The control’s two equatorial components are therefore
Discarding the target-global factor before adding the control would instead predict and . The two circuits have the same basis-label action, but different interference. This is why the exact target phase matters in a controlled construction.
Worked example: four coherent branches
Section titled “Worked example: four coherent branches”Order two selector qubits before target . Choose
and prepare . The SELECT output is
The selector labels are orthogonal, so tracing them out removes cross terms between different labels:
Its Bloch vector is , of length . Hence
The mixed target is entangled with the selector because the full state is pure. Each branch is a Hermitian involution, so and : applying the same SELECT again restores the original product state. In contrast, classically choosing and recording one branch can produce the same reduced without retaining these coherent selector–target correlations. The reduced target alone does not distinguish those preparations.
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: Changing a SELECT branch
Section titled “Exercise 5: Changing a SELECT branch”Replace the branch in the four-branch example 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. This block description does not yet specify an elementary-gate decomposition.
Exercise 6: Controlled powers and their costs
Section titled “Exercise 6: Controlled powers and their costs”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 extra resource is an extended target space with an identity sector of sufficient dimension, plus coherent transfers into and out of that sector. The inactive branch can then bypass the unknown action without revealing which branch occurred. This supplies a known relative reference action absent from the channel-only oracle; it does not establish that an arbitrary unmodified black box can be controlled.
Exercise 8: An energy offset in controlled evolution
Section titled “Exercise 8: An energy offset in controlled evolution”Let , with . An ideal device applies only on control value one. Find the output on and the control’s expectations. What changes if the active-branch Hamiltonian becomes ?
Solution
Since has energy , the output is
Thus and . Adding to the active branch only multiplies its amplitude by , changing the interference phase to . The controlled joint Hamiltonian has changed by , not by a global multiple of the full identity. A common energy shift of the entire joint Hamiltonian would remain unobservable. This distinction reconciles the controlled phase with the freedom to choose a common energy zero.
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, C. H. Bennett, R. Cleve, D. P. DiVincenzo, N. Margolus, P. Shor, T. Sleator, J. A. Smolin, and H. Weinfurter, “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.
- M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th Anniversary Edition, Cambridge University Press (2010), doi:10.1017/CBO9780511976667.
- X.-Q. Zhou, T. C. Ralph, P. Kalasuwan, M. Zhang, A. Peruzzo, B. P. Lanyon, and J. L. O’Brien, “Adding control to arbitrary unknown quantum operations,” Nature Communications 2, 413 (2011), doi:10.1038/ncomms1392.