Skip to main content
Log in

Quantum Bayesian Decision-Making

  • Published:
Foundations of Science Aims and scope Submit manuscript

Abstract

As a compact representation of joint probability distributions over a dependence graph of random variables, and a tool for modelling and reasoning in the presence of uncertainty, Bayesian networks are of great importance for artificial intelligence to combine domain knowledge, capture causal relationships, or learn from incomplete datasets. Known as a NP-hard problem in a classical setting, Bayesian inference pops up as a class of algorithms worth to explore in a quantum framework. This paper explores such a research direction and improves on previous proposals by a judicious use of the utility function in an entangled configuration. It proposes a completely quantum mechanical decision-making process with a proven computational advantage. A prototype implementation in Qiskit (a Python-based program development kit for the IBM Q machine) is discussed as a proof-of-concept.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Notes

  1. Notice, that the use of the density matrix notation with projectors is equivalent to the description of the measurement in the Dirac notation:

    $$\begin{aligned} \langle {Var_1=true,Var_2=true,\ldots }|{\varPsi '}\rangle \equiv Tr(P_0 * \rho _{\varPsi '}) \end{aligned}$$
    (12)

    The matrix density notation was not required, as we are not dealing with mixed quantum states. However, it helped, later on, to expose the main ideas more clearly.

  2. It is interesting to mention that the major companies investing in quantum computing are constructing devices based on different technologies. Microsoft devices are based on topological quantum computing (Nayak et al. 2008), while Intel is exploring spin qubits (Vandersypen et al. 2017).

References

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Michael de Oliveira.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

This work is financed by the ERDF–European Regional Development Fund through the Operational Programme for Competitiveness and Internationalisation–COMPETE 2020 Programme and by National Funds through the Portuguese funding agency, FCT, within project POCI-01-0145-FEDER-030947. The first author was further supported by project NORTE-01-0145-FEDER-000037, funded by Norte Portugal Regional Operational Programme (NORTE 2020), under the PORTUGAL 2020 Partnership Agreement.

Appendix

Appendix

1.1 A Complexity Comparison

The decision-making processes we aim at comparing require inequality (50) to be satisfied. It assures that the decision maker chooses with certainty the best action.

$$\begin{aligned} \forall _{n{\setminus } \{max\}} EU(action_{max}) - EU(action_n) > \delta _{action_{max}} + \delta _{action_{n}} \end{aligned}$$
(50)

Thus, to compare Process A and Process B it is necessary to consider all terms that are different. Therefore, the error term \(\delta _a\) for Process A is related to directly sampling values for the expected utilities, while in Process B the expected utility is determined indirectly. For this reason, in Process B it is necessary to apply error propagation rules:

$$\begin{aligned} EU(a|e)+\delta _{EU(a|e)}= \sum _{R} (P(Result=r|a,e)+\delta _b)*U(r) \end{aligned}$$
(51)

Before applying error propagation to this equation, we need to normalize it so that EU(a|e)/k is equal to P(a).

$$\begin{aligned} P(a)+\delta _a= \sum _{R} (P(Result=r|a,e)+\delta _b)*F(r) \end{aligned}$$
(52)

where the normalization function (F(r)) is expressed as,

$$\begin{aligned} F(r)=\frac{U(r)}{\sum _a\sum _r U(r)*P(r|a,e)} \end{aligned}$$
(53)

Here, again, the mean value of U(r) is used:

$$\begin{aligned} F(r)=\frac{U(r)}{\sum _a\sum _r P(r|a,e)*U(r)}=\frac{U(r)}{\sum _a \frac{1}{N_r}} =\frac{U(r)}{\frac{N_a}{N_r}}= \frac{N_r*U(r)}{N_a} \end{aligned}$$
(54)
$$\begin{aligned} F(r)= \frac{1}{N_a} \end{aligned}$$
(55)

Expressing the equation that determines the error term \(\delta _a\) as a function of the error term \(\delta _b\) yields

$$\begin{aligned} \delta _a=\sqrt{ \sum _{R} \delta _b^2*F(r)^2} \end{aligned}$$
(56)

Using Eq. (55) we obtain:

$$\begin{aligned} \delta _a=\sqrt{ \sum _{R} \delta _b^2*{(\frac{1}{N_a})}^2} \end{aligned}$$
(57)

Then, assuming that \(\delta _b\) is similar, which is in favor of Process B because it minimizes the \(\delta _a\) term:

$$\begin{aligned} \delta _a=\sqrt{ N_r*\delta _b^2*{(\frac{1}{N_a})}^2} \end{aligned}$$
(58)

yielding,

$$\begin{aligned} \delta _a={(\frac{\sqrt{ N_r}}{N_a})}*\delta _b \end{aligned}$$
(59)

With the relation between the error terms determined, it is possible to compare the difference of the computational effort involved in both processes, assuming again the mean terms for the probabilities:

$$\begin{aligned} \sqrt{\frac{N_a}{N_r}}*\frac{A_{r,\alpha }*\frac{1}{N_r}*(1-\frac{1}{N_r})*\delta _a^2*N_a}{A_{a,\alpha }* \frac{1}{N_a}*(1-\frac{1}{N_a})*\delta _b^2} + \dfrac{2*N_a*N_r}{n*2^m*\sqrt{\dfrac{N_r}{P(e)}}*\dfrac{A_{a,\alpha }*\frac{1}{N_a}*(1-\frac{1}{N_a})}{\delta _a^2}} \end{aligned}$$
(60)

