1 Introduction

In the quantum Internet, the quantum nodes share quantum entanglement among one other, which provides an entangled ground-base network structure for the various quantum networking protocols [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]. In a quantum Internet scenario, the aim of the quantum repeater elements is to extend the range of entanglement through several steps [20,21,22,23,24,25,26,27,28,29,30,31,32,33]. The available entanglement at the end points has several critical parameters, most importantly the fidelity of the established entanglement (fidelity of entanglement [34, 35]) and the probability of the existence of a given entangled connection [1, 8]. In an experimental setting, these critical parameters are time varying since the noise of local quantum memories that store the shared entanglement in the quantum nodes evolves over time, and the probability of entangled connections (shared entanglement between a node pair) also changes dynamically [1, 5, 6, 36,37,38,39,40,41,42,43,44,45,46].

In the quantum Internet, several entangled paths (paths formulated by several entangled connections) could exist between a given source–target quantum node pair [1, 5, 6, 45, 47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63]. This fact allows us to introduce a method that utilizes this multipath property to change these critical parameters via the number of entangled paths associated with a given end-to-end node pair: the available fidelity of entanglement and the probability of an entangled connection. The model utilizes the reliability (probability) of the entangled connections and the entanglement fidelity coefficient as primary metrics. The decomposition is motivated by the fact that a maximization of the entanglement throughput (number of transmitted Bell states per a given time unit at a particular fidelity) parameter requires also the maximization of the connection probability and the entanglement fidelity.

In this work, we define a method for entanglement access control in entangled quantum networks. The entanglement differentiation is achieved via a controlled variability of entanglement fidelity and entangled connection probability between source and target quantum nodes in a quantum repeater network. The proposed approach allows us to define different priority levels of entanglement access for the legal users of the quantum network with respect to the number of available paths. The number of available paths injects an additional degree of freedom to the quantum network, allowing for the selection of the entanglement fidelity and connection reliability for the end nodes. In a straightforward application of our method, the high-priority demands are associated with high fidelity and high connection probability in the end nodes of the user, while the lower-priority users get lower fidelity and lower connection probability in their end nodes. To achieve the differentiation, we define the appropriate cost and path cost functions and the criteria regarding the entanglement fidelity and connection probability for the quantum nodes and entangled connections of the entangled path. The entanglement differentiation utilizes a different number of paths between the source and target nodes allowing a distinction to be made between single-path and multipath scenarios. In a single-path setting, only one entangled path exists between source and target nodes, and therefore, the fidelity of entanglement and the probability of existence of the entangled connections between the end nodes are determined only by the nodes of the given entangled path. In a multipath scenario, more than one path exists from a source to a target.

In our model, a given criterion regarding the entanglement fidelity of the local nodes has to be satisfied for all node pairs on the path referred to as integrated connection probability and fidelity criterion for all entangled connections of the entangled path. The integrated criterion allows us to reach a given entanglement fidelity and a given connection probability between the end nodes of the quantum network.

Our solution utilizes time-varying parameters since the cost functions deal with the evolution of the entanglement fidelity parameter and the connection probabilities, which evolve over time. We define the entanglement access control algorithm for an arbitrary topology quantum repeater network. We also reveal the computational complexity of the method.

The novel contributions of our manuscript are as follows:

  1. 1.

    We define a method to achieve controlled entanglement accessibility in the quantum Internet.

  2. 2.

    The algorithm defines entangled paths between the source and target nodes in function of a particular path cost function.

  3. 3.

    The path cost is determined by an integrated criterion on the entanglement fidelity and the probability of entangled connection.

  4. 4.

    The proposed scheme has moderate complexity, providing an efficient entanglement accessibility differentiation, allowing for the construction of different priority levels of entanglement accessibility for users.

  5. 5.

    The results can be straightforwardly applied in the entangled quantum networks of the quantum Internet.

This paper is organized as follows. In Sect. 2, the basic components of the model are summarized. In Sect. 3, the entanglement accessibility methods are discussed. Section 4 proposes the integrated criterion related to entanglement fidelity. Section 5 defines the entanglement access control algorithm. Finally, Sect. 6 concludes the results.

2 System model

2.1 Entangled network

The quantum Internet setting is modeled as follows [8]. Let V refer to the nodes of an entangled quantum network N, with a transmitter quantum node \(A\in V\), a receiver quantum node \(B\in V\), and quantum repeater nodes \(R_i\in V\), \(i=1,\dots ,q\). Let \(E=\left\{ E_j\right\} \), \(j=1,\dots ,m\), refer to a set of edges between the nodes of V, where each \(E_j\) identifies an \(\text {L}_l\)-level entangled connection, \(l=1,\dots ,r\), between quantum nodes \(x_j\) and \(y_j\) of edge \(E_j\), respectively. The entanglement levels of the entangled connections in the entangled quantum network structure are defined as follows.

2.1.1 Entanglement levels in the quantum Internet

