Manuscript Offprint
arXiv:2609.11416The Quantum Plumber's Problem
Nicolas G. Underwood Holger F. Hofmann, and Jonte R. Hance
Quantum Group, School of Computing, Newcastle University,
1 Science Square, Newcastle upon Tyne, NE4 5TG, UK
Graduate School of Advanced Science and Engineering, Hiroshima University, Kagamiyama 1-3-1, Higashi Hiroshima 739-8530, Japan
Recent work quantified the notion of quantum counterfactual gain for an extended Elitzur-Vaidman bomb test style scenario, through a connection to the negativity of the Kirkwood-Dirac quasiprobability distribution. We here extend this work to identifying quantum advantage in a new scenario, which we term the “Quantum Plumber’s Problem”. In this scenario, we imagine a “quantum plumber”, who knows that one path of an interferometer is blocked, and wants to find the optimal strategy for identifying with certainty which path this is. We discuss various strategies for a generalised path-encoded interferometer, as well as for the specific case of Hofmann’s three-path interferometer, introduced in a recent analysis of the relationship between states in five measurement contexts of a three level system. We support our arguments on the relative merit of competing strategies with data collected over many simulated attempts at locating blockages. We also present results for a variant of the game in which the blockage is replaced by a non-demolition detector.
I. INTRODUCTION
Two of the authors recently quantified the notion of quantum counterfactual gain—the advantage quantum interaction-free measurement gives over classical un-interfering particle-type strategies—for identifying the presence or absence of an absorber in a given path of an interferometer [1]. Our definition for this gain was associated with the presence of extra terms appearing in the quantum version of the total variation distance between conditional detector activation probabilities in the presence and absence of a blockage. These in turn were associated with both a traditional sequential probability term (which we call the Elitzur-Vaidman term), [2] and a Kirkwood-Dirac quasiprobability term [3–6]. Counterfactual gain, we argued, could be maximised through obtaining the maximum negative value of the latter of these two terms - a scenario no-one had yet considered. While extending the traditional Elitzur-Vaidman scheme, the scenario we presented however could still be considered a binary discrimination task between the absence or presence of a blockage in a predefined location, which previous work claims to have fully solved [7].
Here we instead extend this work to identifying quantum advantage in a new -ary discrimination scenario, which we term the “Quantum Plumber’s Problem”. In this scenario, we imagine a “quantum plumber”, who knows that a single path of an interferometer is blocked, and wants to find which path this is. To do this, the plumber (who knows the architecture of the interferometer: i.e., the reflectivities of each beamsplitter and any phases applied by each path) is able to input single photons, in whatever superposition of the input ports they wish, and observe which output ports (if any) they emerge from. Beyond this, the plumber is not allowed to change the interferometer at all. For the interferometers in question, there is generally substantially more locations in which the blockage may be found than output ports, and so the plumber requires multiple photons, which are entered sequentially, so that they may learn from the outcome of each and adapt their next photon accordingly. As detector outcomes are inherently probabilistic, the plumber must focus more on overall strategy than individual good turns; a plumber following a deterministically defined strategy will rarely use the same set of photons in two consecutive games.
We again present two rulesets for this scenario: one where the photon is treated “classically”—i.e., as a non-interfering single-particle, like a pinball or pachinko ball, reflected or transmitted probabilistically at each beamsplitter based on the beamsplitter’s reflectivity; and one where the photon is a standard quantum-mechanical photon, able to interfere with itself at beamsplitters as normal. For the classical ruleset, we know from Ref. [1] that a blocked path can only reduce the probability of the photon arriving at each detector. However, in this game one path is always blocked, and the plumber must compare the effect of the blocker being at each possible location. This means we can’t simply associate increased detector activation probability with “quantumness” as we did in Ref. [1]. Instead we need a more nuanced strategy to identify the advantage quantumness brings us. To do this, we treat the scenario as a game, for which we present an analysis of multiple competing strategies, applicable (in varying degrees) to both the classical and the quantum ruleset. We supplement our analytic treatment of a generalized interferometer (Fig. 1) with data obtained over many simulated games for a specific “game-board”: Hofmann’s three-path interferometer (Fig. 2), introduced in a recent study of the measurement contextuality in five contexts of a three-level system [8]. While the conclusions of our numerical comparison do not necessarily carry over to other instantiations of the game, they allow players to
† jonte.hance@newcastle.ac.uk gain an intuition for how the game works and why certain strategies function more effectively, so may help guide future development of strategies.
The physical problem is roughly analogous to that of quantum channel discrimination (QCD) [9–15]. A generalised QCD problem may attempt to discriminate between two or more channels, by introducing a choice of state preparations, choices of POVM measurements, multiple evaluations/queries with or without adaptive strategies, and the possibility of an entangled ancillary system. Here the plumber is restricted to the same projective measurement on each turn (dictated by the interferometer geometry), and is not permitted an ancillary system. The only freedom they are permitted is in the state preparation that they may adapt on each turn. A key difference to QCD is that the blockage is trace reducing, and so not a channel. As we explain, it is always possible to associate a blockage to a state , and as long as these are all distinct, it is possible to distinguish between blockage locations to find the blockage with certainty in a finite number of turns.
Locating an absorber among several paths has been considered before, both by chaining two-path interaction-free measurements together [16, 17] and, in recent work by Chaturvedi et al [18] for a multiport setup. In this latter study, the authors designed an optimal interferometer setup to interrogate multiple orthogonal blockage locations. Our plumber does not have this luxury: our possible blockage locations are not necessarily orthogonal, meaning that if the photon is absorbed, it is not possible to tell with certainty which of the potential locations it was absorbed at.
This paper is laid out as follows. In Section II, we define the Quantum Plumber's Problem game, first giving an overview, then describing the interferometer setup and notation used, before explaining the core turn mechanics, and the instructions for the Gamemaster (GM), who adopts the role of the laws of physics. We then give the rules for calculating the (standard quantum) probabilities we would expect for photons, as well as an alternative ruleset for “classical” photons (acting like pin-balls, in a Pachinko machine or Galton board), to allow us to define an advantage given by quantum mechanics.
In Section III, we give an initial analysis of gameplay. We first introduce two metrics for game progress, which we then use to build competing strategies around. We discuss a strategy centering around selecting input photon states with the aim of ruling out blockage locations. We then construct an information theoretic strategy that aims to maximise information gain, as well as an important sampling pitfall that can prevent this strategy from completing games. After briefly discussing mixed states, we compare the performance of variations on the introduced strategies, both with the classical and quantum rulesets, applied to Hofmann's three-path interferometer.
Finally, in Section IV, we summarise both the game rules and the game strategy and analysis discussed so far, and discuss a variant of the game in which the blockage is a non-demolition detector, before explaining avenues for potential future works: extensions of the game, additional strategies, and ways in which the game or strategies for it link to myriad different areas within quantum information theory, game theory, expected utility theory, and machine learning.
A. Game overview
The premise of the game is for the player to take the role of a “Quantum Plumber”, tasked with fixing a broken interferometer. The interferometer in question contains a single blocked path, which the player must attempt to locate. The interferometer is however sealed in a black box, so the player must attempt to locate the blockage by sending photons into the interferometer’s input ports in order to learn from the response of the single photon detectors coupled to each of the interferometer’s output ports. To assist them, the player is presented with a schematic of the working interferometer (i.e., the interferometer architecture without any blockages) to enable them to calculate the probability of each detector activating given a blockage at each of the potential blockage locations . Each photon sent into the interferometer is considered to take a player turn, and the game concludes when the blocked path has been located with unit probability. The goal of the game is to find the blockage in as few turns as possible.
B. Interferometer setup and notation
For our interferometer, let us use a path-encoded d-state (qudit) optical system [19]. These have long been known to be capable of realising any operator in [20], and are currently employed as integral components in linear optical quantum computers [21–24]. We represent the interferometer as in Fig. 1, with a circuit diagram comprising d main paths, with adjacent paths sequentially connected at nodes containing a generalised beam splitter or Mach-Zehnder interferometer (MZI) capable of performing any element of ; an input port connected to the left-hand side of each path; and a photon detector connected to each of the d output ports at the right-hand side of each path. We refer to the (orthonormal) state vectors corresponding to the input ports as , and those corresponding to the output ports as .
We can of course build an optical interferometer using degrees of freedom other than path, e.g., by using polarisation or orbital angular momentum modes, alongside or instead of path; however, here we consider our only degree of freedom to be path, as is the case in most integrated photonics chips, which can only support a single polarisation mode.

