An Exploratory Simulation Study Comparing Classical and Quantum Bayesian Networks for Industrial Human–Robot Interaction
Abstract:
Bayesian networks are widely used for robot decision-making under uncertainty, and quantum circuits offer an alternative way of representing the same probability distributions. This exploratory study compares a classical Bayesian network with its quantum Bayesian network representation for a simple industrial human–robot interaction task. An operator-following transport robot was used as a tutorial example, in which two binary sensing variables determine a follow or wait action. The classical network was solved by marginalization to obtain a reference follow probability. The prior and conditional probabilities were then encoded as rotation angles and controlled rotations, and the resulting quantum network was simulated in Qiskit by exact state-vector computation and with 10,000 measurement shots. The exact quantum simulation reproduced the classical follow probability of 0.659 to numerical precision. In three sensitivity cases, the prior of the vision-based observation was changed to 0.30 and 0.90, and a more conservative policy was adopted when the two observations disagreed. These cases gave follow probabilities of 0.5195, 0.7985 and 0.549, again with exact agreement between the two representations, and the largest finite-shot deviation was 0.006. A change in a sensor prior required only a new state-preparation rotation, whereas a change in the decision policy required new controlled-rotation angles. The results indicate that the quantum network preserves the probabilistic relationships of the classical model, although it offers no computational advantage at this scale. The step-by-step derivation provides an accessible introduction to quantum Bayesian representations of robot decision models for readers familiar with classical probabilistic methods.1. Introduction
Robust decision-making under uncertainty is central to autonomous robotics, particularly in applications involving close interaction with humans. Mobile robots must interpret noisy or incomplete observations and translate them into appropriate actions [1], [2]. In a warehouse or workshop, an operator-assisted transport robot can carry tools or components while following a worker between workstations. The robot must distinguish movement cues from periods in which the operator remains at a workstation.
Classical Bayesian networks provide an interpretable representation of conditional dependencies and support inference through factorization and marginalization [3]. Such approaches are relevant to localization, robot decision-making and verification [4], [5]. Static conditional probability tables may require recalibration when operating conditions change. Quantum probability theory provides an alternative mathematical representation using amplitudes and operators [6], [7], [8], [9], [10], [11]. Quantum-enhanced Bayesian networks [12], [13] and quantum graphical models [14], [15] offer related but distinct extensions. The present work is restricted to a quantum network encoding of a classical probability distribution; it does not establish a general quantum graphical model or a quantum advantage.
The study builds on earlier work on Bayesian network extensions for robot decision-making [13], established quantum network representations of Bayesian networks [16], and Bayesian-network-based quantum procedures for failure risk analysis [17]. In contrast to introducing a new encoding algorithm, the emphasis here is on a compact industrial person-following example, an explicit numerical explanation of the rotation parameters, and validation of the resulting action probabilities under changes in sensing conditions and decision policy. The hypothesis tested is that the network preserves the classical probabilities for each selected parameter configuration. The remainder of the paper is organized as follows. Section 2 describes the scenario, the classical network and its quantum encoding. Section 3 compares the classical and quantum results and reports the sensitivity cases, and Section 4 discusses the scope and limitations of the study. Section 5 outlines directions for future work, and Section 6 concludes the paper.
2. Methodology
Consider a mobile transport robot accompanying an operator between industrial workstations. Let the binary variable $S_1$ denote a vision-based motion observation and $S_2$ a proximity or motion-confidence observation. A value of 1 indicates detected movement and 0 indicates no detected movement. The action $A$ is 1 for follow and 0 for wait. These variables represent a high-level decision model, not a safety controller. Collision avoidance, safe separation, speed limits and emergency stops must be handled independently in a deployed system.
A Bayesian network is a directed acyclic graph whose joint distribution factorizes over the parents of each node. For the independent sensing nodes $S_1$ and $S_2$ and their child $A$, the factorization is:
Table 1, Table 2, and Table 3 specify the numerical example used throughout the paper. The values are treated as illustrative modeling assumptions, not estimates from industrial measurements. The priors represent the frequency of positive observations, while the conditional probabilities describe a policy that favors following when both observations indicate movement.
| $\boldsymbol{S_1}$ | Probability |
|---|---|
| 0 | 0.4 |
| 1 | 0.6 |
| $\boldsymbol{S_2}$ | Probability |
|---|---|
| 0 | 0.3 |
| 1 | 0.7 |
| $\boldsymbol{S_1}$ | $\boldsymbol{S_2}$ | $\boldsymbol{P(A=1\mid S_1,S_2)}$ | $\boldsymbol{P(A=0\mid S_1,S_2)}$ |
|---|---|---|---|
| 0 | 0 | 0.1 | 0.9 |
| 0 | 1 | 0.5 | 0.5 |
| 1 | 0 | 0.6 | 0.4 |
| 1 | 1 | 0.95 | 0.05 |
Marginalization gives the reference probability of following:
The complementary probability of waiting is 0.341. The configuration (1,1) contributes most strongly to the marginal follow probability.
Step 1. Representing an observation as a quantum state
Our classical network describes uncertainty about observations and actions. In the quantum network representation, each variable is assigned one representation: $q_0$ represents the vision observation $S_1$, $q_1$ the proximity or motion-confidence observation $S_2$, and $q_2$ the action $A$. The basis states $\lvert 0\rangle$ and $\lvert 1\rangle$ retain the meanings defined in Section 2.1. Such a representation is not a physical sensor; it is a computational analogue of the probability distribution assigned to that sensor.
A normalized state is represented by complex amplitudes, with computational-basis probabilities determined by Born’s rule [18], [19]. For real, nonnegative amplitudes and a binary probability $p$, the state and its rotation representation are defined as:
where, $\sqrt{1-p}$ and $\sqrt{p}$ are the amplitudes of the basis states $\lvert 0\rangle$ and $\lvert 1\rangle$, and their squares, $1-p$ and $p$, are the corresponding probabilities. The rotation about the $y$ axis through an angle $\theta$ is represented by the matrix
Applying this rotation to the initial state $\lvert 0\rangle$ gives
Comparing Eq. (6) with Eq. (4), the required state is obtained when $\cos(\theta/2)=\sqrt{1-p}$ and $\sin(\theta/2)=\sqrt{p}$, which gives the rotation angle
The two expressions in Eq. (7) are equivalent, because $\tan(\theta/2)=\sin(\theta/2)/\cos(\theta/2)=\sqrt{\frac{p}{1-p}}$. The second form is the one used in Step 2.
For example, the vision sensor has $P$($S_1$ = 1) = 0.60 and $P$($S_1$ = 0) = 0.40. The amplitudes are therefore $\sqrt{0.4}$ = 0.632456 and $\sqrt{0.6}$ = 0.774597. Their squares, rather than the amplitudes themselves, are the probabilities. Starting with $\lvert 0\rangle$, an application of $R_y$(1.772154) prepares this state [20]. Likewise, the second sensor, with positive observation probability 0.70, is prepared using $R_y$(1.982313). Preparing these two representations independently gives the four sensory configurations with probabilities 0.12, 0.28, 0.18 and 0.42.
Step 2. Encoding the conditional action probabilities
The robot decision variable $A$ depends on two parent variables $S_1$ and $S_2$ which are defined through the classical conditional probabilities. For example, for $A=1$, we have:
\[ P(A=1\mid S_1=i,S_2=j),\quad i,j\in\{0,1\} \]
To encode this distribution into quantum states, we can define:
\[ \lvert\psi_{A\mid S_1=i,S_2=j}\rangle =\sqrt{p_{0,i,j}}\lvert 0\rangle +\sqrt{p_{1,i,j}}\lvert 1\rangle \]
where,
\[ p_{0,i,j}=P(A=0\mid S_1=i,S_2=j),\qquad p_{1,i,j}=P(A=1\mid S_1=i,S_2=j) \]
This state describes the action representation for a given parent configuration $(i,j)$, and it is normalized because $p_{0,i,j}+p_{1,i,j}=1$.
To encode these conditional probabilities into a quantum rotational mapping, we assign a rotation angle $\theta_{A,i,j}$ for each parent configuration $(i,j)$ such that:
\[ \begin{aligned} \sin^2\left(\frac{\theta_{A,i,j}}{2}\right) &=P(A=1\mid S_1=i,S_2=j)\\ \cos^2\left(\frac{\theta_{A,i,j}}{2}\right) &=P(A=0\mid S_1=i,S_2=j) \end{aligned} \]
These two conditions follow from comparing Eqs. (4) and (5), with $p$ replaced by the conditional follow probability $P(A=1\mid S_1=i,S_2=j)$.
Taking the ratio of the sine and cosine relations yields:
\[ \tan\left(\frac{\theta_{A,i,j}}{2}\right) =\sqrt{\frac{P(A=1\mid S_1=i,S_2=j)} {P(A=0\mid S_1=i,S_2=j)}} \]
Following similar procedure to that of the previous step, the corresponding rotation angles can be resolved as:
As a numerical example, using the conditional probability of the previous section defined in Table 3 and Eq. (8), we compute each angle explicitly as a function of the state of the node $A$’s parents. For example, for the case when $(S_1,S_2)=(0,0)$, we have:
\[ \theta_{A,0,0} =2\tan^{-1}\left(\sqrt{\frac{0.10}{0.90}}\right) =2\tan^{-1}(0.3333) \approx 2(0.3218)=0.643501 \]
Similar computation can be used for the remaining rotational angles which are shown in Table 4.
| $\boldsymbol{S_1}$ | $\boldsymbol{S_2}$ | Angle (rad) |
|---|---|---|
| 0 | 0 | 0.643501 |
| 0 | 1 | 1.570796 |
| 1 | 0 | 1.772154 |
| 1 | 1 | 2.690566 |
Step 3. Implementing the conditional dependencies
This section presents a Qiskit simulation of the Bayesian network introduced earlier. The network contains two binary sensing nodes, $S_1$ and $S_2$, and one binary robot decision node, $A$. The objective is to encode the classical Bayesian network into a quantum network and compare the resulting measurement probability of $A=1$ with the classical marginal value obtained previously as $P(A=1)=0.659$.
In the classical model, inference is performed by summing over the parent configurations:
\[ P(A=1)=\sum_{S_1,S_2}P(S_1)P(S_2)P(A=1\mid S_1,S_2) \]
This is the same marginalization as in Eq. (2), now written with the parent variables $S_1$ and $S_2$ as the summation indices.
In the quantum network representation, the prior probabilities of $S_1$ and $S_2$ are encoded using rotations, while the conditional probability table of $A$ is encoded using controlled rotations [16], [17]. Measurement of the robot decision representation $A$ provides the quantum network estimate of the robot's person-following probability.
Qiskit is used because it provides a modular software framework for constructing, simulating and visualizing quantum networks [21]. The Aer simulator supports local execution of quantum networks, while Qiskit's visualization tools allow direct inspection of network diagrams, measurement histograms and state probabilities [20], [22].
Figure 1 presents the quantum simulation network representation of the same Bayesian network implemented in Qiskit. The prior probabilities of the sensing variables are encoded using rotations, while the conditional probability table of the robot decision node is implemented using controlled rotation mapping (Appendix details an example walk-through of the above network).