In a quantum Internet setting, an \(N=\left( V,E\right) \) entangled quantum network consists of single-hop and multihop entangled connections, such that the single-hop entangled nodesFootnote 1 are directly connected through an \(\text {L}_1\)-level entanglement, while the multihop entangled nodes communicate through \(\text {L}_l\)-level entanglement. Focusing on the doubling architecture [1, 5, 6] in the entanglement distribution procedure, the number of spanned nodes is doubled in each level of entanglement swapping (entanglement swapping is applied in an intermediate node to create a longer distance entanglement [1]). Therefore, the \(d{(x,y)}_{\text {L}_l}\) hop distance in N for the \(\text {L}_l\)-level entangled connection between \(x,y\in V\) is denoted by [8]

$$\begin{aligned} d{(x,y)}_{\text {L}_l}=2^{l-1}, \end{aligned}$$
(1)

with \(d{(x,y)}_{\text {L}_l}-1\) intermediate quantum nodes between x and y. Therefore, \(l=1\) refers to a direct entangled connection between two quantum nodes x and y without intermediate quantum repeaters, while \(l>1\) identifies a multilevel entanglement.

2.1.2 Entanglement fidelity

Let

$$\begin{aligned} {| \beta _{00} \rangle } ={\textstyle \frac{1}{\sqrt{2} }} \left( {\left| 00 \right\rangle } +{\left| 11 \right\rangle } \right) \end{aligned}$$
(2)

be the target Bell state subject to be created at the end of the entanglement distribution procedure between a particular source node A and receiver node B. The entanglement fidelity F at an actually created noisy quantum system \(\sigma \) between A and B is

$$\begin{aligned} F\left( \sigma \right) =\langle {{\beta }_{00}} | \sigma |{{\beta }_{00}} \rangle , \end{aligned}$$
(3)

where F is a value between 0 and 1, \(F=1\) for a perfect Bell state, and \(F<1\) for an imperfect state. The F entanglement fidelity represents the accuracy of our information about a quantum state [1, 5, 6]. The fidelity in (3) measures the amount of overlap between \({\left| \beta _{00} \right\rangle }\) target state (2) and the density matrix \(\sigma \) that represents our system. In the entanglement distribution procedure, the usage of the F entanglement fidelity metric rather than other correlation measure functions (concurrence, negativity, quantum discord, quantum coherent information, etc.) [4] is motivated by the fact that the fidelity of entanglement is an improvable parameter in a practical setting. The improvement of the fidelity is realizable by the so-called entanglement purification process [1]. The entanglement purification takes imperfect entangled states and outputs a higher-fidelity entangled system. Without loss of generality, in an experimental quantum Internet setting, an aim is to reach \(F\ge 0.98\) over long distances [1, 5, 6].

2.1.3 Practical implementation

An experimental quantum network refers to a set of source users (quantum nodes), destination users (quantum nodes), several intermediate quantum repeaters between them and to a set of physical node-to-node connections between the physical nodes (the physical attributes of the \(l=1\) level connections identify the physical attributes of the physical links between the neighboring nodes). A quantum node is a quantum device with internal quantum memory \({\mathcal {M}}\) and with the capability of performing local operations (such as the internal processes connected to entanglement purification, entanglement swapping, error correction) [25, 36,37,38,39,40,41,42,43,44,45, 47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63]. In a practical setting, the node-to-node entanglement distribution can be implemented by an optical fiber network or via a wireless optical system (free-space channel [64] or a quantum-based satellite communication channel [27]). A physical link \({\mathcal {N}}\) is characterized by a particular link loss \({\mathcal {L}}({\mathcal {N}})\). For a standard-quality optical fiber \({\mathcal {N}}\), the average link loss is \({\mathcal {L}}({\mathcal {N}})\approx 3.4\text { dB}\), while the maximum of the tolerable link loss for an optical fiber system is \({\mathcal {L}}({\mathcal {N}})\approx 4.3\text { dB}\) [1, 6].

In an practical entangled quantum network, the \(l>1\) level entangled connections refer to the case when the source and target quantum nodes are not directly connected by a physical link, but by an entangled connection that spans several quantum repeaters. An \(l>1\) level entangled connection is formulated by several node-to-node interactions through the physical links in the physical layer.

3 Entanglement access

3.1 Entanglement fidelity criterion

First, we characterize the entanglement fidelity criterion for a given node pair. Using the criterion, we then derive the probability of the existence of single-path and multipath sets with m end-to-end connection-disjoint entangled paths [65, 66] between source and target nodes. The end-to-end connection-disjoint entangled paths share no any common entangled connection between a source node A and a receiver node B.

A given entangled connection \(\mathrm{L}_{l} \) is characterized by a particular fidelity \(F^{{*}} \), whose quantity classifies the entangled connection, such that \(F^{{*}} \ge F_\mathrm{crit} \), where \(F_\mathrm{crit} \) is a critical lower bound on the fidelity of entanglement.

Let E(xy) refer to the entangled connection between a node pair (xy), and let \(F_{\Delta } (x,y)\) be the difference of the fidelity of entanglement in quantum nodes x and y, as

$$\begin{aligned} F_{\Delta } (x,y)=\left| F_{x} -F_{y} \right| <{\hat{F}}_{\Delta } , \end{aligned}$$
(4)