FIG. 1: The path-encoded d-state qudit interferometer setup we consider, with A) The outline setup, with input ports labelled and output ports and corresponding photon detectors labelled . B) The vertical cross-sections between nodes corresponding to differing complete orthonormal bases that we refer to as “contexts”. C) Nodes containing a generalised MZI/beam splitter capable of performing any transformation in .
Together the photon detectors act to perform a traditional projective measurement, so that in the absence of a blockage the total probability of a detector firing is unity each time a photon is entered.
We assume there is a single blockage (no more, no fewer ), and that it is located on a path segment connecting two nodes. We refer to these possible positions for the blockage as , where is the set of such locations. In the quantum formalism, each blockage location is associated with a state vector, . Beam splitters perform unitary transformations, so the paths before the beam splitter belong to a different orthogonal basis than the ones after the beam splitter. Following the terminology of Ref. [25], we refer to each orthogonal basis as a “context”. Since blockages can belong to different contexts, their state vectors are not necessarily orthogonal, adding a level of complexity to the problem that highlights the quantum nature of our scenario.
Given the comparative complexity of the general case of the Quantum Plumber's Problem over e.g., the blocking-or-not-blocking game considered in Ref. [1], we have supported our analytic arguments with data obtained numerically for Hofmann's three-path qutrit interferometer [25] (depicted in Fig. 2) which was designed to investigate contextuality. Ignoring the trivial input/output paths, Hofmann's interferometer has seven potential blockage locations (i.e., ).
C. Core turn mechanics
The player may treat the position of the blockage as a random variable , which takes a value in the set of possible blockage locations . Similarly, the outcome of a turn (the detector response) is a random variable , which takes values in the set . We denote the event that no detector activates (i.e., for our perfect lossless interferometer that the photon is absorbed by the blockage) as , and the event that the detector on the path activates as . Unlike , the random variable depends on the input photon state, and so is influenced by the player's choice each turn. On each turn, the player is permitted to choose any pure photon input state where
or any input density matrix , where
(2)
(Note that in the Schrödinger picture, the blockage acts to reduce the normalisation of and trace of .) It is in the interest of the player to choose input states judiciously, so as to favourably influence random variable in order to complete the game quickly.
Before any single turn, the player's knowledge of the blockage location is described by a set of prior probabilities, . At the start of the game these are initialised to for all , to reflect total ignorance of the blockage location. On taking a turn, these priors must be updated to reflect the new information learned. This operation is performed using a complete set of conditional probabilities —that is, for all and all —which may be calculated using the ruleset (classical or quantum), the input state, and the interferometer schematic (see Algorithm 1). These allow Bayes' theorem to be employed in the form
Note we consider perfect lossless components; for realistic lossy components this would necessarily be less than one. We discuss extension to this realistic scenario in Section IV.
so that on measuring outcome , priors may be updated as .
See Section IV for discussion of potential extensions to the game, including games where there are multiple blockers in play.

FIG. 2: Hofmann's three-path interferometer [25]. Here the beamsplitters have reflectivities , , and , and apply a phase shift to reflections from/to the middle path. The labelled paths correspond to the states , , , , , , and .
As there are only measurement outcomes (four for Hofmann's interferometer), it may seem at first glance feasible to construct an instruction list of optimal moves (photon states) for a player to follow for a given interferometer. However, as the outcomes are inherently probabilistic, this list of moves would necessarily branch after each turn. For the first turns, such a list would require the calculation and storage of initial photons states. For Hofmann's interferometer, where and which typically takes approximately ten turns to complete using some of the better strategies we give below, a table of the first ten optimized moves would contain 349,525 entries, so this is not something we shall pursue in this work.
D. Instructions for the Gamemaster (GM)
In the physical scenario this game maps to, the player would have to compute the updated priors themselves based on detector clicks. However, to help define this scenario as a game, remove trivial losing strategies, and allow us to have a set winning condition, we introduce the Gamemaster (GM), playing the role of the laws of physics. The GM also calculates the updated priors and gives these to the player. The role of the Gamemaster is threefold:
-
They play the role of nature, using their knowledge of the blockage location and a random number generator to decide which detector clicks (or whether none do) according to probability density .
-
They assist the player by performing the above calculations to update their prior probabilities each turn.
-
They use their knowledge of the priors to inform the player when the game is finished.
The protocol the GM follows is summarised in Algorithm 1.
Algorithm 1 Protocol for Gamemaster (GM)
1: initialise secret blockage location, 2: set Turn 0 3: for all set Priors( ) 1/ 4: while max(Priors) < 1 do 5: set Turn Turn + 1 6: ask player to select InputState with which to take their turn 7: use InputState to calculate ProbDgB( , ) for all by employing Eq. (7) or Eq. (13) 8: set randomly according to ProbDgB( , ) 9: use InputState to calculate ProbDgB( , ) for all by employing Eq. (7) or Eq. (13) 10: for all set ProbBgD( , ) 11: for all set Priors( ) ProbBgD( , ) 12: inform player of the outcome and updated priors Priors 13: end while 14: set PlayerGuess 15: inform player that the game has concluded, taking Turn turns to complete and that they have determined the blockage location to be PlayerGuess
E. Rules for calculating (quantum) probabilities
On each turn and for each possible input photon state considered, the GM protocol (as well as the player protocols for different strategies) (Algorithms 1 and 2) require a set of conditional probabilities , which are calculated as follows. In the path-encoded interferometers considered (see Section IIB and Figs. 1 and 2), an input photon with density matrix undergoes succes-sive two-dimensional unitary transformations performed at each beam splitter, , where refers to the number of beam splitters. The probability that, if measured, the photon would be found to pass along the path of the context may conveniently be expressed as
P(\eta_{p}^{q})=\mathrm{T r}\left[\rho_{\mathrm{Q u}}\left|\eta_{p}^{q}\right>\langle\eta_{p}^{q}\right|\right], \tag{4}where , and for
The first context corresponds to the input states prior to the photons arriving at the first beam splitter, and the detector states comprise the context . As all possible blockage locations exist on a segment of path joining two adjacent nodes, for all such locations there exists a corresponding state equal to for at least one pair . In Hofmann's interferometer (see Fig. 2) the blockage locations are labelled , and , where for instance the state is equal to , and is equal to or . To avoid repeating calculations, the components of these blockage vectors may be tabulated prior to the game.
The photon detectors ( ) are associated with states , where is the number of beam splitters in the interferometer, so that in the absence of a blockage the probability that during a turn the detector activates is
P(\omega_{p}|\mathrm{n o~b l o c k a g e})=\mathrm{T r}\left[\rho_{\mathrm{Q u}}\left|\omega_{p}\right>\langle\omega_{p}\right|\right]. \tag{6}The presence of a blockage modifies this density to
P(\omega_{p}|\beta)=\begin{cases}\mathrm{tr}\left[\left(\mathbb{1}-\left|\beta\right>\langle\beta|\right)\rho_{\mathrm{Qu}}\left(\mathbb{1}-\left|\beta\right>\langle\beta|\right)\left|\omega_{p}\right>\langle\omega_{p}\right|\right]&p=1,...,d\\1-\sum_{p=1}^{d}P(\omega_{p}|\beta)&p=0\end{cases}. \tag{7}For a pure state this simplifies to
P(\omega_{p}|\beta)=\begin{cases}\left|\langle\omega_{p}\right|\left(\mathbb{1}-\left|\beta\right\rangle\langle\beta|\right)\left|\psi\right\rangle\right|^{2}&p=1,...,d\\ \left|\langle\beta|\psi\rangle\right|^{2}&p=0\end{cases}. \tag{8}Inspecting Eqs. (7) and (8), we note that if there are two blockage locations, and , with the same state vector up to a complex phase, , then these locations yield identical conditional probabilities and are thus indistinguishable to the player under the quantum ruleset. (Note this is not the case for the classical ruleset.) As it is impossible to complete a game under such conditions, we shall assume for all .
F. Alternative ruleset for classical probabilities
We may quantify the advantage that quantum information gain has over classical information gain with an alternative classical “pinball” ruleset, in which:
-
Photons are considered to have definite locations in the interferometer at all times. (The player may nevertheless be uncertain of this location.)
-
The player may specify an input probability density (the classical analogue of the density matrix, Eq. (2)),
or the equivalent of a pure state by selecting an input port to enter the photon into, equivalent to in Eq. (9). As with the Schrödinger picture quantum analogue, the blockage will act to reduce the normalisation of vector .
-
Photons reflect probabilistically off beam splitters with the same reflection coefficients as their quantum analogues.
-
A photon is absorbed if it travels along the path segment containing the blockage.
-
If they reach the output path, the corresponding detector activates, giving output .
Conditional probabilities may be calculated with a traditional tree diagram (see Fig. 3), however the branching possibilities make these unwieldy for larger interferometers. For manageable calculations, instead consider that the effect of a reflector between adjacent paths, with reflectivity R, on a classical probability vector , is to transform it as
In Hofmann's interferometer (Fig. 2), the beam splitters are labelled in time order as , and 2, with respective reflection coefficients , ,

FIG. 3: Example probability tree for classical values of given a photon entered into input or . Trees for and are the same due to the 1/2 reflectivity of the first beamsplitter, . In the presence of a blockage at any of the locations , the corresponding branches may be cut off, with the sum over total probabilities at the cuts comprising .
, , and . Denoting the corresponding transition matrices , so that for instance
the probability of detector activating upon a given input photon density without a blockage is
A blockage on the path transforms the probability density as , where matrix has components . By inspection of Fig. 2, we find that in the presence of each blockage the probability of the detector activating may be expressed
where as before . The result of these calculations for definite (classically pure) states
| Blockage position | ||||
|---|---|---|---|---|
| 0.222 | 0.389 | 0.389 | 0 | |
| 0.222 | 0.389 | 0.389 | 0 | |
| 0.111 | 0.111 | 0.111 | 0.667 | |
| 0.111 | 0.278 | 0.278 | 0.333 | |
| 0.111 | 0.361 | 0.361 | 0.167 | |
| 0.222 | 0.139 | 0.139 | 0.500 | |
| 0.222 | 0.250 | 0.250 | 0.278 | |
| No blockage | 0.222 | 0.389 | 0.389 | 0 |
| Blockage position | ||||
|---|---|---|---|---|
| 0.250 | 0.125 | 0.125 | 0.500 | |
| 0.139 | 0.181 | 0.181 | 0.500 | |
| 0.361 | 0.236 | 0.236 | 0.167 | |
| 0.278 | 0.194 | 0.194 | 0.333 | |
| 0.111 | 0.236 | 0.236 | 0.417 | |
| 0.389 | 0.181 | 0.181 | 0.250 | |
| 0.389 | 0.125 | 0.125 | 0.0.2501 | |
| No blockage | 0.389 | 0.306 | 0.306 | 0 |
TABLE I: Above: Probabilities of each outcome (out of 144) in Hofmann's interferometer given a “classical photon” has been entered into input port . Below: The same for classical photons entered into either input port or .
entered into input port , or are listed in Table I. Note that, as the first reflector has reflectivity , the tables of are identical for photons entering through either ports or . Outcome conditional probabilities for input photons with uncertain initial states may be accounted for with a weighted average over the values in Table I.
III. ANALYSIS OF GAMEPLAY AND STRATEGY
A. Metrics for game progress
For non-trivial interferometer setups, the number of blockage locations is generally substantially larger than the number of possible outcomes , meaning it is unlikely that it will be possible to finish a game in one turn. For this reason the player benefits from having a metric with which they can measure game progress, and around which they can build strategies. We have primarily based our strategies around two metrics, which we now explain. The first of these is countable and increases monotonically, the second is continuous and has the potential to decrease.
Our first way to measure game progress is to track the number of blockages ruled out. That is, rather than attempting determine where the blockage is, the player may attempt to determine where it isn't. Section III B describes various methods with which to rule out blockages. However, for the quantum ruleset a simple strategy that aims to rule out blockage locations one-by-one may be formulated with contrapositional logic. If for a given blockage , the player chooses , then by Eq. (7) , so that if the blockage is at location , the photon is guaranteed to be blocked. This does not mean that the outcome confirms the location , as the photon may have been blocked by a different blockage (which can occur when doesn't equal ). However, as is equivalent to the implication , which by contraposition becomes , if the photon is not absorbed then the player may rule out location . By following this logic, a player may ignore all Bayesian inference, and need not perform any calculations, but instead simply needs to keep a list of the blockages yet to be ruled out:
Strategy 1. On each turn, randomly choose a blockage location among the remaining locations that are yet to be ruled out, i.e. for which . Set the input state equal to the blockage location state, . If a detector activates, rule out this blockage location. Repeat until only one blockage location remains.
Ruling out a location in this way is an instance of conclusive state exclusion [26, 27]: the outcome certifies that the photon was not blocked at , without certifying where it was. Ruling out several locations in a single turn, as discussed in Section III B, corresponds to the antidistinguishability of the corresponding set of blockage states [28].
A more granular method to measure progress is in terms of the (information) entropy of the blockage probabilities , or as we explain below the entropic “equivalent number” of blockages ruled out. At the beginning of the game, the player’s priors, for all , reflect the principle of indifference (see for instance Ref. [29]) and correspond to maximum entropy for the situation,
The game ends when the priors are for some (returning unity for , and zero otherwise), which corresponds to minimum entropy, . Upon taking the first turn and recording the detector outcome , the remaining uncertainty in the blockage location is quantified by the posterior entropy,
We can measure the effectiveness of the turn with the Information Gain , defined such that
i.e.,
When this first trial is complete, and the prior probabilities are updated, , the process may be repeated with a new input photon state, and the player may use entropy to track overall game progress. If in each new trial information is gained, then it is possible that a trial will eventually be reached when the cumulative information gain exhausts the uncertainty (entropy), at which point the remaining uncertainty will be zero, and the game will be complete. Denoting the information gain of the trial , this will happen if for some ,
This recursive exhaustion of the initial uncertainty is depicted in Fig. 4. Of course there is no guarantee that such an trial will ever be reached—see the below discussion on why an information gain optimizer algorithm described in Section III D fails to complete the game when using a brute force sampling method. Additionally, note that it is possible (and potentially necessary in some circumstances) to “lose information”, meaning obtain a negative information gain. We address this phenomenon further in the discussion.
To better understand what information gain means in terms of the blockages, note that there will be some real
We use terminology common in the field of Bayesian Experimental Design [30–32]. Quantities and are referred to as the (actual) posterior entropy and information gain, as distinguished these from their expectation value analogues, and . Note that it is common to refer to the expected posterior entropy as the conditional entropy, and to refer to the expected information gain as the mutual information.