3. Results
To demonstrate the numerical consistency of the quantum network representation of the Bayesian network, the classical inference results are compared with those obtained through quantum network simulation using the Qiskit computational environment. The objective of this comparison is to examine whether the quantum network preserves the probabilistic relationships specified by the original Bayesian network.
The quantum simulation shown in Figure 1 is constructed using representations of the two sensory observations and the corresponding robot action. The input sensor representation is based on the prior probability distributions given in Table 1 and Table 2. The conditional probabilities associated with the robot action, presented in Table 3, are subsequently mapped into the corresponding rotation angles listed in Table 4. Figure 2 illustrates the relationship between these conditional probabilities and their associated quantum rotation angles.

For the classical Bayesian network, the marginal probability of the robot following the human operator is obtained by marginalizing over all possible configurations of the two sensory observations. Figure 3 illustrates the individual contributions of these configurations to the resulting marginal probability. For the selected numerical example, the classical probability of the robot following the operator is 0.659, while the probability associated with the wait action is 0.341.

Two complementary quantum simulation procedures are considered. The first employs exact state vector computation using the Qiskit Statevector class, from which the marginal probability of the action representation is extracted directly. The second employs the Qiskit AerSimulator with a state vector simulation method and 10,000 measurement shots. The simulator and transpiler random seeds are both set to 12682.
Table 5 presents a quantitative comparison between the classical analytical solution, the exact quantum state vector result, and the probability estimated from finite-shot quantum measurements.
Method | $\boldsymbol{P(A=1)}$ | Shots (0 = Exact) | Absolute Error |
|---|---|---|---|
Classical variable elimination | 0.659000 | 0 | 0.000000 |
Qiskit Statevector | 0.659000 | 0 | 1.110 $\times$ 10$^{\text{-16}}$ |
Qiskit Aer | 0.659000 | 10,000 | 0.000000 |
From an industrial intelligence perspective, this example illustrates how an existing probabilistic robot decision model can be systematically translated into a quantum computational representation while preserving the interpretation of its original sensory and action probability distributions. The purpose of this comparison is to demonstrate numerical equivalence and implementation feasibility rather than to establish a computational advantage over classical Bayesian inference.
To further investigate the numerical consistency and adaptability of the proposed quantum Bayesian network representation, a sensitivity analysis was conducted by introducing three additional parameter settings into the original simulation model. The objective is to examine how changes in sensory observation probabilities and conditional robot decision policies influence the resulting marginal probability of the follow action. The same three-node Bayesian network structure and quantum network architecture are retained throughout the analysis. For each scenario, the classical Bayesian inference result is compared with the corresponding exact Qiskit state vector probability and the probability estimated from finite-shot measurements using Qiskit AerSimulator.
The first two scenarios investigate variations in the prior probability of the vision-based sensor, $P(S_1=1)$, from its original value of 0.60 to 0.30 and 0.90, respectively, while maintaining the second sensor prior and all conditional action probabilities unchanged. As summarized in Table 6, the classical marginal probability of the follow action decreases from 0.6590 to 0.5195 when the first sensor prior is reduced to 0.30 and increases to 0.7985 when this prior is raised to 0.90. These variations can be interpreted as illustrative changes in the frequency of positive sensory observations associated with operator movements in an industrial environment. In the quantum network implementation, such changes require only an adjustment to the preparation rotation of the corresponding sensor representation, without modifying the controlled rotations associated with the robot action.
Case | Classical | Qiskit Exact | Aer Sampled | Exact Error | Sample Error |
|---|---|---|---|---|---|
Baseline | 0.659000 | 0.659000 | 0.659000 | 1.110 $\times$ 10$^{\text{-16}}$ | 0.000000 |
Reduced prior | 0.519500 | 0.519500 | 0.513500 | 0.000000 | 0.006000 |
Increased prior | 0.798500 | 0.798500 | 0.799500 | 2.220 $\times$ 10$^{\text{-16}}$ | 0.001000 |
Conservative disagreement | 0.549000 | 0.549000 | 0.544900 | 0.000000 | 0.004100 |
The third scenario considers a more conservative robot decision policy when the two sensory observations disagree. Specifically, the conditional follow probabilities for the configurations $(S_1,S_2)=(0,1)$ and $(1,0)$ are both reduced to 0.30, while the remaining conditional probabilities and sensor priors are retained at their original values. Under this modified policy, the marginal probability of the follow action decreases from 0.6590 to 0.5490, as reported in Table 6. Unlike the previous scenarios, this modification requires recalculating the controlled-rotation parameters associated with the action representation, since the conditional probability table has changed.
Figure 4 provides a graphical comparison of the classical Bayesian results, the exact Qiskit state vector probabilities, and the corresponding finite-shot estimates for the four operating conditions. The exact quantum results are expected to agree with the classical probabilities to numerical precision, demonstrating that the quantum network preserves the specified probabilistic relationships under changes in the model parameters. Small differences between the classical and sampled Qiskit results arise from the statistical variability associated with finite-shot measurements. The magnitude of these differences is quantified by the absolute sampling errors reported in Table 6.