where \({\hat{F}}_{\Delta } \) is a maximal allowed fidelity distance, \(F_{x} \ge F_\mathrm{crit} \), and \(F_{y} \ge F_\mathrm{crit} \). Since the entangled connections are assumed to be time varying in the network [65, 66], the probability that \(F_{\Delta } (x,y)<{\hat{F}}_{\Delta } \) holds at a given time t for an entangled connection \(E_{\mathrm{L}_{l} } (x,y)\) is as

$$\begin{aligned} \Pr (F_{\Delta } (x,y)<{\hat{F}}_{\Delta })=\int \limits _{0}^{{\hat{F}}_{\Delta } }\delta (z)\hbox {d}z , \end{aligned}$$
(5)

where \(\delta (F_{\Delta } (x,y))\) is the probability density function of entanglement fidelity distance.

3.1.1 Single-path entanglement accessibility

Let \({{{\mathcal {P}}}}^{S} \) refer to a single path between \(A_{\rho ,U_{k} } \) and \(B_{\rho ,U_{k} } \), \(k=1,\ldots ,K\), where \(\rho \) is a demand, \(A_{\rho ,U_{k} } \) and \(B_{\rho ,U_{k} } \) are the sender and destination nodes associated with the demand \(\rho \) of user \(U_k\), and K is the number of users. The single entangled path setting means that entanglement can be distributed from \(A_{\rho ,U_{k} } \) to \(B_{\rho ,U_{k} } \) through only one given path in the network N. Let it be assumed that \({{{\mathcal {P}}}}^{S} \) consists of g entangled connections; then the \(\Pr ({{{\mathcal {P}}}}^{S})\) probability that a given single path \({{{\mathcal {P}}}}^{S} \) exists between \(A_{\rho ,U_{k} } \) and \(B_{\rho ,U_{k} } \) with the fidelity criterion is expressed as

$$\begin{aligned} \begin{aligned} \Pr ({{{\mathcal {P}}}^{S}})&=\prod \limits _{{{E}_{{{\text {L}}_{l}}}}(x,y)\in {{{\mathcal {P}}}^{S}}}{\Pr ( {{F}_{\Delta }}(x,y)<{{{{\hat{F}}}}_{\Delta }} )} \\&={{\left( \int \limits _{0}^{{{{{\hat{F}}}}_{\Delta }}}{\delta (z)\hbox {d}z} \right) }^{g}}. \end{aligned} \end{aligned}$$
(6)

3.1.2 Multipath entanglement accessibility

Let \({{{\mathcal {P}}}}_{i}^{M} \), \(i=1,\ldots ,m\), refer to the ith multipath between \(A_{\rho ,U_{k} } \) and \(B_{\rho ,U_{k} } \), which means that entanglement can be distributed from \(A_{\rho ,U_{k} } \) to \(B_{\rho ,U_{k} } \) through a set \({{{\mathcal {P}}}}_{M} \) of m end-to-end connection-disjoint entangled paths as \({{{\mathcal {P}}}}_{M} =\left\{ {{{\mathcal {P}}}}_{1}^{M} ,\ldots ,{{{\mathcal {P}}}}_{m}^{M} \right\} \) in the network N. The \(\Pr \left( {{{\mathcal {P}}}}_{M} \right) \) probability [65] that \(A_{\rho ,U_{k} } \) and \(B_{\rho ,U_{k} } \) share a common entanglement with the fidelity criterion is as

$$\begin{aligned} \Pr ({{{\mathcal {P}}}}_{M} )=1-\prod _{S=1}^{m}(1-\Pr ({{{\mathcal {P}}}}^{S}))=1- \prod _{S=1}^{m}\left( 1-\left( \int \limits _{0}^{{\hat{F}}_{\Delta } }\delta (z)\hbox {d}z\right) ^{g_{S} }\right) , \end{aligned}$$
(7)

where S is a path index, and \(g_{S} \) is the number of entangled connections associated with \({{{\mathcal {P}}}}^{S} \).

Based on the distribution of \(F_{\Delta } (x,y)\) fidelity distances between the node pairs of the network, the formulas of (6) and (7) can be derived in a more exact form.Footnote 2

4 Integrated criterion on connection probability and fidelity

The integrated criterion extends the results of Sect. 3 to include the criterion on the probability of the existence of a given entangled connection between a node pair of a path. Using the integrated criterion on the connection probability and entanglement fidelity, we derive the probability of existence of single-path and multipath sets with m end-to-end connection-disjoint entangled paths [65] between source and target nodes.

In our model, the fidelity of shared entanglement evolves in time for a given node pair (xy). For each quantum node i at a time t, let \(\Psi _{i} (t)\) be defined as

$$\begin{aligned} \Psi _{i} (t)=(\Pr (E_{\mathrm{L}_{l} } (i,j,t)),F_{i} (t))^{T} , \end{aligned}$$
(8)

where \(\Pr (E_{\mathrm{L}_{l} }(i,j,t))\) is the probability of an \(\mathrm{L}_{l} \)-level entangled connection with a node j determined in node i at a time t, while \(F_{i} (t)\) is the fidelity of entanglement determined in node i at a time t.

