Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Level 6 · Quantum causal models · Prerequisite lessons: L6-06 (Bell inequalities and causal inequalities), L6-07 (Process matrices and validity), L6-08 (The quantum switch).

What you’ll learn

  • How the quantum switch puts the order of two channels under the control of a qubit Chiribella et al., 2013.

  • What the switch does to two completely depolarizing channels, computed exactly. The control keeps coherence ⟨Xc⟩=1/d2\langle X_c\rangle=1/d^2, while either fixed order outputs pure noise.

  • How the effect changes as the channels become less noisy.

  • Where the switch sits in the process-matrix picture of indefinite causal order Oreshkov et al., 2012Araújo et al., 2015, and what the computation does not show.

Open in Colab

1 · Definite order versus a quantum-controlled order

Let A\mathcal A and B\mathcal B have Kraus operators {Ai}\{A_i\} and {Bj}\{B_j\}. Running them in a definite order gives B∘A\mathcal B\circ\mathcal A or A∘B\mathcal A\circ\mathcal B. The quantum switch uses a control qubit cc and Kraus operators Chiribella et al., 2013

Wij=∣0⟩⟨0∣c⊗BjAi+∣1⟩⟨1∣c⊗AiBj,W_{ij}=|0\rangle\langle0|_c\otimes B_jA_i+|1\rangle\langle1|_c\otimes A_iB_j ,

so control ∣0⟩|0\rangle means “A\mathcal A first” and control ∣1⟩|1\rangle means “B\mathcal B first”. Control ∣+⟩|+\rangle puts the two orders in superposition.

Take both channels completely depolarizing: A(ρ)=B(ρ)=I/2\mathcal A(\rho)=\mathcal B(\rho)=I/2 for every input ρ\rho.

switch output for input |0>  (control x target):
 [[ 0.25   0.     0.125  0.   ]
 [ 0.     0.25   0.    -0.   ]
 [ 0.125  0.     0.25   0.   ]
 [ 0.    -0.     0.     0.25 ]]
<X_c> = 0.24999999999999994   (1/d^2 = 0.25)

Explain. The joint output has an off-diagonal control block equal to ρ/8\rho/8, so it does depend on the input. Two features are exact for every input:

  • the control keeps coherence, ⟨Xc⟩=1/d2=1/4\langle X_c\rangle = 1/d^2 = 1/4;

  • the target alone is still I/2I/2, exactly as in a definite order.

The information about ρ\rho sits in the correlation between control and target. The next cell reads it out by measuring the control in the {∣+⟩,∣−⟩}\{|+\rangle,|-\rangle\} basis.

P(+) = 5/8 = 0.625,  target given + : (2I + rho)/5
trace distance between outputs for inputs |0>, |1>:  switch (given +) = 0.200,  definite order = 0.000

Explain. Suppose the control outcome is ++ (probability 5/85/8). Then the target is (2I+ρ)/5(2I+\rho)/5, a noisy but input-dependent state. The outputs for ∣0⟩|0\rangle and ∣1⟩|1\rangle are at trace distance 1/51/5 instead of 0. If the control is classical (a random but definite order), the effect disappears. That contrast is what the computation shows.

2 · The post-selected map, on the Bloch ball

Given the control outcome ++, the switch acts on the target like the map ρ↦(2I+ρ)/5\rho\mapsto(2I+\rho)/5. This map shrinks the Bloch ball by the factor 1/51/5. For partly depolarizing channels with strengths pA=pB=pp_A=p_B=p, we compute the image numerically. In the figure, the slider sets pp. The coloured surface is the image of the Bloch sphere under the post-selected switch. The black dot is the image under a definite order (for p=1p=1 a single point).

largest Bloch radius after the post-selected switch: {0.0: 1.0, 0.1: 0.8143, 0.2: 0.6548, 0.3: 0.5188, 0.4: 0.4043, 0.5: 0.3103, 0.6: 0.237, 0.7: 0.1853, 0.8: 0.1579, 0.9: 0.1598, 1.0: 0.2}
largest Bloch radius after a definite order:         {0.0: 1.0, 0.1: 0.81, 0.2: 0.64, 0.3: 0.49, 0.4: 0.36, 0.5: 0.25, 0.6: 0.16, 0.7: 0.09, 0.8: 0.04, 0.9: 0.01, 1.0: 0.0}
Loading...

Explain. On this grid the post-selected radius is never smaller than the definite-order radius (1−p)2(1-p)^2. It is also not monotonic in pp. It is smaller at p=0.8p=0.8 than at p=1p=1, where the 1/51/5 comes entirely from the interference of the two orders. Keep in mind that post-selection succeeds only with some probability. This picture therefore overstates what a single run delivers. The next section compares joint outputs without post-selection.

3 · Sweeping both strengths