FIG. 4: Information gain in an example game that takes 4 turns. The initial uncertainty is exhausted by the information gained over the 4 turns.
number (which is unlikely to be an integer on any mid-game turn) such that
so that we may (somewhat loosely) regard the remaining uncertainty post-trial to be informationally equivalent to complete uncertainty over PP blockages. Loosely, this means the information gained in the first turn is informationally equivalent to ruling out blockage locations. Denoting the entropy prior to the trial , and taking the entropy logarithm base equal to 2, the number of additional blockages ruled out in the trial is
The game is completed when the sum of these totals , indicating there is only one blockage remaining,
Section III D describes a strategy that aims to maximise information gain.
B. Quantum Ruleset: How to rule out blockages
We begin our move analysis by considering only pure input states, , under the quantum ruleset. Under this restriction we can use Eqs. (3) and (8) to give the conditional probability of blockage , given that input photon is blocked (outcome ), as
Here we see that, to be able to obtain for some , and so finish the game on a turn in which the photon is blocked, the player must have chosen an input state that is orthogonal to all blockage vectors for blockages yet to be ruled out, except for that of the correct location. This requires the player not only to have correctly guessed the blockage location, but also that the other locations span an orthogonal (hyper)plane. While it is reasonable to expect some blockage vectors to be orthogonal—for instance blockage vectors belonging to the same context are necessarily orthogonal—this is rarely feasible except for in the late game. As such, it is typically more useful to attempt to advance game progress by aiming to rule out blockages, through finding a for which for some .
From Eq. (22), we see that when the photon is absorbed, a blockage may be ruled out when (which, by Hilbert space symmetry, implies ). For a single , choosing a such that is not difficult. A simple way to achieve this is to select for a blockage location within the same context as . If such a photon state is blocked then all other blockages within the same context ( ) may be ruled out (if this hasn't already been done), and if the photon is not blocked, the contrapositional logic of Strategy 1 may be used as a fallback to rule out blockage (again, if this hasn't already happened). This property of being naturally orthogonal to other locations, and parallel to one, makes blockage vectors a good choice of input state for a strategy based on ruling out blockage locations.
A player wishing to follow a strategy of ruling out blockages may, prior to playing the game, construct tables of . Unlike the conditionals , these are independent of priors , and so valid for the whole game. However, it is conveniently the case that , meaning identifying cases where for an initial state allows us to identify guaranteed cases where for that input state, regardless of the priors . We list such tables of s for Hofmann's interferometer in Appendix B, for for all , for , and for certain other input states (informed by the analysis in Ref. [8]). To help optimize a strategy based on ruling out blockages in the case of photon absorption, the player may want to consider the zeros in the top row of each table. Disregarding for a moment the state of the priors, we see that input photon states equal to and are both generally good choices, able to rule out three locations each. However, choosing appears optimal, able to rule out 4 blockages
We borrow the notation PP from Ref. [33] who name it the “perplexity”.
Note Hofmann’s interferometer has the useful property that the output context is the same as the input context by design.
on outcome . We shall elaborate on this in Section III C.
An ambitious player may want to try ruling out multiple specific blockages in a single turn, or to rule out as many locations as possible. For the former, given a set of locations , the player should first verify that span at most a dimensional subspace of the Hilbert space. This could be done by verifying that a matrix formed from the columns of vectors has a rank of , for instance by checking that the size of the largest square sub-matrix with non-zero determinant is . For the latter, the player may look for the largest subset such that spans at most a dimensional subspace. In either case, the player may proceed by first finding a subset of of these vectors, where all vectors are linearly independent, verifying this by checking that the matrix formed from the columns of these vectors is of rank . Then, by taking these vectors as equal to in the following procedure, the player can obtain an input state orthogonal to all , so that for all . If such an input state is used, and the photon is absorbed, then all of these blockage locations may be ruled out.
Procedure 1. Let be linearly independent vectors, and let be a vector that is linearly independent to these. Define
(23)
This is a typical Gram-Schmidt set of orthogonal vectors. By construction, for all . Now define
where N is a normalization factor introduced such that . This satisfies
\begin{align*}\left\langle v_{j}^{\prime}\Big|\psi^{\prime}\right\rangle&=N\left\langle v_{j}^{\prime}\right|\left(\mathbb{1}-\sum_{i=1}^{k}\frac{\left|v_{i}^{\prime}\right\rangle\left\langle v_{i}^{\prime}\right|}{\left\langle v_{i}^{\prime}\right|v_{i}^{\prime}\rangle}\right)\left|\psi\right\rangle\\&=N\left\langle v_{j}^{\prime}\right|\psi\right\rangle-N\frac{\left\langle v_{j}^{\prime}\right|v_{j}^{\prime}\rangle}{\left\langle v_{j}^{\prime}\right|v_{j}^{\prime}\rangle}\left\langle v_{j}^{\prime}\right|\psi\right\rangle=0\end{align*}(25)
for all j. Now, from Eq. (23) we can see that we may also expand out all in terms of the Gram-Schmidt vectors. That is, for any ,