For a node pair (xy), according to local quantities, the following distance can be defined:

$$\begin{aligned} \Delta (\Pr (E_{\mathrm{L}_{l} } (t)))=\left| \Pr (E_{\mathrm{L}_{l} } (x,y,t))-\Pr (E_{\mathrm{L}_{l} } (y,x,t))\right| , \end{aligned}$$
(9)

where \(\Pr (E_{\mathrm{L}_{l} } (x,y,t))\) and \(\Pr (E_{\mathrm{L}_{l} } (y,x,t))\) are the connection probability quantities determined in nodes x and y, and the fidelity distance \(F_{\Delta } (t)\) is described by

$$\begin{aligned} F_{\Delta } (t)=\left| F_{x} (t)-F_{y} (t)\right| , \end{aligned}$$
(10)

where \(F_{x} (t)\) and \(F_{y} (t)\) are the fidelity quantities determined in nodes x and y.

A distance of \(\Psi _{x} (t)\) and \(\Psi _{y} (t)\) for a node pair (xy) at a particular time t is expressed via \(\gamma _{x,y} (t)\), as

$$\begin{aligned} \begin{aligned} {{\gamma }_{x,y}}\left( t \right)&=\left| {{\Psi }_{x}}\left( t \right) -{{\Psi }_{y}}\left( t \right) \right| \\&={{\left( {{\left( \Pr \left( {{E}_{{{\text {L}}_{l}}}}\left( x,y,t \right) \right) -\Pr \left( {{E}_{{{\text {L}}_{l}}}}\left( y,x,t \right) \right) \right) }^{2}}+{{\left( {{F}_{x}}\left( t \right) -{{F}_{y}}\left( t \right) \right) }^{2}} \right) }^{\frac{1}{2}}}. \end{aligned}\qquad \end{aligned}$$
(11)

Since the connection probability and the entanglement fidelity parameters evolve over time, after \(\Delta t\) from an initial time \(t_{0} \), the quantity \(\Psi _{x} \left( t_{0} +\Delta t\right) \) of a given node x evolves as

$$\begin{aligned} {{\Psi }_{x}}\left( {{t}_{0}}+\Delta t \right) ={{\Psi }_{x}}\left( {{t}_{0}} \right) +{{\chi }_{x}}\left( {{t}_{0}},\Delta t \right) , \end{aligned}$$
(12)

where \(\chi _{x} \left( t_{0} ,\Delta t\right) \) is expressed as

$$\begin{aligned} {{\chi }_{x}}\left( {{t}_{0}},\Delta t \right) =\left( \begin{array}{l} \begin{aligned} &{} \chi _{x}^{\Pr \left( {{E}_{{{\text {L}}_{l}}}}(x,y) \right) }\left( {{t}_{0}},\Delta t \right) \\ &{} \chi _{x}^{{{F}_{x}}}\left( {{t}_{0}},\Delta t \right) \text { } \\ \end{aligned} \end{array} \right) =\left( \begin{array}{l} \begin{aligned} &{} \int \limits _{{{t}_{0}}}^{{{t}_{0}}+\Delta t}{\phi _{x}^{\Pr \left( {{E}_{{{\text {L}}_{l}}}}(x,y) \right) }(q)\hbox {d}q} \\ &{} \int \limits _{{{t}_{0}}}^{{{t}_{0}}+\Delta t}{\phi _{x}^{{{F}_{x}}}(q)\hbox {d}q\text { }} \\ \end{aligned} \end{array} \right) , \end{aligned}$$
(13)

where \(\delta (\gamma _{x,y})\) is the probability density function of distance function \(\gamma _{x,y} \), and \(\phi _{x}^{\Pr (E_{\mathrm{L}_{l} } (x,y))} \) and \(\phi _{x}^{F_{x} } \) are expressed as the connection probability and entanglement fidelity evolution functions of node x.

For a given node pair (xy), the particular upper bound \(\gamma _{x,y}^{\max } \) on the maximal allowable distance between \(\Psi _{x} (t_{0} +\Delta t)\) and \(\Psi _{y} (t_{0} +\Delta t)\) at time \(t_{0} +\Delta t\) leads to a limit, while (xy) can be referred to as entangled:

$$\begin{aligned} \begin{aligned} {{\gamma }_{x,y}}\left( {{t}_{0}}+\Delta t \right)&=\left| {{\Psi }_{x}}( {{t}_{0}}+\Delta t)-{{\Psi }_{y}}({{t}_{0}}+\Delta t) \right| \\&=\left| {{\Psi }_{x}}( {{t}_{0}})+{{\chi }_{x}}({{t}_{0}},\Delta t)-{{\Psi }_{y}}( {{t}_{0}})-{{\chi }_{y}}( {{t}_{0}},\Delta t) \right| \le \gamma _{x,y}^{\max }. \end{aligned} \end{aligned}$$
(14)

If \(\gamma _{x,y} \left( t_{0} +\Delta t\right) \) exceeds \(\gamma _{x,y}^{\max } \), then the difference of the local entangled connection probabilities and entanglement fidelities is above a critical limit; therefore, the node pair (xy) is referred to as unentangled.