Now give the two channels different strengths pAp_A and pBp_B. The buttons switch between three quantities, each computed exactly on the (pA,pB)(p_A,p_B) grid:

  1. control coherence ⟨Xc⟩\langle X_c\rangle (input ∣0⟩|0\rangle);

  2. distinguishability DswitchD_{\rm switch}: trace distance between the joint control-target outputs for inputs ∣0⟩|0\rangle and ∣1⟩|1\rangle;

  3. the same for a definite order, DdefiniteD_{\rm definite} (target only), which is (1−pA)(1−pB)(1-p_A)(1-p_B).

<X_c>: 1.000 at (0,0) -> 0.250 at (1,1)
D_switch at (1,1) = 0.250  vs  D_definite = 0.000
max of D_switch - D_definite on the grid: 0.250
Loading...

Explain. At pA=pB=1p_A=p_B=1 the definite order is useless (D=0D=0), while the joint switch output keeps D=1/4D=1/4. When either channel is noiseless, the two agree exactly. On this grid Dswitch≥DdefiniteD_{\rm switch}\ge D_{\rm definite} everywhere. But the switch also uses an extra resource that a definite-order circuit lacks: the coherent control qubit. Any fair comparison must account for it.

4 · Where this sits: process matrices and indefinite causal order

The process-matrix framework describes multipartite correlations. It assumes quantum theory holds locally but does not assume a global causal order. Within it, some correlations violate a causal inequality that every causally ordered process satisfies Oreshkov et al., 2012. Higher-order maps that take channels as inputs, such as quantum combs, give the general language for transformations of quantum networks Chiribella et al., 2009.

The quantum switch is a transformation of two black boxes. No circuit with a predefined order can realize it by inserting the boxes. Simulating it in a fixed order needs postselection or an extra query to a box Chiribella et al., 2013. A causal witness shows that the switch is causally nonseparable. Yet the switch does not violate any causal inequality Araújo et al., 2015.

A static view of the joint output: the real parts of the 4×44\times4 density matrices for input ∣0⟩|0\rangle. They are shown for the switch with control ∣+⟩|+\rangle and for a classically controlled (random) order.

<Figure size 900x400 with 2 Axes>

Going deeper: the switch is a supermap, not a Kraus trick

Kraus operators are not unique. {Ai}\{A_i\} and {Ak′=∑iukiAi}\{A'_k=\sum_i u_{ki}A_i\} with uu unitary describe the same channel. A legitimate higher-order transformation must not depend on that choice. Insert Ak′A'_k and Bl′B'_l into WklW_{kl} and sum. The cross terms cancel because uu is unitary, so the switch output depends only on the channels. The next cell checks this numerically with random unitary mixings, including mixings of the amplitude-damping channel.

switch output is independent of the Kraus decomposition (20 random checks)

Exercises

Solution

P(+)=12(1+⟨Xc⟩)=12(1+14)=5/8P(+)=\tfrac12\big(1+\langle X_c\rangle\big)=\tfrac12\big(1+\tfrac14\big)=5/8.

Solution

Only the first term of WijW_{ij} acts, so the output is ∣0⟩⟨0∣c⊗(B∘A)(ρ)=∣0⟩⟨0∣⊗I/2|0\rangle\langle0|_c\otimes(\mathcal B\circ\mathcal A)(\rho)=|0\rangle\langle0|\otimes I/2. No information about ρ\rho remains. This is just a definite order.

Solution

(2I+ρ)/5=15ρ+45⋅I2(2I+\rho)/5=\tfrac15\rho+\tfrac45\cdot\tfrac I2, which is depolarizing with p=4/5p=4/5. The Bloch vector shrinks by 1−p=1/51-p=1/5.

Check yourself

All checks passed.

Limits of this model

The control is ideal. The control qubit is noiseless and perfectly coherent. Real implementations have imperfect interferometers.

Implementation questions remain open here. Photonic experiments realize the switch with spatial or polarization modes. Does a given experiment realize “indefinite causal order”, or a time-delocalized definite-order process? That is a matter of interpretation, and this code does not address it.

The comparison class matters. We compared against definite orders that lack a coherent control. Can definite-order schemes that also use coherent control reproduce such effects? That question is part of the debate mentioned above. We did not simulate such schemes, and the right baseline depends on the question.

The channels are toys. We considered only depolarizing channels on one qubit (and, in one check, amplitude-damping and dephasing channels).

References
  1. Chiribella, G., D’Ariano, G. M., Perinotti, P., & Valiron, B. (2013). Quantum computations without definite causal structure. Physical Review A, 88(2). 10.1103/PhysRevA.88.022318
  2. Oreshkov, O., Costa, F., & Brukner, C. (2012). Quantum correlations with no causal order. Nature Communications, 3(1). 10.1038/ncomms2076
  3. Araújo, M., Branciard, C., Costa, F., Feix, A., Giarmatzi, C., & Brukner, Č. (2015). Witnessing causal nonseparability. New Journal of Physics, 17(10), 102001. 10.1088/1367-2630/17/10/102001
  4. Chiribella, G., D’Ariano, G. M., & Perinotti, P. (2009). Theoretical framework for quantum networks. Physical Review A, 80(2). 10.1103/PhysRevA.80.022339