These results illustrate two distinct mechanisms through which changes in industrial sensing and decision-making conditions can be represented within the proposed quantum Bayesian framework. Changes in sensor prior probabilities can be accommodated through adjustments to the sensor-state preparation rotations, whereas changes in the conditional decision policy require recalculation of the action-node controlled rotations. In both cases, the underlying network topology and quantum network architecture remain unchanged. The sensitivity analysis therefore demonstrates the numerical consistency and parameter adaptability of the proposed representation, rather than suggesting a computational advantage over conventional Bayesian inference.
4. Discussion
The primary objective of this study was to investigate how a classical Bayesian network, commonly used for probabilistic reasoning and decision-making, can be represented and simulated using a quantum computational framework. Rather than proposing a new quantum inference algorithm, the intention was to provide an accessible and systematic illustration of the relationship between classical conditional probabilities, quantum probability amplitudes, and the corresponding quantum mapping operations. The study was motivated by intelligent decision-making in industrial human–robot interaction, where robots must interpret uncertain sensory observations and select appropriate actions. A simplified operator-following mobile robot was considered as a representative application, in which two sensory observations contribute to the probabilistic selection of a follow or wait action.
An important aspect of the proposed approach is the direct correspondence between the structure of the classical Bayesian network and its quantum network representation. The prior probabilities associated with the two sensory observations are encoded through single rotations, while the conditional probability distribution governing the robot action is represented through controlled rotations. The numerical example demonstrates how the conditional probability table can be systematically translated into a sequence of quantum mappings without altering the probabilistic relationships defined by the original Bayesian model. This construction provides an accessible introduction to quantum Bayesian representations for readers familiar with probabilistic engineering models but less familiar with quantum network implementation.
The contribution of this study should also be considered in relation to existing research. The earlier work presented in the study [13] examined Bayesian network formulations and their extensions for robot decision-making. The present study builds upon this application-oriented perspective by providing an explicit quantum network implementation of a representative sensory-driven robot decision problem. The quantum network construction principles investigated in the study [16], together with related applications of quantum Bayesian procedures to industrial risk analysis in the study [17], provide important methodological context. The present contribution is distinguished primarily by its emphasis on an accessible numerical derivation, a direct interpretation of the quantum mapping parameters in terms of robot sensing and action probabilities, and a comparative simulation study involving changes in sensing conditions and decision policies. Accordingly, the contribution is best characterized as an application-oriented demonstration and verification of established quantum computational principles rather than the development of a fundamentally new quantum Bayesian algorithm.
Several limitations of the present study should be recognized. First, the adopted Bayesian network is intentionally simple, consisting of two binary sensory variables and one binary action variable. Although this structure is sufficient to illustrate the essential computational principles, practical industrial human–robot interaction may require additional sensory inputs, temporal dependencies, contextual information, and more complex decision policies. Second, the prior and conditional probabilities used in the numerical examples are illustrative model parameters rather than values obtained from calibrated industrial sensor measurements. Consequently, the numerical results demonstrate the behavior of the proposed computational representation but do not establish the performance, reliability, or safety of a physical robotic system. Third, the simulations are based on ideal quantum circuit operations and do not account for hardware noise, gate imperfections, or limitations associated with implementation on physical quantum processors.
5. Future Work
Future research may extend the present framework to larger Bayesian networks involving additional sensors, contextual variables, and sequential robot decisions. Experimental studies using calibrated sensor measurements and physical robotic platforms would also be valuable for evaluating its applicability under realistic industrial operating conditions. Further investigations may examine complex quantum amplitudes, relative phases, and alternative measurement operations, provided that their interpretation and potential benefits for robot decision-making are established through appropriate theoretical and experimental comparisons.
The present model treats the two sensing nodes as independent. In practice, vision-based and proximity observations of the same operator may be correlated, for example when a single obstruction affects both sensors. A natural extension is to allow a joint distribution of the two observations, which in the quantum network would require the second sensor representation to be prepared conditionally on the first. It would then be possible to examine how the follow probability under each decision policy changes when the agreement between the sensors varies while their individual detection rates remain fixed.
The conservative policy in Section 3.2 lowers the overall follow probability, but a lower follow probability is not in itself evidence of a better decision. Some of the avoided follow commands would occur while the operator is stationary, whereas others would occur while the operator is moving. Separating these two outcomes requires independent labels of operator motion and an estimate of the relative cost of an unnecessary follow command and a missed one. A cost-based comparison of this kind, using synchronized sensor records collected along an industrial transport route, could indicate when a more cautious policy is justified.
6. Conclusions
This study presented a systematic and application-oriented procedure for constructing and simulating a simple quantum Bayesian network for industrial human–robot interaction. Using an illustrative operator-following robot scenario, the work demonstrated how the prior and conditional probabilities of a classical Bayesian network can be translated into quantum state-preparation and controlled-rotation operations. The principal intention was to establish a transparent connection between familiar probabilistic decision models and their corresponding quantum network implementations, rather than to propose a new quantum inference algorithm.
The main contribution of this work lies in providing an accessible numerical demonstration of quantum Bayesian network construction and its interpretation within an industrial robot decision-making context. The agreement between classical and quantum simulation results establishes the consistency of the adopted representation, while the sensitivity examples illustrate its parameter adaptability. These findings provide a foundation for understanding the implementation of established quantum computational principles in probabilistic robot decision models, without implying a computational advantage over conventional Bayesian inference.
The numerical data supporting the findings of this study are included within the article. The simulation code is available from the corresponding author upon reasonable request.
The author declares no conflicts of interest.
AI-assisted tools were used to support language editing and to improve manuscript clarity. The author reviewed and verified the manuscript and takes responsibility for its final content.
The conditional dependence of $A$ on $S_1$ and $S_2$ is established through the required rotations, which are decomposed into a sequence of base and conditional increments as shown in the study [16]: (a) a base rotation $R_y(\theta_{00})$, (b) a controlled-$R_y$ mapping conditioned on $S_1=1$ with angle $\theta_{10}-\theta_{00}$, (c) a controlled-$R_y$ mapping conditioned on $S_2=1$ with angle $\theta_{01}-\theta_{00}$, and (d) a doubly-controlled correction rotation with angle $\theta_{11}-\theta_{10}-\theta_{01}+\theta_{00}$, applied when $S_1=1$ and $S_2=1$. This construction ensures that for each parent configuration $(S_1,S_2)$, the accumulated rotation equals $\theta_{ij}$.
From the classical Bayesian network of the previous section, we recall:
$\begin{array}{ll}P(A=1 \mid 0,0)=0.10, & P(A=1 \mid 0,1)=0.50 \\ P(A=1 \mid 1,0)=0.60, & P(A=1 \mid 1,1)=0.95\end{array}$
These map to rotation angles approximately:
$\begin{array}{ll}\theta_{A, 0,0} \approx 0.6435, & \theta_{A, 0,1} \approx 1.5708 \\ \theta_{A, 1,0} \approx 1.7722, & \theta_{A, 1,1} \approx 2.6906\end{array}$
Thus, the simulation network starts with a small base rotation of $0.64$ rad corresponding to weak evidence for following when no sensor is active. Controlled rotations then incrementally increase this angle as evidence from $S_1$ and $S_2$ becomes stronger. When both sensors are active, the total rotation reaches $\theta_{11}$, corresponding to a high follow probability of 0.95.
The correctness of this construction relies on a key property of single-axis rotations. The $R_y(\theta)$ mapping is defined as:
\[ R_y(\theta)=e^{-i\frac{\theta}{2}Y} \]
$Y$ is the Pauli-Y matrix. Because all rotations are generated by the same operator, they commute and combine additively:
\[ R_y(\alpha)R_y(\beta)=R_y(\alpha+\beta) \]
This ensures that sequentially applied rotations accumulate their angles. For example, when $(S_1,S_2)=(1,1)$, the total applied rotation is:
$\begin{aligned} & \theta_{A, 0,0}+\left(\theta_{A, 1,0}-\theta_{A, 0,0}\right) \\ & +\left(\theta_{A, 0,1}-\theta_{A, 0,0}\right) \\ & +\left(\theta_{A, 1,1}-\theta_{A, 1,0}-\theta_{A, 0,1}+\theta_{A, 0,0}\right) \\ & =\theta_{11}\end{aligned}$
To further illustrate that sequential rotations accumulate correctly, consider the configuration $(S_1,S_2)=(1,0)$. From the mapping construction, the applied rotations are $R_y(\theta_{00})$ and $R_y(\theta_{10}-\theta_{00})$ (since $S_1=1$), while no rotation associated with $S_2$ is applied because $S_2=0$. The total accumulated rotation is therefore:
\[ \theta_{00}+\theta_{10}-\theta_{00}=\theta_{10} \]
Using the values from the classical Bayesian network, we obtain:
\[ \theta_{A,0,0}\approx 0.64,\qquad \theta_{A,1,0}\approx 1.77 \]
\[ 0.64+1.77-0.64=1.77=\theta_{A,1,0} \]
and the measurement probability is:
\[ P(A=1\mid S_1=1,S_2=0) =\sin^2\left(\frac{\theta_{A,1,0}}{2}\right) =0.60 \]
which exactly matches the corresponding entry in the classical conditional probability table.