Using (11) and (13), (14) can be rewritten as

$$\begin{aligned} \begin{aligned} {{\gamma }_{x,y}}\left( {{t}_{0}}+\Delta t \right) =&\left( {{\left( \Pr \left( {{E}_{{{\text {L}}_{l}}}}\left( x,y,{{t}_{0}}+\Delta t \right) \right) -\Pr \left( {{E}_{{{\text {L}}_{l}}}}\left( y,x,{{t}_{0}}+\Delta t \right) \right) \right) }^{2}} \right. \\&{{\left. +\,{{\left( {{F}_{x}}\left( {{t}_{0}}+\Delta t \right) -{{F}_{y}}\left( {{t}_{0}}+\Delta t \right) \right) }^{2}} \right) }^{\frac{1}{2}}}, \end{aligned} \end{aligned}$$
(15)

which leads to

$$\begin{aligned} \begin{aligned}&{{\gamma }_{x,y}}\left( {{t}_{0}}+\Delta t \right) \\&\quad =\left( \left( \Pr \left( {{E}_{{{\text {L}}_{l}}}}\left( x,y,{{t}_{0}} \right) \right) +\int \limits _{{{t}_{0}}}^{{{t}_{0}}+\Delta t}\phi _{x}^{\Pr \left( {{E}_{{{\text {L}}_{l}}}}(x,y) \right) }(q)\hbox {d}q\right. \right. \\&\qquad \left. -\,\left( \Pr \left( {{E}_{{{\text {L}}_{l}}}}\left( y,x,{{t}_{0}} \right) \right) +\int \limits _{{{t}_{0}}}^{{{t}_{0}}+\Delta t}{\phi _{y}^{\Pr \left( {{E}_{{{\text {L}}_{l}}}}(y,x) \right) }(q)\hbox {d}q} \right) \right) ^{2} \\&\qquad {{\left. +\,{{\left( {{F}_{x}}\left( {{t}_{0}} \right) +\int \limits _{{{t}_{0}}}^{{{t}_{0}}+\Delta t}{\phi _{x}^{{{F}_{x}}}(q)\hbox {d}q-\left( {{F}_{y}}\left( {{t}_{0}} \right) +\int \limits _{{{t}_{0}}}^{{{t}_{0}} +\Delta t}{\phi _{y}^{{{F}_{y}}}(q)\hbox {d}q} \right) } \right) }^{2}} \right) }^{\frac{1}{2}}}. \end{aligned} \end{aligned}$$
(16)

A representation of \(F_{\Delta } (t_{0})\) and \(F_{\Delta } (t_{0} +\Delta t)\) for a node pair (xy) is depicted in Fig. 1. The \(\Pr \left( E_{\mathrm{L}_{l} } (x,y)\right) \) connection probability is assumed to be different in the nodes at a particular time.

Fig. 1
figure 1

Evolution of \(F_{\Delta } (t)\) and \(\Pr (E_{\mathrm{L}_{l} } (x,y))\) for a node pair (xy) at \(t=t_{0} \) and \(t=t_{0} +\Delta t\). \(F_{\Delta } (t_{0})\) is \(\left| F_{x} (t_{0} )-F_{y} (t_{0})\right| \), where \(F_{x} (t_{0}),F_{y} (t_{0})\) are the fidelities of shared entanglement in the nodes, and \(F_{\Delta } (t_{0} +\Delta t)\) yields the difference \(\left| F_{x} (t_{0} +\Delta t)-F_{y} (t_{0} +\Delta t)\right| \)

4.1 Single-path entanglement accessibility

After these derivations, the \(\Pr ({{{\mathcal {P}}}}^{S} (t_{0} +\Delta t))\) probability of a \({{{\mathcal {P}}}}^{S} \) single path in function of the connection probability and entanglement fidelity in the nodes of the path (e.g., connection probability criterion and fidelity criterion for all entangled connections of the path) is as follows.

Using \(\gamma _{x,y} \left( t_{0} +\Delta t\right) \) in (16), the probability of the existence of a given single path \({{{\mathcal {P}}}}^{S} \) with \({{g}_{S}}\) entangled connections between \(A_{\rho ,U_{k} } \) and \(B_{\rho ,U_{k} } \) with a connection probability criterion and fidelity criterion for all entangled connections (see (6)) at time \(t_{0} +\Delta t\) can therefore be rewritten as

$$\begin{aligned} \begin{aligned}&\Pr \left( {{{\mathcal {P}}}^{S}}\left( {{t}_{0}}+\Delta t \right) \right) \\&=\prod \limits _{{{E}_{{{\text {L}}_{l}}}}(x,y)\in {{{\mathcal {P}}}^{S}}}{\Pr \left( {{\gamma }_{x,y}}\left( {{t}_{0}}+\Delta t \right) <\gamma _{x,y}^{\max } \right) } \\&={{\left( \int \limits _{0}^{\gamma _{x,y}^{\max }}{\delta (q)\hbox {d}q} \right) }^{{{g}_{S}}}}, \end{aligned} \end{aligned}$$
(17)