FIG. 5: Illustration of why blockage may be ruled out when detector (for ) activates, if the inner product between the projection of both and onto the kernel of vanishes.
Thus for all .
So far in this section, we have only considered the ruling out of blockages when the photon is absorbed, outcome . A similar analysis may be performed for detector activations, outcomes for . Given detector activates, the probability that the blockage location is is
A first point to note is that if is chosen to be equal to for some , then vanishes for all , so no detector can activate. Thus if any detector does activate, location may be ruled out. This is an alternative argument for Strategy 1 above. If detector activates, then one may scan the corresponding row in the table of for zeros to determine which blockages may be ruled out. (See Appendix B for these tables for Hofmann's interferometer.)
More generally, to rule out blockage locations when detector p activates, we should consider the conditions under which
The operator , which we henceforth write , is an orthogonal projection onto the kernel (null space) of . Due to its idempotency and Hermiticity, we may write the condition equivalently as
where we have defined and . Condition (29) is illustrated in Fig. 5.
Given a for which Condition (29) does not hold, it is possible to construct a new for which it does. We can achieve this through subtracting out the component of parallel to , by defining
where is a normalisation constant. The equality for a constructed in this manner follows, as the projection right-annihilates .
Ref. [1] studied multi-path interferometers with the goal of positively identifying the presence of a blockage (rather than as here, determining the location of one already presumed to exist). There it was useful to expand in the form
where
are respectively the probability of detector activating in the absence of a blockage, a Kirkwood-Dirac factor [4–6], and an Elitzur-Vaidman term [2]. In that paper it was argued that the greatest quantum counterfactual gain may be found by choosing a corresponding to the largest possible negative value of factor KD. This maximises , whereas our present goal has been to search for such that . The above method achieves this for as defined in Eq. (30) by making each of Eqs. (32) to (34) individually equal to .
An obvious follow-up question is whether it is possible to construct a state such that if detector fires, multiple blockage locations may be ruled out. This may be particularly useful if a point in a game has been reached where there are only a few possible locations remaining, so that these may be targeted. For this to be the case for a set of blockage locations , a must be found such that
As above, this can only be true if span at most a dimensional subspace. If this is true, and the player selects a linearly independent subset of these,
then Procedure 1 may be used to find such an input photon state.
We also require , so that , so that in Eq. (30) is normalizable.
C. Quantum Ruleset: Why choosing makes a good first turn for Hofmann's interferometer
As the outcome of any turn is probabilistic, the player cannot in general guarantee they will rule out a given number of blockages. They must also take into consideration the likelihood of a given outcome occurring,
and as priors are updated after each turn, what is considered a good move will change as the game progresses. For the first turn however, where the priors are equal, we may make some strong conclusions on a good choice of input state.
In addition to all , for input states for all , and for , the information tables in Appendix B list . This is the overall probability of each outcome on the first turn. For reference, the blockage probabilities for are also given in Table II.
| for | ||||||||
|---|---|---|---|---|---|---|---|---|
| 2/3 | 0 | 0 | 1 | 0 | 0 | 2/3 | 1/3 | |
| 0 | 1/3 | 1/3 | 0 | 1/3 | 1/3 | 1/3 | 5/21 | |
| 0 | 1/3 | 1/3 | 0 | 1/3 | 1/3 | 0 | 4/21 | |
| 1/3 | 1/3 | 1/3 | 0 | 1/3 | 1/3 | 0 | 5/21 | |
TABLE II: Conditional probabilities , for Hofmann's three-path interferometer, of turn outcomes for input state , and blockage locations given in columns.
The number of blockages ruled out by each outcome may be found by counting the number of zeros in each row. Evidently, given an input state is absorbed (outcome ), the player would be able to rule out four of the seven locations. This property is not unique to input state ; input states equal to , and all have the potential to rule out four locations should a corresponding outcome be observed. The key reason is a better choice for the first input state is that, on the first turn, each of these other input states has only around a chance of producing the correct outcome to rule out 4 states, while given input is . Moreover, the fewest number of locations ruled out given first input state is two (through outcomes and ), and there is also a chance of ruling out three locations (through outcome ). The particularly large number of zeros in the state table singles it out among the other special states considered as a good first turn.
In a finite number of turns, it is possible to finish a game using state alone, but only if the blockage is in
also has the best expected information gain we have found for a starting move—see Section III D and Fig. 6.
location or . To see this, first observe that to complete a game solely using , the player must, in a sequence of turns, observe a set of outcomes that rules out all but one blockage. Hence there must exist a subset of rows in which all but one of the corresponding columns contain a zero. This cannot be the set of all rows (outcomes) as there is at least a single zero in every column (blockage) of the table, so that if in a sequence of turns all outcomes occur, then all blockages would be ruled out, which clearly cannot happen. (Indeed the same may be said of outcomes and ; in a single game it is impossible to observe both outcomes when using input state .) However, for all columns (i.e., all possible blockage locations), the sub-columns corresponding to contain zeros except for . Therefore, if in the first two turns of a game the player uses state , and obtains outcomes and , they may conclude the game having determined the blockage to be at position . Similarly, if they obtain outcomes and , they may conclude the blockage is at .
Of course this is a property of only and . If instead is observed, then , , and are ruled out, but as the remaining columns are identical, nothing more may be learned from inputting exclusively state ; state cannot distinguish between states , , , and . If, on the other hand, the blockage is at position , then only outcome may be recorded, but the player can never be fully certain the photon was blocked at position . After the first turn the players priors are updated to and , with all others vanishing. After that follows the recurrence relation
which, denoting the probability after the turn has solution for . It takes fourteen turns for this to exceed 99%.
D. Both Rulesets: A strategy of information gain maximisation
Rather than attempting to rule out blockages, a player may instead aim to optimise the reduction in entropy , or equivalently maximise information gain . As ever, the probabilistic outcomes make this an uncertain process. A straightforward strategy to attempt to maximise information gain is to choose a that maximises its expectation value,
A player who is able to choose the optimal to maximise , must still react to the probabilistically evolving , so that optimal input photon states and game lengths will vary across games. On each turn, the player may, for any potential input state , calculate the expected information gain using the routine described in Algorithm 2.
Algorithm 2 Example player data gathering routine.
1: set Entropy ← -∑β Priors(β) log Priors(β) 2: select TrialInputState 3: for all β, ω use this to calculate ProbDgB(ω, β) ▷ for instance by using Eq. (7) or Eq. (13) 4: for all ω set
ProbD(ω) ← ∑β Priors(β) ProbDgB(ω, β) 5: for all β, ω set
ProbBgD(β, ω) ← 6: for all ω set
PotEntropy(ω) ← -∑β ProbBgD(β, ω) log ProbBgD(β, ω) 7: set ExpectedEntropy ← ∑ω ProbD(ω) PotEntropy(ω) 8: set ExpectedInfoGain ← Entropy - ExpectedEntropy
A choice of optimisation algorithm may be employed to iteratively use Algorithm 2 to locate an input state with maximal expected information gain. For the below numerical results we use a simple brute force Monte Carlo method, generating many random quantum states and selecting that with the largest . However, this still leaves open the question of how the random quantum states are sampled. Interestingly, in our numerical simulations of games, an information gain optimizing algorithm that samples the space of pure states (the projective Hilbert space) uniformly, fails to finish games. Such an algorithm performs well in the early game, reducing uncertainty quickly, and tends seemingly arbitrarily close to , but never actually reaches . We believe the reason for this is that, in order to complete a game, a sequence of turns must take place in which all but one blockage location is ruled out. That is, for some turns must be chosen such that exactly, which as we have discussed above requires . The conditions for this are for outcome , and for outcomes with . For either of these conditions to hold, must live on a measure zero subspace of the projective Hilbert space, and so if this space is uniformly sampled, a state satisfying either of these criteria will be selected with probability zero.
This problem can of course be rectified with better sampling (or with a better optimization algorithm). In Section IV A we compare information gain optimized uniform sampling to that of both sampling of only the blockage vectors, and of the combination of both. We also apply the information gain optimization to the classical ruleset.

FIG. 6: For mixed states, the first turn expected information gain is strongly correlated with purity. The maximally mixed state is particularly low in this regard, though not quite the lowest. Pure states are shown for comparison.
| 0.333 | 0.333 | 0.333 | 0.333 | 0.333 | 0.333 | 0.333 | 0.333 | |
| 0.167 | 0.167 | 0.278 | 0.222 | 0.111 | 0.333 | 0.333 | 0.230 | |
| 0.167 | 0.167 | 0.278 | 0.222 | 0.278 | 0.167 | 0.167 | 0.206 | |
| 0.333 | 0.333 | 0.111 | 0.222 | 0.278 | 0.167 | 0.167 | 0.230 |
TABLE III: for and blockage indicated in columns. Note no entry is zero.
E. Quantum Ruleset: Mixed states
For density matrices of a range of different purity, Fig. 6 shows the first turn estimated information gain in bits, using Hofmann's three-path interferometer. As expected, states of higher purity generally give greater than states of lower purity, with the seven possible blockage location states giving the highest possible of the states chosen. The maximally mixed state gives far lower , but perhaps surprisingly isn't the worst state in this regard. Inspecting the output probabilities for for various blockage locations (Table III), we see that all blockages result in a chance of absorption. This means we learn absolutely nothing for this state if the photon is absorbed: all information gain for this state must come from cases where the photon reaches one of the detectors. Also interestingly, gives the same output probabilities for a blockage at and , and for and , and is thus is unable to distinguish between these states.
To help understand why this is the case consider that, given a mixture
\rho_ {\mathrm{Qu}} = \sum_ {i} p _ {i} \left| \psi_ {i} \right\rangle \langle \psi_ {i} \right|, \quad p _ {i} > 0, \quad \sum_ {i} p _ {i} = 1, \tag {40}conditional probabilities are merely
where is the conditional probability given pure state . Therefore, for Eq. (41) to vanish, so that blockage may be ruled out, Eq. (28) would need to hold for all components in the mixture. Similarly,
only if for all .
Rather than viewing as a mixture of pure states, we may instead choose to view it as an abstract density matrix. The condition may then be expressed
0 = \mathrm{Tr} \left[ \rho_ {\mathrm{Qu}} \left| \omega_ {p \perp \beta} \right\rangle \langle \omega_ {p \perp \beta} \right| \right]. \tag {43}Expanding the density out in its spectral decomposition , we see for Eq. (43) to hold, that
Thus for all , either or (or both). This condition is the eigenbasis equivalent to Eq. (41). Equivalently, . Finally to rule out a blockage when the photon is blocked, we require
which is the eigenbasis equivalent to Eq. (42).
IV. DISCUSSION
A. Preliminary numerical comparison of strategy performance
A comprehensive numerical evaluation of strategy performance would need to include both a variety of interferometer configurations and sizes, and more sophisticated sampling techniques than we have so far programmed, and so would constitute a substantial extra project. Nevertheless, our initial analysis for Hofmann's three-path interferometer sheds some light on the relative performance of strategies, confirming some of our analytic assertions as well as highlighting some unexpected properties.
Each frame in Fig. 7 shows the turn-by-turn evolution of the equivalent number of blockages ruled out, , for 100 games played with a particular strategy. For consistency, the blockage location is kept as . Frames A and B are strategies played with the classical ruleset, and frames C to H are strategies played with the quantum ruleset. Baseline “control group” strategies, played
See Appendix A for additional guidance on numerical simulation of games.

FIG. 7: Comparison of game progress using two strategies in the classical ruleset and six strategies in the quantum ruleset. Each frame shows 100 games played with the indicated strategy and ruleset. For consistency, the blockage location is kept at . Equivalent strategies with the quantum ruleset clearly outperform their classical analogues. Turns that result in a negative information gain are seen as temporary downward movements, with these more common for strategies that do not optimize information gain. Brute force information gain optimisation entails choosing the state with maximum estimated information gain from a sample of 1000 uniformly sampled input states at each turn. This performs comparatively well in the early game, and tends towards 6 blockages ruled out, but due to the sampling does not quite manage to finish the game completely (see Section III D). Perhaps unsurprisingly, the best performer is the information gain algorithm with the best state sampling.
with random input states, are shown for comparison in frames A and C. These do make game progress (as measured by entropy/equivalent blockages ruled out), demonstrating that random data is better than no data, though progress is slower than for the non-control strategies. No member of these control groups manages to finish a game, and locate the blockage. For the classical ruleset perfectly locating the blockage is typically impossible, as may be seen through inspection of Table I, which contains for the classical ruleset. As discussed in Section III B, Bayes' theorem tells us that to obtain a posterior equal to zero for a non-zero prior , and thus rule out a blockage, we require . Hence Table I tells us that only blockage locations and may be ruled out with the classical ruleset. For the quantum ruleset control group, progress in “equivalent blockages ruled out” is significantly quicker, though for the same reason discussed in Section III D, due to the uniform sampling of the space of pure states (upon which subspaces of states capable of ruling out blockage locations are measure zero) this group fails to rule out blockages and complete a game. That said, zero entropy is approached (at least by eye) asymptotically.
B. Classical vs Quantum
Notably in Fig. 7 we can see that not only does random classical path (A) perform worse than nearly all quantum games (C-H), but information gain-optimised classical path (B) similarly performs worse than nearly all quantum games, even quantum random state (C). We can interpret this by considering the different role beam splitters play for the classical game compared to the quantum game. In the quantum game, beam splitters move us between contexts: the state after the beam-splitter remains the same as the state before the beam-splitter, just expressed in a different basis. However, in the classical game, beamsplitters insert probabilistic behaviour: unless they all have either reflectivity 0 or reflectivity 1, there is no sequence of beam splitters for the classical game which will cause the “photon” to deterministically arrive at a certain location. Interference, which in e.g., Hofmann’s interferometer ensures for the quantum ruleset that, if there are no blockages, a photon input into will always end up at , does not exist for the classical ruleset. Due to interference, we can view the quantum ruleset as preserving information across beamsplitters, first about the initial state and then through how the state is altered the blockage location. Beam splitters in the classical ruleset seem instead to “wash away” this information: successive probabilistic reflections/transmissions before the blockage progressively remove any information the “photon” carries about its input path, then successive probabilistic reflections/transmissions after the blockage progressively remove any information the photon carries about the blockage location (or rather, the path the “photon” took to by-pass the blockage.
While nowhere near as easy to formalise through statistical distances into a “quantum counterfactual gain”, in the same way as we did in Ref. [1], we hope future work will allow us to use this difference between how beam splitters manifest in the two rulesets to more formally identify the advantage quantum resources provide for the game.
C. Benefits of Losing Information
The effect of imposing information gain optimisation on the classical ruleset may be seen in frame B, which displays a quicker and more reliable rise in effective blockages ruled out than control group A. The equivalent quantum effect is seen by comparing frames C and F, each of which sample the space of pure states uniformly. The information gain optimisation algorithm employed in frame F (the simple brute-force Monte Carlo scheme, sampled over the projective Hilbert space, mentioned earlier) specifically targets entropy reduction/equivalent blockages ruled out, and so it is unsurprising that this outperforms the control group (while still failing to finish a game).
Quantum ruleset strategies for which the sampling is reduced to only the set of blockage vectors, so that for some blockage , are shown in frames D,E, and G. Respectively these strategies select a random blockage state (serving as a control for this sub-group), a random state not ruled out (which benefits from the contrapositional logic of Strategy 1, and so outperforms the control group), and an expected information gain optimized blockage state. The last of these performs particularly well, and is only marginally outperformed by frame H. Frame H is a “best of all worlds” strategy, where information gain optimisation is used, but the sampling combines the brute force uniformly sample pure states and the blockage vectors. The difference between this and frame G indicates that (at least as measured by expected information gain), a blockage state is not always optimal.
So far, the discussion may suggest that information gain optimisation (as we have described it) is always beneficial, but we have found one major drawback. We illustrate this in Fig. 8, which compares histograms of game lengths for a strategy of selecting input states equal to for blockages yet to be ruled out (Fig. 8a), with that of equal to for the with the maximum expected information gain (Fig. 8b). In the majority of games, and for all blockage locations, information gain outperforms the simpler strategy. However, each histogram in Fig. 8b is conspicuously bimodal, with a second smaller but not insignificant population of games that underperform compared to the random strategy. Moreover, for every blockage location, the two populations (underperforming and overperforming) appear fully disjoint, which we think is suggestive of a single failure mode for the information gain approach.
(a)

(b)

FIG. 8: Histograms of game duration for 100,000 games with each blockage, played using: In Fig. 8a input photon states for a random blockage yet to be ruled out, and in Fig. 8b equal to the with the best expected information gain. The densities of information optimized game length are bimodal; in the majority of cases they outperform the random choice, however for a smaller population of games they underperform. A loose analogy may be taken with “risky” strategies in expected utility theory. (See discussion in Section IV A).
At present, we are yet to pin down the mechanism for this suspected failure mode although we believe it could be due to an over-aversion to “losing information”. Maximisation of expected information gain makes it probable that entropy will be reduced, while at the same time making it unlikely that entropy will increase, and so it encourages further peaking the density of priors around the blockage where it is already peaked. However, unlikely outcomes in the early game may mean that this peak may begin around the wrong location. If this happens, then the algorithm may have to, in a manner of speaking, unlearn the lessons it learned through these early unlikely events. This will include lowering of value of the previously-considered most likely location, and may increase entropy overall. The algorithms used in Figs. 8a and 8b are displayed in a turn-by-turn fashion for individual games in frames E and G of Fig. 7. Here we note that the information gain optimisation strategy doesn’t appear to ever lose information (as would be seen by a downtick in the curve), whereas this appears a quite common occur-rence for the random strategy. Of course at present this is mere speculation, and would certainly require more investigation to substantiate.
The potential for strategies of decision making under uncertainty to fail is not unknown. In microeconomics, similar scenarios are widely studied under the banner of Expected Utility Theory [34]. Crudely speaking, there the maximisation of expected “gain” is often considered risk-neutral, and to deviate from this neutrality one can apply to the gain either a concave “utility” function (to lean towards risk aversion), or a convex utility function to lean towards more risk. There are clearly important differences between that case and this, however the analogy at least points to the potential value of the application of a utility function, and by extension the attention from experts in game theory.
D. Non-demolition blockages
We can view the Quantum Plumber problem as equivalent to there being a truncation of the Hilbert space from to dimensions, where we just wanting to find out which dimension was the one truncated. As a future extension, we could instead consider the situation where the block is a non-demolition measurement (i.e., NDSPD [35–37]), which instead bifurcates the Hilbert space (albeit with probabilities at s being sums of probabilities from the two bifurcations). It is interesting to consider how much harder the game would be for both a classical and a quantum player in these circumstances. Given a non-demolition detection removes coherence but not probability, in this case a classical player would have just random luck chance of guessing right, meaning the bar for a quantum player to get an above-classical performance would be lower.
A non-demolition detector at location whose result is not reported to the player replaces Eq. (8) with
for , with . Under the classical rule-set the detector changes nothing, so is independent of and the classical player can never update their priors. Under the quantum ruleset, a location can be ruled out on outcome only if both terms in Eq. (46) vanish, which is why we included the detector states in the set of Section III.D. For Hofmann's interferometer there is a further restriction: the pair gives identical conditional probabilities for every input state, as does the pair . Both members of each pair lie in the plane spanned by two of the detector states, so the two dephasing operations differ only in coherences that the final measurement cannot see. We would therefore need to score this variant by the number of turns needed to concentrate the posterior on one of the five distinguishable classes , with the uniform prior over the seven locations. This variant is therefore harder for the quantum player, but for the classical player cannot be completed at all.
E. Future Work
As discussed briefly at the end of Section IV A, it would be interesting to consider more “risk-prone” or “risk-adverse” strategies for information gain, where we aim not to maximise the expectation value of the information gain itself, but the expectation of some function of the information gain. We will consider this further in future work.
One benefit of the single-photon/“classical photon” nature of the game common to both rulesets is that each turn, there is only one outcome , and these outcomes are mutually exclusive: we know, for instance, in turns where the photon arrived at , that it didn’t also arrive at (and so wasn’t also absorbed by) the blocker. This discreteness however is only a property of very specific quantum states of light (the Fock, or number, states), of which we only look at one sub-example (the single-photon state). This suggests both a narrow and a broader path for potential expansion of the game. The narrow expansion would be to consider other number states (i.e., cases where more than one indistinguishable photon was input into the interferometer). Such an expansion would link the game to boson sampling [38], albeit one with the additional caveat of potential photon loss. It also would mean the output detections would no longer be mutually exclusive—for an N-photon input state, we would get N outputs, each sampled from . Alongside this, such an extension would introduce novel multi-photon effects without any single-photon analogue, like the Hong-Ou-Mandel effect [39], or wider bunching/anti-bunching effects, which may have additional interesting informational benefits (or drawbacks) for the game. The broader expansion would be to consider the wider range of non-Fock states of light, such as coherent states, Gaussian states, thermal states, or even novel engineered states previously used for metrology. As with Fock states, these again have the issue of making the output detections no longer mutually exclusive; however, unlike the Fock states, we can’t even bound the number of outputs we would see, given all these states are superpositions of different photon-number states, so give a probability distribution over different photon numbers when measured in the photon-number basis (as we do when measuring with single-photon detectors, like here). Despite this, for certain states (e.g., coherent states), the overall distribution of the “clicks” at different outputs should match the distribution for the single-photon case—the only difference would be that for a given input state we wouldn’t know (beyond an expectation value) in advance how many times we would be sampling from this distribution for the outputs.
This last point also affects Section IV B's comparison: a coherent state is a classical wave, and it reproduces the single-photon conditional probabilities per unit intensity, so the advantage of the quantum ruleset over the pinball ruleset is an advantage of interference over particle-like propagation rather than something that requires a single-photon source. Single photons add the mutual exclusivity of the outcomes: quantifying the advantage gained through this is a question for the multi-photon extension. Relatedly, the optimal states for estimating the magnitude of a loss in a bosonic channel are known to be Fock states [40, 41], and the extension of the game to lossy components (as discussed in Section II B) would turn the discrete problem considered here into a problem of that type.
A feasible direction for future work would be to link our analysis to recent work by Hance et al [42] showing the extent to which such a three-path interferometer can and cannot be represented using either Quantum Simulation Logic (based on Spekkens' toy model) or the stabiliser subset of quantum mechanics, and use this to link advantage in this game to “magic” (or “non-stabiliser-ness”) in the interferometer and initial state.
An additional idea for future work is a version of the Quantum Plumber's problem where the “cost” which we want to minimise is the photon being lost, rather than the turns taken - for this we would consider detectors for (i.e., for Hofmann's interferometer) as being non-demolition, so the photon is not lost if it goes to these detectors, but where the photon is still lost for . We can imagine, for such a game, starting with photons to use - once you're done, you're done. The question is, under these constraints, how does the optimal strategy change. This is the constraint imposed in Ref. [18], where the one-shot optimum and a finite-round adaptive benchmark are derived for a designable multiport interferometer, and it is closely related to absorption-free discrimination between semi-transparent objects [43, 44] and to the quantum Zeno schemes that make the Elitzur-Vaidman test efficient [45–47].
Yet another interesting direction would be to remove the exact limit of there being a single blockage, and instead to have each location having its own (i.i.d.) probability of being blocked. Although in Hofmann's interferometer as considered, each blockage has a probability of 1/7, if this was 1/7 i.i.d, then there would be a possibility of 0 blockages, and a possibility of > 1 blockage, affecting our analysis here.
Beyond this, an avenue for future work is the “semi-quantum” approach of being limited to input states , rather than arbitrary superpositions of these. For Hofmann’s interferometer, we can see how this would affect the game from the tables for , , and in Appendix B, since the input and output port states coincide: none of the columns , , and contains a zero, and the columns and (and and ) are identical. A player restricted to the input ports can rule out and together, or and together, but can never rule out , , or , and so cannot complete the game. For other interferometers the restricted game may be completable, but this remains an open question.
Given we can view the game as a sequential decision-making problem, there is also the question of whether we could tie a potential strategy to reinforcement learning, where we try to learn an optimal policy for what state we should send in our next photon, based on the outcome of the previous ones. Since the priors summarise everything the player has learned, the game is a partially observable Markov decision process whose belief state is the vector of priors [48], and the objection to tabulating optimal moves raised in Section II does not apply to a policy indexed by the belief state rather than by the history.
Finally, a blocked path is a marked item and each photon is one query, so the game is a form of search by interaction-free measurement, which has been used to implement Grover's algorithm counterfactually [49].
F. Summary
In this paper, we extended previous analysis of “quantum counterfactual gain” [1] to identifying quantum advantage in a new scenario, which we term the “Quantum Plumber’s Problem”. In this scenario, which we represented as a game, we cast the player as a “quantum plumber”, who knows that one path of an interferometer is blocked, and wants to find the optimal strategy for identifying, with certainty, which path this is. We considered various strategies for a generalised path-encoded interferometer, as well as giving numerics for the specific case of Hofmann’s three-path interferometer [25], which allowed us to build our intuition about the game for a simple but non-trivial concrete scenario. Hofmann’s three-path interferometer allowed us to debate the relative merit of competing strategies with data collected over many simulated attempts at locating blockages.
Acknowledgements— We thank Sarah Croke, Jakob Dautovic Bergh, Donald Spector, and the participants of QIP 2026 Växjö for useful suggestions for extensions/future work. JRH acknowledges support from a Royal Society Research Grant (RG/R1/251590) and an EP-SRC Mathematical Sciences Small Grant (UKRI3647). JRH and NGU acknowledge support from JRH's EPSRC Quantum Technologies Career Acceleration Fellowship (UKRI1217). HFH acknowledges support from ERATO, Japan Science and Technology Agency (JPMJER2402).
[1] Jonte R Hance, Tomonori Matsushita, and Holger F Hofmann. Counterfactuality, back-action, and information
gain in multi-path interferometers. Quantum Science and Technology, 9(4):045015, October 2024. doi:10.1088/
2058-9565/ad63c7.
[2] Avshalom C. Elitzur and Lev Vaidman. Quantum Mechanical Interaction-Free Measurements. Foundations of Physics, 23(7):987–997, July 1993. doi:10.1007/BF00736012.
[3] Stefano Gherardini and Gabriele De Chiara. Quasiprobabilities in Quantum Thermodynamics and Many-Body Systems. PRX Quantum, 5(3):030201, September 2024. doi:10.1103/PRXQuantum.5.030201.
[4] David R. M. Arvidsson-Shukur, William F. Braasch Jr., Stephan De Bièvre, Justin Dressel, Andrew N. Jordan, Christopher Langrenez, Matteo Lostaglio, Jeff S. Lundeen, and Nicole Yunger Halpern. Properties and applications of the Kirkwood–Dirac distribution. New Journal of Physics, 26:121201, December 2024. doi:10.1088/1367-2630/ada05d.
[5] John G. Kirkwood. Quantum statistics of almost classical assemblies. Phys. Rev., 44:31–37, Jul 1933. doi:10.1103/PhysRev.44.31.
[6] P. A. M. Dirac. On the analogy between classical and quantum mechanics. Rev. Mod. Phys., 17:195–199, Apr 1945. doi:10.1103/RevModPhys.17.195.
[7] T. Rudolph. Better schemes for quantum interrogation in lossy experiments. Phys. Rev. Lett., 85:2925–2928, Oct 2000. doi:10.1103/PhysRevLett.85.2925.
[8] Holger F Hofmann. Quantum coherence and negative quasi probabilities in a contextual three-path interferometer. arXiv preprint arXiv:2507.22323, 2025. doi:10.48550/arXiv.2507.22323.
[9] Giulio Chiribella, Giacomo M. D'Ariano, and Paolo Perinotti. Memory effects in quantum channel discrimination. Physical Review Letters, 101(18):180501, October 2008. arXiv:0803.3237 [quant-ph]. URL: http://arxiv.org/abs/0803.3237, doi:10.1103/PhysRevLett.101.180501.
[10] Runyao Duan, Yuan Feng, and Mingsheng Ying. Perfect Distinguishability of Quantum Operations. Physical Review Letters, 103(21):210501, November 2009. URL: https://link.aps.org/doi/10.1103/PhysRevLett.103.210501, doi:10.1103/PhysRevLett.103.210501.
[11] Marco Piani and John Watrous. All Entangled States are Useful for Channel Discrimination. Physical Review Letters, 102(25):250501, June 2009. URL: https://link.aps.org/doi/10.1103/PhysRevLett.102.250501, doi:10.1103/PhysRevLett.102.250501.
[12] Aram W. Harrow, Avinatan Hassidim, Debbie W. Leung, and John Watrous. Adaptive versus nonadaptive strategies for quantum channel discrimination. Physical Review A, 81:032339, 2010. doi:10.1103/PhysRevA.81.032339.
[13] Stefano Pirandola, Riccardo Laurenza, Cosmo Lupo, and Jason L. Pereira. Fundamental limits to quantum channel discrimination. npj Quantum Information, 5:50, 2019. doi:10.1038/s41534-019-0162-y.
[14] Quntao Zhuang and Stefano Pirandola. Ultimate limits for multiple quantum channel discrimination. Physical Review Letters, 125:080505, 2020. doi:10.1103/PhysRevLett.125.080505.
[15] Kun Fang, Hamza Fawzi, and Omar Fawzi. Adversarial quantum channel discrimination. Physical Review Letters, 135(26):260201, December 2025. arXiv:2506.03060 [quant-ph]. URL: http://arxiv.org/abs/2506.03060, doi:10.1103/mtbj-grbk.
[16] Stanislav Filatov and Marcis Auzinsh. Setup for interaction-free measurement of multiple objects using sin-
gle quantum probe. Applied Physics B, 130:121, 2024. doi:10.1007/s00340-024-08257-2.
[17] Sara Franco, Anita Camillini, and Ernesto F. Galvão. Interaction-free measurement of multiple objects using a universal integrated photonic processor. Quantum Science and Technology, 11:035055, 2026. doi:10.1088/2058-9565/ae8df9.
[18] Anubhav Chaturvedi, Jorge Escandón-Monardes, Esteban S. Gómez, Gustavo Lima, and Stephen P. Walborn. Optimal interaction free localization with multipath interferometers. arXiv preprint arXiv:2607.26293, 2026. URL: https://arxiv.org/abs/2607.26293.
[19] Manuel Erhard, Mario Krenn, and Anton Zeilinger. Advances in High Dimensional Quantum Entanglement. Nature Reviews Physics, 2(7):365–381, June 2020. doi:10.1038/s42254-020-0193-5.
[20] Michael Reck, Anton Zeilinger, Herbert J. Bernstein, and Philip Bertani. Experimental realization of any discrete unitary operator. Physical Review Letters, 73(1):58–61, July 1994. doi:10.1103/PhysRevLett.73.58.
[21] Jacques Carolan, Christopher Harrold, Chris Sparrow, Enrique Martín-López, Nicholas J. Russell, Joshua W. Silverstone, Peter J. Shadbolt, Nobuyuki Matsuda, Manabu Oguma, Mikitaka Itoh, Graham D. Marshall, Mark G. Thompson, Jonathan C. F. Matthews, Toshikazu Hashimoto, Jeremy L. O'Brien, and Anthony Laing. Universal linear optics. Science, 349(6249):711–716, August 2015. doi:10.1126/science.aab3642.
[22] Yuchen Wang, Zixuan Hu, Barry C. Sanders, and Sabre Kais. Qudits and High-Dimensional Quantum Computing. Frontiers in Physics, 8:589504, November 2020. doi:10.3389/fphy.2020.589504.
[23] Stefano Paesani, Jacob F. Bulmer, Alex E. Jones, Raffaele Santagati, and Anthony Laing. Scheme for Universal High-Dimensional Quantum Computation with Linear Optics. Physical Review Letters, 126(23):230504, June 2021. doi:10.1103/PhysRevLett.126.230504.
[24] Yulin Chi, Jieshan Huang, Zhanchuan Zhang, Jun Mao, Zinan Zhou, Xiaojiong Chen, Chonghao Zhai, Jueming Bao, Tianxiang Dai, Huihong Yuan, Ming Zhang, Daoxin Dai, Bo Tang, Yan Yang, Zhihua Li, Yunhong Ding, Leif K. Oxenlowe, Mark G. Thompson, Jeremy L. O'Brien, Yan Li, Qihuang Gong, and Jianwei Wang. A programmable qudit-based quantum processor. Nature Communications, 13(1):1166, March 2022. doi:10.1038/s41467-022-28767-x.
[25] Holger F. Hofmann. Sequential propagation of a single photon through five measurement contexts in a three-path interferometer. Optica Quantum, 1(2):63, December 2023. doi:10.1364/OPTICAQ.502468.
[26] Carlton M. Caves, Christopher A. Fuchs, and Rüdiger Schack. Conditions for compatibility of quantum-state assignments. Physical Review A, 66:062111, 2002. doi:10.1103/PhysRevA.66.062111.
[27] Somshubhro Bandyopadhyay, Rahul Jain, Jonathan Oppenheim, and Christopher Perry. Conclusive exclusion of quantum states. Physical Review A, 89:022336, 2014. doi:10.1103/PhysRevA.89.022336.
[28] Teiko Heinosaari and Oskari Kerppo. Antidistinguishability of pure quantum states. Journal of Physics A: Mathematical and Theoretical, 51:365303, 2018. doi:10.1088/1751-8121/aad1fc.
[29] Edwin T. Jaynes. Probability theory: the logic of science. Cambridge University Press, Cambridge, 2003.
[30] Tom Rainforth, Adam Foster, Desi R. Ivanova, and Freddie Bickford Smith. Modern Bayesian Experimental Design. Stat. Sci., 39(1):100–114, February 2024. doi:10.1214/23-STS915.
[31] Elizabeth G. Ryan, Christopher C. Drovandi, James M. McGree, and Anthony N. Pettitt. A Review of Modern Computational Algorithms for Bayesian Optimal Design. Int. Stat. Rev., 84(1):128–154, 2016. doi:10.1111/insr.12107.
[32] Paola Sebastiani and Henry P. Wynn. Maximum Entropy Sampling and Optimal Bayesian Experimental Design. J. R. Stat. Soc. Ser. B Stat. Methodol., 62(1):145–157, January 2000. doi:10.1111/1467-9868.00225.
[33] F. Jelinek, R. L. Mercer, L. R. Bahl, and J. K. Baker. Perplexity—a measure of the difficulty of speech recognition tasks. The Journal of the Acoustical Society of America, 62(S1):S63, August 2005. doi:10.1121/1.2016299.
[34] R. A. Briggs. Normative Theories of Rational Choice: Expected Utility. In Edward N. Zalta and Uri Nodelman, editors, The Stanford Encyclopedia of Philosophy. Metaphysics Research Lab, Stanford University, Winter 2023 edition, 2023.
[35] Vladimir B. Braginsky, Yuri I. Vorontsov, and Kip S. Thorne. Quantum nondemolition measurements. Science, 209(4456):547–557, 1980. doi:10.1126/science.209.4456.547.
[36] Pieter Kok, Hwang Lee, and Jonathan P. Dowling. Single-photon quantum-nondemolition detectors constructed with linear optics and projective measurements. Phys. Rev. A, 66:063814, Dec 2002. doi:10.1103/PhysRevA.66.063814.
[37] Jean-Claude Besse, Simone Gasparinetti, Michele C. Collodo, Theo Walter, Philipp Kurpiers, Marek Pechal, Christopher Eichler, and Andreas Wallraff. Single-shot quantum nondemolition detection of individual itinerant microwave photons. Phys. Rev. X, 8:021003, Apr 2018. doi:10.1103/PhysRevX.8.021003.
[38] Daniel J. Brod, Ernesto F. Galvão, Andrea Crespi, Roberto Osellame, Nicolò Spagnolo, and Fabio Sciarrino. Photonic implementation of boson sampling: a review. Advanced Photonics, 1(3):034001, 2019. doi:10.1117/1.AP.1.3.034001.
[39] Jonte R Hance. Fermion and boson pairs in beam-splitters and mach-zehnder interferometers. Journal of Physics: Photonics, 7(1):012001, nov 2024. doi:10.1088/2515-7647/ad8d96.
[40] Alex Monras and Matteo G. A. Paris. Optimal quantum estimation of loss in bosonic channels. Physical Review Letters, 98:160401, 2007. doi:10.1103/PhysRevLett.98.160401.
[41] Gerardo Adesso, Fabrizio Dell'Anno, Silvio De Siena, Fabrizio Illuminati, and L. A. M. Souza. Optimal estimation of losses at the ultimate quantum limit with non-Gaussian states. Physical Review A, 79:040305, 2009. doi:10.1103/PhysRevA.79.040305.
[42] Jonte R. Hance, Jakov Krnic, and Jan Åke Larsson. Noncontextual versus contextual interferometry, 2026. URL: https://arxiv.org/abs/2601.13109, arXiv:2601.13109.
[43] Graeme Mitchison and Serge Massar. Absorption-free discrimination between semitransparent objects. Physical Review A, 63:032105, 2001. doi:10.1103/PhysRevA.63.032105.
[44] Serge Massar, Graeme Mitchison, and Stefano Pironio. Minimal absorption measurements. Physical Review A, 64:062303, 2001. doi:10.1103/PhysRevA.64.062303.
[45] Paul Kwiat, Harald Weinfurter, Thomas Herzog, Anton Zeilinger, and Mark A. Kasevich. Interaction-free measurement. Physical Review Letters, 74:4763–4766, 1995. doi:10.1103/PhysRevLett.74.4763.
[46] P. G. Kwiat, A. G. White, J. R. Mitchell, O. Nairz, G. Weihs, H. Weinfurter, and A. Zeilinger. High-efficiency quantum interrogation measurements via the quantum Zeno effect. Physical Review Letters, 83:4725–4728, 1999. doi:10.1103/PhysRevLett.83.4725.
[47] You Zhou and Man-Hong Yung. Interaction-free measurement as quantum channel discrimination. Physical Review A, 96:062129, 2017. doi:10.1103/PhysRevA.96.062129.
[48] Leslie Pack Kaelbling, Michael L. Littman, and Anthony R. Cassandra. Planning and acting in partially observable stochastic domains. Artificial Intelligence, 101(1–2):99–134, 1998. doi:10.1016/S0004-3702(98)00023-X.
[49] Onur Hosten, Matthew T. Rakher, Julio T. Barreiro, Nicholas A. Peters, and Paul G. Kwiat. Counterfactual quantum computation through quantum interrogation. Nature, 439:949–952, 2006. doi:10.1038/nature04523.
Appendix A: Practical guidance for numerical simulation of games
While a numerical simulators of games with basic strategies are relatively straightforward to program, there are two potential pitfalls that we wish to note for researchers wishing to reproduce or extend our analysis. Firstly, games conclude when , which is exactly unity for and exactly zero for all . Of course, the standard 64-bit floating point arithmetic used on the vast majority of computers rounds calculations at the significant figure, and so calculations of that should result in zero analytically, rarely do numerically, most often under or over-shooting over-shoot (in the latter case producing negative probabilities). To prevent this, it is necessary to introduce a cut-off to the calculations. We have found that such calculations that should return zero analytically, usually return a value of magnitude numerically. To ensure these are instead evaluated as zero without creating other issues, we set any posterior probability calculated to be less than to zero, and renormalise the rest accordingly. This cut-off has a side effect that should be kept in mind when reading game-length statistics: a strategy whose posterior converges geometrically towards a single location without ever ruling out the alternatives (see Section IVA) will be recorded as having finished once the alternatives fall below the cut-off, at a turn number set by the cut-off rather than by the strategy. (However, with the cut-off set as described, we have found this happens only for game lengths far longer than we have considered in our analysis.)
Second, the job of an information gain optimization algorithm is to select the state sampled with the maximum expected information gain. However, symmetry in the problem can result in two or more sampled states with the same maximal analytic information gain. For instance, for the Hoffman interferometer (which has a mir-ror symmetry down a central vertical axis), take an information gain optimized choice of blockage vectors algorithm. As we have discussed, the first turn will always be . If the outcome of this turn is , then the second choice of input state becomes ambiguous. Input state results in the same analytic expected information gain as , and these are higher than any other value. Numerically however, due to the order inherent in a computer program, one or the other will always be picked. This breaks the symmetry of the interferometer, biasing game length so that games are on average shorter for some blockages and longer for others. To address this, we have inserted a control statement into the information gain optimisation algorithm that, if it finds the most optimal states to have an expected information gain within bits of each other, then chooses randomly between them. We have found this to be sufficient to restore the symmetry of game length, so that for instance the histograms of games with blockages at and , and , and and , in are the same in Fig. 8b.
Appendix B: Probability Tables for different Input States
See Table IV for tables giving for a photon arriving at different detectors (or being absorbed ), for different blocked paths as given by column headers, for different input states , for Hofmann's three-path interferometer [25]. Note there is a symmetry to these tables. For instance the and tables are the same with reversed columns if we also switch rows . The same is true for tables for input states and , and , and and . This suggests that for instance games played with a blockage at should have the same statistics (average game length for instance) as games played with a blockage at .
TABLE IV: Probability tables giving for Hofmann's three-path interferometer for a photon arriving at different detectors (or being absorbed ), for different blocked paths as given by column headers, for different input states .
| 1.000 | 0 | 0.333 | 0.667 | 0.083 | 0.250 | 0.250 | 0.369 | |
| 0 | 0.500 | 0.222 | 0.056 | 0.222 | 0.500 | 0.500 | 0.286 | |
| 0 | 0.500 | 0.222 | 0.056 | 0.681 | 0.125 | 0.125 | 0.244 | |
| 0 | 0 | 0.222 | 0.222 | 0.0139 | 0.125 | 0.125 | 0.101 | |
| 0.333 | 0 | 1.000 | 0 | 0.250 | 0.750 | 0.083 | 0.345 | |
| 0 | 0.167 | 0 | 0.167 | 0 | 0.167 | 0.167 | 0.095 | |
| 0 | 0.167 | 0 | 0.167 | 0.375 | 0.042 | 0.375 | 0.161 | |
| 0.667 | 0.667 | 0 | 0.667 | 0.375 | 0.042 | 0.375 | 0.399 | |
| 0 | 1.000 | 0 | 0 | 0.750 | 0.250 | 0.250 | 0.321 | |
| 0.500 | 0 | 0.500 | 0.500 | 0 | 0.500 | 0.500 | 0.286 | |
| 0.500 | 0 | 0.500 | 0.500 | 0.125 | 0.125 | 0.125 | 0.196 | |
| 0 | 0 | 0 | 0 | 0.125 | 0.125 | 0.125 | 0.054 | |
| 0.667 | 0 | 0 | 1.000 | 0 | 0 | 0.667 | 0.333 | |
| 0 | 0.333 | 0.333 | 0 | 0.333 | 0.333 | 0.333 | 0.238 | |
| 0 | 0.333 | 0.333 | 0 | 0.333 | 0.333 | 0 | 0.190 | |
| 0.333 | 0.333 | 0.333 | 0 | 0.333 | 0.333 | 0 | 0.238 | |
| 0.500 | 0.500 | 0.167 | 0.333 | 0.167 | 0.500 | 0.500 | 0.381 | |
| 0.250 | 0.250 | 0.0278 | 0.111 | 0.111 | 0 | 0 | 0.107 | |
| 0.250 | 0.250 | 0.694 | 0.444 | 0.694 | 0.250 | 0.250 | 0.405 | |
| 0 | 0 | 0.111 | 0.111 | 0.028 | 0.250 | 0.250 | 0.107 | |
| 0.727 | 0.182 | 0.545 | 0.273 | 0.545 | 0.182 | 0 | 0.351 | |
| 0.091 | 0.091 | 0.091 | 0.364 | 0 | 0 | 0.091 | 0.104 | |
| 0.091 | 0.364 | 0 | 0 | 0.364 | 0 | 0.091 | 0.130 | |
| 0.091 | 0.364 | 0.364 | 0.364 | 0.091 | 0.818 | 0.818 | 0.416 | |
| 0.100 | 0.100 | 0.300 | 0.600 | 0 | 0.400 | 0.400 | 0.271 | |
| 0.800 | 0.800 | 0.200 | 0.200 | 0.800 | 0.200 | 0.200 | 0.457 | |
| 0.050 | 0.050 | 0.050 | 0.200 | 0 | 0.200 | 0.200 | 0.107 | |
| 0.050 | 0.050 | 0.450 | 0 | 0.200 | 0.200 | 0.200 | 0.164 | |
| 0.182 | 0.727 | 0 | 0.273 | 0.545 | 0.182 | 0 | 0.273 | |
| 0.091 | 0.091 | 0.091 | 0 | 0.364 | 0 | 0.091 | 0.104 | |
| 0.364 | 0.091 | 0.091 | 0.364 | 0 | 0 | 0.091 | 0.143 | |
| 0.364 | 0.091 | 0.818 | 0.364 | 0.091 | 0.818 | 0.818 | 0.481 | |
| 0.250 | 0.250 | 0.083 | 0.667 | 0.333 | 0 | 1.000 | 0.369 | |
| 0.125 | 0.125 | 0.0139 | 0.222 | 0.222 | 0 | 0 | 0.101 | |
| 0.125 | 0.125 | 0.681 | 0.056 | 0.222 | 0.500 | 0 | 0.244 | |
| 0.500 | 0.500 | 0.222 | 0.056 | 0.222 | 0.500 | 0 | 0.286 | |
| 0.083 | 0.750 | 0.250 | 0 | 1.000 | 0 | 0.333 | 0.345 | |
| 0.375 | 0.083 | 0.375 | 0.667 | 0 | 0.667 | 0.667 | 0.399 | |
| 0.375 | 0.083 | 0.375 | 0.167 | 0 | 0.167 | 0 | 0.161 | |
| 0.167 | 0.167 | 0 | 0.167 | 0 | 0.167 | 0 | 0.095 | |
| 0.250 | 0.250 | 0.750 | 0 | 0 | 1.000 | 0 | 0.321 | |
| 0.125 | 0.125 | 0.125 | 0 | 0 | 0 | 0 | 0.054 | |
| 0.125 | 0.125 | 0.125 | 0.500 | 0.500 | 0 | 0.500 | 0.268 | |
| 0.500 | 0.500 | 0 | 0.500 | 0.500 | 0 | 0.500 | 0.357 | |
| 0.500 | 0.500 | 0.167 | 0.333 | 0.667 | 0 | 0 | 0.310 | |
| 0.250 | 0.250 | 0.694 | 0.444 | 0.111 | 1.000 | 1.000 | 0.536 | |
| 0.250 | 0.250 | 0.028 | 0.111 | 0.111 | 0 | 0 | 0.107 | |
| 0 | 0 | 0.111 | 0.111 | 0.111 | 0 | 0 | 0.048 | |
| 0 | 0 | 0.667 | 0.333 | 0.167 | 0.500 | 0.500 | 0.310 | |
| 0 | 0 | 0.111 | 0.111 | 0.111 | 0 | 0 | 0.048 | |
| 0 | 0 | 0.111 | 0.111 | 0.028 | 0.250 | 0.250 | 0.107 | |
| 1.000 | 1.000 | 0.111 | 0.444 | 0.694 | 0.250 | 0.250 | 0.536 | |
| 0 | 0.667 | 0.222 | 0.111 | 0.222 | 0.667 | 0 | 0.270 | |
| 0.333 | 0.333 | 0.037 | 0.148 | 0.593 | 0 | 0.333 | 0.254 | |
| 0.333 | 0 | 0.148 | 0.593 | 0.148 | 0 | 0.333 | 0.032 | |
| 0.333 | 0 | 0.593 | 0.148 | 0.037 | 0.333 | 0.333 | 0.254 | |
| 0.055 | 0.500 | 0.167 | 0.333 | 0.167 | 0.500 | 0.055 | 0.254 | |
| 0.444 | 0.444 | 0.111 | 0.111 | 0.694 | 0.111 | 0.250 | 0.298 | |
| 0.250 | 0.111 | 0.111 | 0.444 | 0.111 | 0.111 | 0.250 | 0.151 | |
| 0.250 | 0.028 | 0.694 | 0.111 | 0.111 | 0.444 | 0.444 | 0.298 | |
| 0.250 | 0.250 | 0.083 | 0.667 | 0.083 | 0.250 | 0.250 | 0.262 | |
| 0.500 | 0.500 | 0.222 | 0.056 | 0.681 | 0.125 | 0.125 | 0.315 | |
| 0.125 | 0.125 | 0.014 | 0.222 | 0.014 | 0.125 | 0.125 | 0.107 | |
| 0.125 | 0.125 | 0.681 | 0.056 | 0.222 | 0.500 | 0.500 | 0.315 | |