Let us call the term on the right,

$$\begin{aligned} t_1= \dfrac{2*N_a*N_r}{n*2^m*\sqrt{\dfrac{N_r}{P(e)}}*\dfrac{A_{a,\alpha }*\frac{1}{N_a}*(1-\frac{1}{N_a})}{\delta _a^2}} \end{aligned}$$
(61)

Using 59,

$$\begin{aligned} \sqrt{\frac{N_a}{N_r}}*\frac{N_r}{N_a}*\frac{A_{r,\alpha }*\frac{1}{N_r}*(1-\frac{1}{N_r})}{A_{a,\alpha }*\frac{1}{N_a}*(1-\frac{1}{N_a})} + t_1 \end{aligned}$$
(62)

also,

$$\begin{aligned} \sqrt{\frac{N_r}{N_a}}*\frac{A_{r,\alpha }*\frac{1}{N_r}*(1-\frac{1}{N_r})}{A_{a,\alpha }*\frac{1}{N_a}*(1-\frac{1}{N_a})}+ t_1 \end{aligned}$$
(63)

and,

$$\begin{aligned} \sqrt{\frac{N_r}{N_a}}*\frac{A_{r,\alpha }*(\frac{1}{N_r}-\frac{1}{N_r^2})}{A_{a,\alpha }*(\frac{1}{N_a}-\frac{1}{N_a^2})} + t_1 \end{aligned}$$
(64)

From Inglot (2010) we obtain a lower bound for \(A_{\alpha ,k}\). Although these terms are different for distinct values of \(\alpha\), we consider the one where \(\alpha\) is not leaning to zero too fast. Thus,

$$\begin{aligned} A_{\alpha ,k} \ge k + 2*\log {\frac{1}{\alpha }} - \frac{5}{2} \end{aligned}$$
(65)

With this equation it is possible to define a better value for the difference between the computational efforts,

$$\begin{aligned} \sqrt{\frac{N_r}{N_a}}*\frac{(N_r + 2*\log {\frac{1}{\alpha }} - \frac{7}{2})*(\frac{1}{N_r}-\frac{1}{N_r^2})}{(N_a + 2*\log {\frac{1}{\alpha }}-\frac{7}{2})*(\frac{1}{N_a}-\frac{1}{N_a^2})} + t_1 \end{aligned}$$
(66)

As

$$\begin{aligned} \lim _{N_r\rightarrow \infty } (N_r + 2*\log {\frac{1}{\alpha }} - \frac{7}{2})*(\frac{1}{N_r}-\frac{1}{N_r^2})=1 \end{aligned}$$
(67)

and,

$$\begin{aligned} \lim _{N_a\rightarrow \infty } (N_a + 2*\log {\frac{1}{\alpha }}-\frac{7}{2})*(\frac{1}{N_a}-\frac{1}{N_a^2})=1 \end{aligned}$$
(68)

it is possible to approximate the expression to

$$\begin{aligned} \sqrt{\frac{N_r}{N_a}}*\frac{(N_r + 2*\log {\frac{1}{\alpha }} - \frac{7}{2})*(\frac{1}{N_r}-\frac{1}{N_r^2})}{(N_a + 2*\log {\frac{1}{\alpha }}-\frac{7}{2})*(\frac{1}{N_a}-\frac{1}{N_a^2})} + t_1 \approx \sqrt{\frac{N_r}{N_a}} +\dfrac{2*N_a*\sqrt{N_r*P(e)}*\delta _a^2}{n*2^m} \end{aligned}$$
(69)

Writing the term of \(\delta _a\) as a function of its dimension and a factor that adjusts the precision,

$$\begin{aligned} \delta _a = \dfrac{1}{c*N_a} \end{aligned}$$
(70)

we obtain,

$$\begin{aligned} \sqrt{\frac{N_r}{N_a}} +\dfrac{2*\sqrt{N_r*P(e)}}{N_a*c^2*n*2^m} \end{aligned}$$
(71)

Rewriting this the expression as,

$$\begin{aligned} \sqrt{\frac{N_r}{N_a}} * (1+\dfrac{2*\sqrt{P(e)}}{\sqrt{N_a}*c^2*n*2^m}) \end{aligned}$$
(72)

Because,

$$\begin{aligned} \dfrac{2*\sqrt{P(e)}}{\sqrt{N_a}*c^2*n*2^m} \ge 0 \end{aligned}$$
(73)

for any value of the composing variables, then,

$$\begin{aligned} \sqrt{\frac{N_r}{N_a}} * (1+\dfrac{2*\sqrt{P(e)}}{\sqrt{N_a}*c^2*n*2^m}) \ge \sqrt{\frac{N_r}{N_a}}. \end{aligned}$$
(74)

we prove that the relation between Process A and B is under bounded by,

$$\begin{aligned} \sqrt{\frac{N_r}{N_a}} \end{aligned}$$
(75)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

de Oliveira, M., Barbosa, L.S. Quantum Bayesian Decision-Making. Found Sci 28, 21–41 (2023). https://doi.org/10.1007/s10699-021-09781-6

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10699-021-09781-6

Keywords

Navigation