where

$$\begin{aligned} \Pr \left( \gamma _{x,y} \left( t_{0} +\Delta t\right) <\gamma _{x,y}^{\max } \right) =\int \limits _{0}^{\gamma _{x,y}^{\max } }\delta (q)\hbox {d}q . \end{aligned}$$
(18)

4.2 Multipath entanglement accessibility

For the multipath scenario, (7) can be written via (16) as follows. For a given set of m end-to-end connection-disjoint entangled paths expressed as \({{{\mathcal {P}}}}_{M} =\left\{ {{{\mathcal {P}}}}_{1}^{M} ,\ldots ,{{{\mathcal {P}}}}_{m}^{M} \right\} \) between \(A_{\rho ,U_{k} } \) and \(B_{\rho ,U_{k} } \), the \(\Pr \left( {{{\mathcal {P}}}}_{M} \left( t_{0} +\Delta t\right) \right) \) probability that \(A_{\rho ,U_{k} } \) and \(B_{\rho ,U_{k} } \) share a common entanglement with a connection probability criterion and fidelity criterion at time \(t_{0} +\Delta t\) is expressed as

$$\begin{aligned} \begin{aligned} \Pr \left( {{{\mathcal {P}}}_{M}}\left( {{t}_{0}}+\Delta t \right) \right)&=1-\prod \limits _{S=1}^{m}{\left( 1-\Pr \left( {{{\mathcal {P}}}^{S}}\left( {{t}_{0}}+\Delta t \right) \right) \right) } \\&=1-\prod \limits _{S=1}^{m}{\left( 1-{{\left( \int \limits _{0}^{\gamma _{x,y}^{\max }}{\delta (q)\hbox {d}q} \right) }^{{{g}_{S}}}} \right) }. \end{aligned} \end{aligned}$$
(19)

5 Control of entanglement access

The entanglement access control algorithm establishes a number of connection-disjoint entangled paths between a source node and a target node. Changing the number m of connection-disjoint entangled paths allows us to modify both the probability of entanglement between the source and target nodes and the fidelity of available entanglement in the end nodes.

For the algorithm, a \(c(E_{\mathrm{L}_{l} } (x,y))\) cost function [65] of a given entangled connection \(E_{\mathrm{L}_{l} } (x,y)\) is defined as

$$\begin{aligned} \begin{aligned} c\left( {{E}_{{{\text {L}}_{l}}}}(x,y) \right) =&\left( {{\left( \chi _{x}^{\Pr ( {{E}_{{{\text {L}}_{l}}}}( x,y))}\left( {{t}_{0}},\Delta t \right) -\chi _{y}^{\Pr ( {{E}_{{{\text {L}}_{l}}}}(y,x))}\left( {{t}_{0}},\Delta t \right) \right) }^{2}} \right. \\&{{\left. +\,{{\left( \chi _{x}^{{{F}_{x}}}\left( {{t}_{0}},\Delta t \right) -\chi _{y}^{{{F}_{y}}}\left( {{t}_{0}},\Delta t \right) \right) }^{2}} \right) }^{\frac{1}{2}}}, \end{aligned} \end{aligned}$$
(20)

where

$$\begin{aligned} \chi _{x}^{\Pr ({{E}_{{{\text {L}}_{l}}}}(x,y))}\left( {{t}_{0}},\Delta t \right) =\int \limits _{{{t}_{0}}}^{{{t}_{0}}+\Delta t}{\phi _{x}^{\Pr ({{E}_{{{\text {L}}_{l}}}}(x,y))}(q)\hbox {d}q}, \end{aligned}$$
(21)
$$\begin{aligned} \chi _{x}^{{{F}_{x}}}\left( {{t}_{0}},\Delta t \right) \text {=}\int \limits _{{{t}_{0}}}^{{{t}_{0}}+\Delta t}{\phi _{x}^{{{F}_{x}}}(q)\hbox {d}q,}\text { } \end{aligned}$$
(22)

and

$$\begin{aligned} \chi _{y}^{\Pr ( {{E}_{{{\text {L}}_{l}}}}(y,x))}( {{t}_{0}},\Delta t)=\int \limits _{{{t}_{0}}}^{{{t}_{0}}+\Delta t}{\phi _{y}^{\Pr ({{E}_{{{\text {L}}_{l}}}}(y,x))}(q)\hbox {d}q}, \end{aligned}$$
(23)
$$\begin{aligned} \chi _{y}^{{{F}_{y}}}( {{t}_{0}},\Delta t)=\int \limits _{{{t}_{0}}}^{{{t}_{0}}+\Delta t}{\phi _{y}^{{{F}_{y}}}(q)\hbox {d}q.} \end{aligned}$$
(24)

Let N be the actual quantum repeater network with \(\left| V\right| \) quantum nodes. A given \(\mathrm{L}_{l} \)-level entangled connection between a node pair (xy) is expressed as \(E_{\mathrm{L}_{l} } (x,y)\).

Let \(A_{\rho ,U_{k}} \) and \(B_{\rho ,U_{k}} \) be the source and target quantum nodes of a demand \(\rho \) associated with user \(U_{k} \). Using (20) and a given entangled path \({{{\mathcal {P}}}}\) with a set of q quantum repeaters \(R_i\), \(i=1,\ldots ,q\), and a set \({\mathcal {S}}\) entangled connections, as

$$\begin{aligned} {\mathcal {S}}=\{ {{E}_{{{\text {L}}_{l}}}}( {{A}_{\rho ,U_{k}}},R_1),\ldots ,{{E}_{{{\text {L}}_{l}}}}(R_q,{{B}_{\rho ,U_{k}}})\}, \end{aligned}$$
(25)

the cost of path \({{{\mathcal {P}}}}\) is defined as

$$\begin{aligned} c({{{\mathcal {P}}}})=c(E_{\mathrm{L}_{l} } (A_{\rho ,U_{k}}, R_1))+\cdots +c(E_{\mathrm{L}_{l} } (R_q,B_{\rho ,U_{k}})). \end{aligned}$$
(26)

The \({{{\mathcal {D}}}}_{{{{\mathcal {A}}}}} \) entanglement access control algorithm outputs a set of \({{{\mathcal {P}}}}_{M} =\left\{ {{{\mathcal {P}}}}_{1}^{M} ,\ldots ,{{{\mathcal {P}}}}_{m}^{M} \right\} \), which contains the m connection-disjoint entangled paths between \(A_{\rho ,U_{k}} \) and \(B_{\rho ,U_{k}} \).

In function of m, \({{{\mathcal {U}}}}_{C} \) priority classes can be defined for the users of the quantum Internet. A high-priority user gets a high value of m, while lower-priority users get lower values of m. The actual value of m for a particular user class \({{{\mathcal {U}}}}_{C} \) can be determined in function of the current network conditions.

The steps are given in Algorithm 1.

figure a

5.1 Description

A brief description of the \({ {{\mathcal {D}}}}_{{ {{\mathcal {A}}}}} \) entanglement access control algorithm is as follows.

Step 1 sets m for a user \(U_k\) by the \({ {{\mathcal {U}}}}_{C}({U_k}) \) priority class of the user. The \({ {{\mathcal {U}}}}_{C}({U_k}) \) determines the available value(s) of m for \(U_k\).

In Step 2, entanglement is established between the source node \(A_{\rho ,U_{k} } \) of the given demand of the user and the neighboring quantum repeaters. The relevant metrics quantities are also calculated in this step.

Using the derived quantities of Step 2, in Step 3, the cost paths are derived via (26) using the entangled connection cost formula of (20).

Steps 4–5 deal with the intermediate quantum repeater nodes associated with the given demand. These steps also ensure that entanglement is distributed through the cheapest path \(c({ {{\mathcal {P}}}}')\) from a source node \(A_{\rho ,U_{k} } \) toward \(B_{\rho ,U_{k} } \), via a given intermediate repeater node \(R_i \). It is ensured in our model that if the intermediate repeater node \(R_i\) also shares entanglement with a quantum repeater \(R_j\), then node \(R_j\) will not establish entanglement with \(B_{\rho ,U_{k} } \), since \(B_{\rho ,U_{k} } \) can be reached via \(R_i\), which is on the cheapest path \(c\left( { {{\mathcal {P}}}}'\right) \).

Step 6 outputs the set of m end-to-end connection-disjoint entangled paths between \(A_{\rho ,U_{k} } \) and \(B_{\rho ,U_{k} } \) and the path costs for all paths.

Step 7 determines the \(\Pr \left( { {{\mathcal {P}}}}_{M} \right) \) probability for user \(U_k\) via (19) and updates the actual value of m if needed.

Finally, Step 8 extends the steps for all users.

In Fig. 2 a multipath entanglement accessibility is depicted in a quantum Internet setting with heterogeneous entanglement levels. The network situation depicts connection-disjoint entangled paths that share no common entangled connection between a source node \(A_{\delta ,U_{i} } \) and a receiver node \(B_{\delta ,U_{i} } \). The entangled paths are characterized by the derived formulas.

Fig. 2
figure 2

A quantum Internet setting with \(m=3\) connection-disjoint entangled paths \({ {{\mathcal {P}}}}_{1}^{M} \), \({ {{\mathcal {P}}}}_{2}^{M} \) and \({ {{\mathcal {P}}}}_{3}^{M} \) between an ith source quantum node \(A_{\delta ,U_{i} } \) and target quantum node \(B_{\delta ,U_{i} } \) with demand \(\rho \), and q intermediate \(R_{i} \) quantum repeaters, \(i=1,\ldots ,q\). The entangled paths consist of \(l=1\) level (direct) and multilevel, \(l=2,3\) level entangled connections. The quantum nodes of \({ {{\mathcal {P}}}}_{1}^{M} \) are depicted by orange, the nodes of \({ {{\mathcal {P}}}}_{2}^{M} \) by purple, and the nodes of \({ {{\mathcal {P}}}}_{3}^{M} \) by green. The \(\gamma _{x,y} \left( t_{0} +\Delta t\right) \) coefficients are derived for all entangled connections of the paths

5.2 Computational complexity

For a given quantum network N with \(\left| V\right| \) quantum nodes, the computational complexity of the \({ {{\mathcal {D}}}}_{{ {{\mathcal {A}}}}} \) entanglement access control algorithm for a given demand \(\rho \) is at most \({ {{\mathcal {O}}}}\left( \left| V\right| \right) \), since the problem is analogous to the establishment of a path by message broadcasting [65].

5.3 Numerical evidence

We provide a numerical evidence on the distribution of the \({ {{\mathcal {P}}}}^{S} \) and \({ {{\mathcal {P}}}}_{M} \) path probabilities.

Fig. 3
figure 3

The probability of shared entanglement between the source and the destination with the fidelity criterion at a single entangled path and at a multipath setting, \(F_\mathrm{crit} =0.98\), \({\hat{F}}_{\Delta } =0.02\), \(g_{S} =g=10\). a A distribution of the \(\Pr F_{\Delta } (x,y)<{\hat{F}}_{\Delta })\) probabilities for the g entangled connections of a \({ {{\mathcal {P}}}}^{S} \) single path. b A distribution of the \(\Pr \left( F_{\Delta } (x,y)<{\hat{F}}_{\Delta } \right) \) probabilities for the \({g_{S}}=g\) entangled connections of a \({ {{\mathcal {P}}}}_{M} =\{{ {{\mathcal {P}}}}_{1}^{M} ,\ldots ,{ {{\mathcal {P}}}}_{m}^{M} \}\) multipath setting, \(m=5\). c The \(\Pr ({ {{\mathcal {P}}}}_{M})\) probabilities in function of m. The \(\Pr ({ {{\mathcal {P}}}}_{S})\) single-path probability is yielded at \(m=1\)

Let us set \(F_\mathrm{crit} =0.98\) for the lower bound on the fidelity of entanglement between all node pairs x and y, \(F_{x} \ge F_\mathrm{crit} \), and \(F_{y} \ge F_\mathrm{crit} \). Then, the maximal allowed fidelity distance is set as \({\hat{F}}_{\Delta } =1-0.98=0.02\).

Then, let us assume that a \({ {{\mathcal {P}}}}^{S} \) single path between \(A_{\rho ,U_{k} } \) and \(B_{\rho ,U_{k} } \) consists of g entangled connections with different l entanglement levels between the nodes of the path \({ {{\mathcal {P}}}}^{S} \). For the \({ {{\mathcal {P}}}}_{M} =\left\{ { {{\mathcal {P}}}}_{1}^{M} ,\ldots ,{ {{\mathcal {P}}}}_{m}^{M} \right\} \) multipath scenario, each entangled path consists of \(g_{S} \) entangled connections with different l entanglement levels between the nodes of each entangled path of \({ {{\mathcal {P}}}}_{M} \).

For simplicity let us assume that the number of entangled connections is set as \(g_{S} =g=10\) for all entangled paths, and the distribution of the \(\Pr \left( F_{\Delta } (x,y)<{\hat{F}}_{\Delta } \right) \) probabilities for the entangled connections of a \({ {{\mathcal {P}}}}^{S} \) single path at \({\hat{F}}_{\Delta } =0.02\) is as depicted in Fig. 3a. The distribution of the \(\Pr (F_{\Delta } (x,y)<{\hat{F}}_{\Delta })\) probabilities for the entangled connections of a \({ {{\mathcal {P}}}}_{M} \) multipath with \(m=5\) at \({\hat{F}}_{\Delta } =0.02\) is distributed as depicted in Fig. 3b. The resulting \(\Pr ({ {{\mathcal {P}}}}^{S})\) and \(\Pr ({ {{\mathcal {P}}}}_{M})\) probabilities are depicted in Fig. 3c.

The numerical analysis revealed that \(\Pr ({ {{\mathcal {P}}}}_{S} )\approx 0.4171\) for a \({ {{\mathcal {P}}}}_{S} \) single entangled path at the particular \(\Pr \left( F_{\Delta } (x,y)<{\hat{F}}_{\Delta } \right) \) connection-level values of the path (given in Fig. 3a). The \({ {{\mathcal {P}}}}_{M} \) multipath setting at connection-level values of Fig. 3b, at \(m=4\), doubles the success probability of the single-path setting with \(\Pr ({ {{\mathcal {P}}}}_{M} )\approx 0.8549\), while at \(m=5\), the resulting probability is \(\Pr ({ {{\mathcal {P}}}}_{M})\approx 0.9476\).

6 Conclusions

In this work, we defined a method to achieve entanglement access control in the quantum Internet. The algorithm utilizes different paths between the source and target nodes in function of a particular path cost function. The path cost function uses the local entanglement fidelities of the nodes and the probability of the existence of the entangled connections. Increasing the number of available paths leads to a multipath setting, which allows the parties to establish high fidelity entanglement with reliable entangled connections between the end nodes. The proposed scheme has moderate complexity, and it is particularly convenient for the entangled quantum network structure of the quantum Internet.