Next Article in Journal
Cryptocurrencies Are Becoming Part of the World Global Financial Market
Next Article in Special Issue
Visualizing Quantum Circuit Probability: Estimating Quantum State Complexity for Quantum Program Synthesis
Previous Article in Journal
Manipulating Voice Attributes by Adversarial Learning of Structured Disentangled Representations
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Non-Local Parallel Processing and Database Settlement Using Multiple Teleportation Followed by Grover Post-Selection

by
Francisco Delgado
1,*,† and
Carlos Cardoso-Isidoro
2,†
1
Tecnologico de Monterrey, School of Engineering and Science, Atizapan 52926, Mexico
2
Tecnologico de Monterrey, School of Engineering and Science, Monterrey 64849, Mexico
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Entropy 2023, 25(2), 376; https://doi.org/10.3390/e25020376
Submission received: 14 September 2022 / Revised: 4 December 2022 / Accepted: 22 December 2022 / Published: 18 February 2023
(This article belongs to the Special Issue Quantum Probability and Randomness IV)

Abstract

:
Quantum information applications emerged decades ago, initially introducing a parallel development that mimicked the approach and development of classical computer science. However, in the current decade, novel computer-science concepts were rapidly extended to the fields of quantum processing, computation, and communication. Thus, areas such as artificial intelligence, machine learning, and neural networks have their quantum versions; furthermore, the quantum brain properties of learning, analyzing, and gaining knowledge are discussed. Quantum properties of matter conglomerates have been superficially explored in such terrain; however, the settlement of organized quantum systems able to perform processing can open a new pathway in the aforementioned domains. In fact, quantum processing involves certain requisites as the settlement of copies of input information to perform differentiated processing developed far away or in situ to diversify the information stored there. Both tasks at the end provide a database of outcomes with which to perform either information matching or final global processing with at least a subset of those outcomes. When the number of processing operations and input information copies is large, parallel processing (a natural feature in quantum computation due to the superposition) becomes the most convenient approach to accelerate the database settlement of outcomes, thus affording a time advantage. In the current study, we explored certain quantum features to realize a speed-up model for the entire task of processing based on a common information input to be processed, diversified, and finally summarized to gain knowledge, either in pattern matching or global information availability. By using superposition and non-local properties, the most valuable features of quantum systems, we realized parallel local processing to set a large database of outcomes and subsequently used post-selection to perform an ending global processing or a matching of information incoming from outside. We finally analyzed the details of the entire procedure, including its affordability and performance. The quantum circuit implementation, along with tentative applications, were also discussed. Such a model could be operated between large processing technological systems using communication procedures and also on a moderately controlled quantum matter conglomerate. Certain interesting technical aspects involving the non-local control of processing via entanglement were also analyzed in detail as an associated but notable premise.

1. Introduction

Despite light being used to prove many features in quantum information and quantum processing, the use of matter will open a vast terrain for growing quantum applications. The current quantum processors use a limited number of systems as qubits; however, a small amount of matter, when controlled, can dramatically increase the quantum storage of information. There, quantum elements are near arranged; thus, non-local features can provide novel ways of processing, which is currently being performed by quantum communication.
An increasing number of knowledge areas and disciplines consider interactions with quantum information, communication, and processing to solve complex simulation problems, to obtain improved security or reproduce processes of machine learning or artificial intelligence. Recently, the term quantum cognition (QC) was coined to focus on the brain function quantum phenomena through disruptive research [1,2]. Such an area deals with the processes of perception, apprehension, comprehension, cognition, and decision making, particularly regarding quantum mechanics associated with the human brain [3]. Quantum logic is settled by the properties of quantum operators mainly representing observables, which become conjugate variables and subsequently Pontryagin duals [4], as is clearly illustrated by the Dirac three polarizers experiment [5]. Furthermore, the quantum Zeno’s effect [6,7] exhibiting superposition states and quantum entanglement for composed systems are considered, both of which feature quantum mechanics.
Traditional computing approaches are centered on sequential processing based on the Turing machine, still based on parallel processing (used as a procedure for acceleration). For instance, machine learning procedures still follow a linear procedure of composed steps that considers layers that, in the best case, probably considers parallelism or recursion [8,9]. Such approaches have reached quantum computation despite the fact that they only mildly exploit superposition and entanglement. While cognitive brain function is traditionally believed to be based on Bayesian inference through the free energy minimization principle, it still appears in conflict with QC owing to removal of the redundant search space, thereby moving toward non-optimal decision making. In fact, when the brain learns certain information, it can still infer contextual information to reach a desired outcome under a different situation, which considers different information from that initially and concretely owned. This implies, in parallel processing, a large amount of alternatives is selected until a final decision is made [2].
Nevertheless, new quantum computation models [10,11,12] have emerged after the circuit model based on universal gates, which is widely used. Following the trend, recently, a new paradigm of quantum computing-denominated quantum intelligence (QC) [13], which considers QC as a wider usage of quantum features in the brain function, has been proposed. In this approach, Bayesian inference is not applied in excess, leading to the inclusion of complementary events with non-zero probability, as in the classical version where events commonly outside the problem context are considered with zero probability. Such a difference allows for a wider context in the process of cognition that is closer to the real observed brain function closer to fuzzy systems [13,14].
The last fact suggests that wide-spreading knowledge boosts the simultaneous generation of processed alternatives to be selected later. With regard to quantum theory, this suggests that a large superposition of outcomes still maintain correlated links upon their selection. Thus, the settlement of a large database of processed outcomes departing from a single limited information diversified through processing operations (along with integration of concrete local information) should be considered as an elementary quantum process for reaching a global outcome or matching certain external information.
In quantum processing, such a database implies establishing differentiated information suitably codified on a set of quantum states. When the last operations are barely independent, parallel processing should be conveniently introduced owing to the number of tasks. Parallel processing has been pursued as a solution to certain complex problems based on our current computer technology. Such processing can be understood in the context of either classical or quantum systems. In classical systems, we can reduce the time required to solve a task by using certain information processing units simultaneously, whereas in the quantum realm, all of the input information can be addressed and combined into a single register, where such a quantum unit can still process all of them in only one step [15]. Thus, quantum computing has been hailed as an efficient massively parallel computing scheme [16].
The parallelism in quantum computing essentially relies on the ability of a physical system to exist in a superposition of states, thus allowing for a massively parallel solution of specific problems that are not efficiently handled by a classical computer, such as integer factorization performed based on quantum theory using the Shor algorithm [17]. Otherwise, the settlement of large quantum databases is particularly useful in quantum image processing (QIMP) and, in general, in quantum pattern matching (QPM) [18,19]. Considered as the foundation of quantum computation and quantum communication, teleportation is a process of quantum information transfer in the form of a quantum state from a system into another [20,21] and not limited to larger system states [22]. Teleportation becomes a useful quantum tool to send information on faraway receivers; moreover, alternatives for close systems in matter conglomerates are available. In addition, controlling such algorithm is feasible to selectively send information to several parties under superposition [23]. Such information transference can be exploited to set a large and diversified number of parallel processing operations using the same input. The outcomes can be stored in a temporary database through superposition.
Classical decision making regards the selection of information through Bayesian inference; however, quantum mechanics still provides privileged access to parts of classified information under dynamical processes where all such parts can play a role until a tentative measurement is acquired. Thus, in terms of quantum processing, such a selection of information can be performed through measurement or amplitude amplification, as exemplified by the Grover algorithm [24]. Such selection is useful for either performing a final global processing, extracting global information, or matching external information. Suitable and specific algorithms to codify, combine, and extract such global information incoming from the database outcomes can be implemented using only few steps owing to the state superposition and entanglement remaining in the global system. Such processes appear nearer to those considered by QC and QI.
The aim of the current study is to explore and analyze a multi-step quantum model to establish a database of outcomes obtained by chaining teleportation and subsequently parallel processing. The dataset settlement and further parallel processing on a local memory are classically and commonly waived. Based on alternative quantum approaches for both problems, we present a non-local approach exploiting the main features of Quantum Mechanics. Thus, the proposal is strongly based on non-local features provided by quantum systems. Such a process improves the classical issues present in classical database settlement in terms of communication, as discussed in the next section. This processing departs from a codified single qubit state as input, transferred in superposition on several systems working as processors via multiple quantum teleportation. The set of superposed outcomes fits the concept of a quantum database. Subsequently, a subset of them can be accessed through amplitude amplification. Finally, such a subset can be used for acquiring the stored global information or for information matching or query tasks. The process fits the feasible quantum artificial sensing and decision-making tasks, and it is also applied to explore a possible cellular process in QC and QI. The second section deals with the technical statement of the problem regarding classical concepts and issues around databases, parallel processing, and pattern matching. After discussing their possible advantages, the quantum versions are elaborated. This section also presents the global plot being presented along with the variables considered in the development. The third section presents the details of multiple teleportation and post-processing, thus setting the distributed database of outcomes. Furthermore, we discuss certain non-local procedures via entanglement to move the entire set of processing outcomes into one single party and continue with other possible ending procedures. Such important aspects consider teleportation processes for short or large distances (matter conglomerates or artificial processing systems). The third section discusses the post-selection process comprising stochastic post-selection and the subsequent analysis regarding the adaptation of Grover’s amplitude amplification algorithm to the last database outcomes in terms of recursive expressions, error quantification, and convergence under certain post-selection scenarios. The fourth section discusses several aspects related to the associated and translated errors from the previous amplitude amplification procedure on tentative further ending global processing or pattern matching. Certain aspects related to quantum circuit implementation are discussed, along with possible applications. The last section discusses the conclusions and future work.

2. Classical and Quantum Approaches for Parallel Processing on a Database Settlement

In this section, we set the classical concepts of database and parallel computing, discussing their possible issues in terms of future development, particularly those due to scalability in terms of the complexity of computing problems. Thereafter, quantum versions are discussed to introduce the current proposal.

2.1. The Classical Concepts of Database and Parallel Processing: Issues and Challenges

In classical computing, a database is a stored collection of data suitably organized to be electronically accessed, where organization for data access is realized through a register or index for each ordered set of data [25]. While databases have continuously grown, they are currently stored in computer clusters instead of simple data files; nonetheless, they are managed by software, a specialized database management system (DBMS). Data can be structured or otherwise ordered as a string; however, in any case, an explicit or implicit index is required. Databases could be stored on-disk, i.e., they may be enduring or permanent on a physical device. Otherwise, databases in-memory are a type of temporal set of data residing in the main memory of the processing device and can be accessed faster than the ones stored on disks.
Encoded in bits, a large number of data are settled temporarily on the main memory. Specialized software and algorithms attempt to optimize the access, processing, and queries on large databases. However, there are limits mainly pertaining to the physical media where data are stored: different places on the same device require specific logistics. Thus, their scalability with an increase in the database volume and their speedy access to information when multiple sets of data should be searched and used, naturally become contemporary challenges for classical databases in applications related to Data Science, particularly in genomics [26], which has stated new size limits.
In another trend, parallel processing or parallel computing is an approach in classical computation, where many of the involved computations in computer processes are performed simultaneously because they are commonly independent. Accordingly, the outcomes can be combined afterwards [27]. Despite the first approach of computation being serial computation, parallel processing is in fact a natural function in the brain. In fact, currently, the brain is considered a massively parallel computer [28]; thus in Psychology, the term parallel processing refers to the ability of the brain to simultaneously process several stimuli obtained through the senses [29]. Thus, parallel processing is in fact believed to be a natural way of processing in the brain. For this reason, the model presented could also mimic the brain behavior, upon elucidation of certain possible quantum features. In fact, because teleportation is a key element in the procedure to set a distributed database, it can be induced over short distances, not for telecommunication processes, rather for communication among chemical or still biological subsystems. In fact, as a consequence of entanglement, such effects are widely known in certain biological processes, such as bacteria, sensing optimized paths for energy transfer [30].
With the design of computers integrating more than one processor (the basic unit using incoming information to perform transformation on it by applying a defined computing procedure and possibly integrating additional information), parallel computing has become a more common approach to classical computation models involving 3 D -movement in real time or simply any complex computation problem requiring improved polynomial runtimes at par with its scalability. Nevertheless, the speed-up introduced by parallelization is expected to be linear, and not all problems are completely parallelizable, bounding such linear behavior. In fact, it limits the performance in agreement with Amdahl’s law [31] stating the potential speed-up of an algorithm upon parallelization. The last limit is mainly associated with the impossibility to completely parallelize any problem; however, it also considers other factors referred to as access of information imposed on parallel processing.

2.2. Statement of the Current Database Settlement Problem in the Classical Approach

In a classical parallel computer, the main memory used to perform calculations is either a shared memory (among the processing elements located on a single storage space) or a distributed memory (where each processing data cluster has its own storage space). As expected, access to local memories is commonly faster than access to non-local memories [32]. Because all types of accesses are present in a typical parallelizable problem, physical or logical distribution imposes a natural slow down on scalability, doing speed communication the bottleneck of the process [32], either in the information access or in the necessary communication among computer parts during parallel processing.
Thus, in this work, we analyze a multi-step approach for parallel processing, which naturally demands the settlement of a database in a temporary memory. In the classical approach, the settlement, either regarding communication from permanent sources or information or simply the copying process of the main memory, to initialize parallel computing requires a sequential task based on use of a unique integrated control system. In the quantum approach, superposition improves such limitation. Copying, still limited by the no-cloning theorem, can be solved by multiple teleportation as a notable aspect, generating processable copies of a state in superposition to acquire from the outcomes an output with global information obtained by departing from the outcomes, before any measurement performed on the system.

2.3. Quantum Parallelism: Quantum Alternatives for Storage and Processing Systems

For scalability, storage and data access require an increasing additional runtime consumption owing to the limitations imposed by physical systems used in classical computing. Thus, database and parallel processing become related concepts integrating processing units which read data locally or non-locally to be involved repeatedly on specific computing tasks.
Alternative to classical databases, quantum databases refers to the use of quantum systems to store information. It is believed to solve limitations imposed by classical approaches due to superposition of physical states used as information containers. Superposition addresses both volume and access time [33]. In the quantum model being presented, we are considering an in-memory database, being temporal for a concrete and an ephemeral purpose involving processing, query, and post-processing.
For parallel processing, an alternative approach, quantum parallelism enables performing extensive calculations in parallel via superposition, thus stating a natural key advantage over classical computing in terms of the time and storage space. In addition, quantum systems still provide additional features boosting the possibility to introduce controlled non-local operations performed remotely through the quantum feature of entanglement [34]. In the current unit processing being analyzed, we exploit both quantum features, superposition, and entanglement, integrating the settlement of a distributed database combined with further differentiated processing to finally perform a query or acquire global information. That the model reproduces or suggests possible cognition tasks present in the brain proposed by disruptive models [13] suggests that the brain is a system possibly exhibiting quantum features in its macroscopic functioning.
Figure 1 shows a diagram summarizing the interactions between database settlement and specialized parallel processing. Departing from possible input information, several independent computing processes obtain differentiated derived results as output. Extensive problems fit such a process. For instance, the generation of alternative prototypes solves certain technological necessities, the determination of an optimized distribution path in logistics, or the decision making for the brain realizes how driving certain objects as the first experience departs from its perceived form and size. All those problems require diversified, prospective, and alternative views or solutions to be matched with a certain specific outcome or otherwise to obtain an integrated outcome comprising all individual solutions. Thus, Figure 1 compares the classical (blue) with the quantum (brown) approaches to both problems and their integration. Critical aspects highlighted in red for each approach are important functions of the scalability of concrete computing. Classical physical computing devices devote specific spaces to set each part of information. Thus, it requests storage along with speedy accessibility limited by distances and the growing number of interconnections among those parts, still considering an in-memory database processing [33].
Nonetheless, a quantum approach requires a tight control over the stability of quantum resources, particularly those exhibiting non-local properties. However, such limitations are superseded with the increasing development of quantum technologies, whereas classical systems exhibit strict final physical limitations owing to their nature. The settlement of information on classical devices requires centralized control to manage the storage increasing runtime upon scalability. It implies normally an exponential growth in the runtime for classical processing approaches, whereas in the quantum case, the growth is linear or polynomial. The same is true during parallel processing that still considers distributed processors with independent management systems. Quantum systems are less dependent on the storage space, not only due to the nature of systems employed, but also because they exhibit compact coding along with a natural processing speed up mainly due to superposition [34].

2.4. A Quantum Model for Database Distribution and Settlement

In the current development, a quantum database settlement (the initial multipartite storage of detonating information) will be developed by first teleporting a single qubit state (as instance, but easily generalized for bigger information states) on a set of potential receivers or processors via controlled multiple teleportation. Subsequently, such a set of processors will state a distributed database with an index naturally introduced by the control state previously used. Those processors can then introduce additional local information. Processors activate quantum parallelism by performing a series of differentiated processing tasks boosted by the original qubit. Accordingly, a partial selection of outcomes works as a filter. At the end, final global processing or matching tasks can be performed to extract or gain certain global information or otherwise to perform a pattern matching operation.
In this study, the aforementioned procedure undergoes several structured steps: Multiple Teleportation (MT) and Post-processing (PP) developed in Section 3. In Section 4, the Grover’s Amplitude Amplification (GAA) for the current analysis is presented and analyzed. Finally, Section 5 presents suggestions and analysis for a Final Global Processing (FGP) or Pattern Matching (PM). Table 1 comprises several states, operators, and related quantities used in each main step mentioned. In addition, Figure 2 provides a previous summarized view of the entire process in terms of those elements.

3. Multiple Quantum State Distribution Model for the Database Settlement Based on Teleportation

The settlement of database is commonly supposed to be loaded or stated in many developments of quantum processing, pattern matching, or query problems. Reality is far different because setting ordered information on certain physical storage requires precise read and write operations [35]. Despite the complexity of managing non-local resources or efficient methods to perform teleportation, it can be a straightforward process for such a settlement, which nevertheless requires preparation to set entangled pairs in suitable locations. Current technological developments are successful, such a problem based on entanglement distribution. For instance, satellite-based entanglement distribution [36] ranges such delivery around 1200 km. Otherwise, state teleportation can naturally occur over short distances as molecular or biochemical structures at nanoscales [37,38].
Multiple teleportation process enables transmitting an arbitrary and possibly unknown quantum state. Particularly, double teleportation has been already exploited for cryptography purposes in the settlement of secure authentication [23] and in Quantum Key Distribution (QKD) [39]. Nonetheless, the double teleportation process has exhibited non-locality activation in the quantum state transference [40]. As an extension, in multiple teleportation, a state is quantumly transmitted in superposition to several receivers supported by other quantum states used as a control. Such receivers perform differentiated local processing operations stating a distributed database in superposition, but still identified by an index being introduced by the control state. The database is finally collected on one of those receivers.
By introducing the traditional characters of communication in the procedure, the original qubit whose state is teleported is originally in possession of Alice (the initial producer of detonating information), who has previously distributed a set of shared entangled resources on the receivers (which is called Bob’s; each one is the main part of each distributed processor), as in the traditional teleportation algorithm. Furthermore, the control state assists the process (it can also be in possession of Alice or another party) to possibly “decide” the final teleported state (i.e., superposition). In our approach, the original qubit is transferred to one specific party, and we independently process each distributed state to generate diversified information, possibly introducing additional local information: a distributed database. Finally, such outcomes are transferred on one party setting a local database in superposition to post-selecting a subset for further purposes. The process is depicted on Figure 3. Thus, the entire process beginning with multiple teleportation undergoes several processing layers: MT PP GAA FGP .

3.1. Multiple Quantum Teleportation Procedure and Their Local and Non-Local Control: Dataset Settlement and Parallel Processing

The current process of teleportation (MT) begins with Alice attempting to teleport the state confined on a qubit labelled as 0: | φ 0 = α 0 | 0 0 + α 1 | 1 0 . In fact, our process can be easily generalized to teleport larger quantum states | φ 0 , at least those obtained as a combination of p two-level systems with dimension m = 2 p , p Z [22]. It does not require deeper changes (particularly after the teleportation) than introducing additional entangled resources. We consider this simpler case to develop our procedure. The qubit is pretended to be potentially teleported on a group of n receivers called Bob 1 , Bob 2 , …, Bob n . For this task, she prepares a group of Bell entangled resources | β 00 2 i 1 , 2 i = 1 2 ( | 00 2 i 1 , 2 i + | 11 2 i 1 , 2 i ) , i = 1 , 2 , , n , on qubits 1 , 2 , , 2 n . In addition, she shares one qubit of such resources sequentially, with each Bob i . In addition, someone prepares a control qubit with n levels. Otherwise, it can be prepared using a set of q qubits to compose a state of dimension n = 2 q , q Z , as discussed later. Thus:
| φ C = i = 1 n p i | i C , with : i = 1 n p i = 1
then, the beginning total state to be considered can be expressed as:
| Ψ 0 = ( α 0 | 0 0 + α 1 | 1 0 ) ( i = 1 n p i | i C ) j = 1 n | β 00 2 j 1 , 2 j
We consider an easier case as an illustrative approach using a two-level system as a detonating state. All our development can be extended by considering | φ 0 as a larger state than a qubit, or otherwise a composed state of two-level systems. In any case, it can also be teleported in the worst case, system by system, using the traditional teleportation algorithm with additional entangled resources [21,22], or more efficient algorithms using larger systems [41]. For the current approach, Figure 4 shows the entire quantum circuit of the process. Alice (or someone else including the management of the control state and the Alice state) prepares the following controlled gate to process her qubits, with the teleported qubit as control in this step:
C C N O T n i = 1 n | i C i | C 0 N O T 2 i 1
here, C a U b denotes the application of gate U on the qubit b controlled by the qubit a: C a U b = | 0 a 0 | 1 b + | 1 a 1 | U b . The nature of this non-local gate and other included in the development will be discussed below. In fact, such a gate can be understood as a series of Toffoli-like gates T 2 i 1 C , 0 :
C C N O T n = i = 1 n T 2 i 1 C , 0 i = 1 n | i C i | C 0 N O T 2 i 1 + i j = 1 n | j C j | 1 0 1 2 i 1
Clearly, such a gate is unitary if we reduce it by pairs: ( C C N O T n ) ( C C N O T n ) = 1 C 1 0 , 1 , 2 , , 2 n , where 1 0 , 1 , 2 , , 2 n is the identity in the subspace of the whole Bell entangled resources plus the input state. Thus, applying that gate, she obtains:
C C N O T n | Ψ 0 = i = 1 n p i | i C C 0 N O T 2 i 1 ( α 0 | 0 0 + α 1 | 1 0 ) j = 1 n | β 00 2 j 1 , 2 j = i = 1 n p i | i C ( α 0 | 0 0 j = 1 n | β 00 2 j 1 , 2 j + α 1 | 1 0 i j = 1 n | β 00 2 j 1 , 2 j X 2 i 1 | β 00 2 i 1 , 2 i )
there, X 2 i 1 is the N O T gate applied to the qubit 2 i 1 inherited from C 0 N O T 2 i 1 (in general, X , Y and Z are the Pauli operators). By noting that X 2 i 1 | β 00 2 i 1 , 2 i = | β 01 2 i 1 , 2 i = 1 2 ( | 01 2 i 1 , 2 i + | 10 2 i 1 , 2 i ) and:
j = 1 n | β 00 2 j 1 , 2 j = j = 1 n 1 2 | 00 2 j 1 , 2 j + | 11 2 j 1 , 2 j = 1 2 n s = 0 N | s odd | s even
there, N = 2 n 1 . Additionally, odd and even refer to a set of qubits with labels odd or even, respectively, conforming two composed n partite qubits | s even and | s odd labelled with the 10 base number s whose 2 base digits set the states of qubits conforming them. Thus, upon the application of C C N O T n , the expansion provides all possible combinations of 0’s and 1’s for each qubit labelled with odd and even numbers by separate, but paired, with exception for the qubit i in the second term owing to the N O T gate. Thus, the global state becomes:
C C N O T n | Ψ 0 = i = 1 n p i 2 n | i C ( α 0 | 0 0 s = 0 N | s odd | s even + α 1 | 1 0 s = 0 N | s odd | s + ( 1 ) s i o 2 i 1 even )
In such an expression, s i o is the i-th digit in s when it is expressed in 2-base. Accordingly, Alice follows the teleportation process by applying a Hadamard gate on the qubit 0, thus obtaining the following:
H 0 · C C N O T n | Ψ 0 = i = 1 n p i 2 n + 1 | i C ( α 0 ( | 0 0 + | 1 0 ) s = 0 N | s odd | s even + α 1 ( | 0 0 | 1 0 ) s = 0 N | s odd | s + ( 1 ) s i o 2 i 1 even )
After, Alice performs a measurement of qubits 0 , 1 , 3 , , 2 n 1 obtaining the outcomes j , s 1 , s 2 , , s n , respectively (last outcomes corresponds to the 2 base representation of the 10 base number s). Thus, the post-measurement state becomes:
| Ψ pm = i = 1 n p i | i C | j 0 | s odd α 0 | s even + ( 1 ) j α 1 | s + ( 1 ) s i o 2 i 1 even = i = 1 n p i | i C | j 0 | s odd | s even { 2 i } α 0 | s i o 2 i + ( 1 ) j α 1 | s i o + ( 1 ) s i o 2 i 1 2 i = i = 1 n p i | i C | j 0 | s odd | s even { 2 i } X 2 i s i Z 2 i j | φ 0 2 i
where | s even { 2 i } refers to the entire n 1 even qubits in the state | s even except by the 2 i qubit. Alice uses classical communication to share the outcomes with each Bob k . Thus, they apply the following controlled operations on their qubits (see Figure 4):
C Bob s i = 1 n | i C i | Z 2 i j k = 1 n X 2 k s k
which means they take the input of measurements, but they are controlled by system C. Such correction transforms 1’s into 0’s for all qubits, with exception of qubit i (in each term of the sum):
C Bob s · | Ψ pm = i = 1 n p i | i C | j 0 | s odd | 0 even n \ { 2 i } α 0 | 0 2 i + α 1 | 1 2 i
where | 0 even n \ { 2 i } = i k = 1 n X 2 k s k | s even { 2 i } refers to the entire n 1 even qubits in the state | 0 , with exception of 2 i . Note that, independently to the outcomes in the measurements, we arrive to the state:
| Ψ teleported = i = 1 n p i | i C | 0 even n \ { 2 i } α 0 | 0 2 i + α 1 | 1 2 i
for the control and the even qubits by disregarding the remaining qubits. Finally, if the control qubit is measured with the outcome | i (which has probability p i ), the information of the original qubit 0 is teleported to Bob i . The quantum circuit corresponding to the entire process has been graphically represented in Figure 4. This includes an alternative ending, post measurement of the control state, which will be discussed below.

3.2. Multiple Semi-Local Parallel Processing to State a Local Database of Outcomes and Their Coherent Gathering: In-Memory Post-Processing

Notably, Bob knows who is in possession of the teleported qubit. Nonetheless, Alice cannot be sure of who will receive the teleported qubit; regardless, she initially prepares the control state to favor one or several selected qubits of Bob (if she has the control qubit). Formula (12) implies that as a quantum superposition, the information on qubit 0 has been potentially teleported to Bob. Moreover, as illustrated in Figure 3, quantum parallelism is activated by Bob by performing a different controlled quantum processing U i 2 i on the qubit 2 i based on the control state, considering α 0 | 0 2 i + α 1 | 1 2 i as input:
C U i = 1 n | i C i | 1 even n \ { 2 i } U i 2 i
This step sets the parallel processing (PP). Accordingly, if | φ 0 i 2 i α 0 i | 0 2 i + α 1 i | 1 2 i is the output of each processing U i 2 i . Thus, we obtain:
| Ψ pp C U | Ψ teleported = i = 1 n p i | i C | 0 even n \ { 2 i } | φ 0 i 2 i
which potentially comprises all outcomes of the set of processing U i . Concretely, it sets the distributed database being indexed by | i C . Additionally, all such outcomes can be transferred to Bob (see Figure 3), namely Bob k , by means of a controlled S W A P gate ( S W A P gate exchanges the states between qubits a and b as S W A P a , b = i , j = 0 1 | i a j | | j b i | ) in the form:
C S W A P i = 1 n | i C i | S W A P 2 i , 2 k
thus obtaining the following state separated from the remaining Bobs (omitting the tensor product symbols for simplicity):
| Ψ k | 0 even n \ { 2 k } C S W A P | Ψ pp = i = 1 n p i | i C | φ 0 i 2 k | 0 even n \ { 2 k }
with | φ 0 i 2 k α 0 i | 0 2 k + α 1 i | 1 2 k . Although Alice cannot ensure in general the definitive post-delivering to Bob, she manipulates the control probabilities p i . Otherwise, the collaboration among Bobs is feasible, if they have access to the control qubit and U i is not still applied. Accordingly, the last action sends the teleported state to Bob k , whose state becomes separable from the remaining system state. In any case, | Ψ k can be understood as a local database of the processing outcomes distributed across several parties with an index provided by the control state. At this point, it should be remembered that | φ 0 can be the most complex multipartite quantum state; accordingly each | φ 0 i 2 k , almost following the same development. Nevertheless, in the immediate following development, we maintain the single qubit character for each processed qubit, although it can be addressed as a more complex entity by including the local information in each local processing as it will be discussed in Section 5. They are additionally indexed by the control state | i C . The global scheme of the process is shown in Figure 5. We will address the complementary selection of outcomes via measurement or based on Grover’s amplitude amplification, to finally use the output state to obtain global information from the parallel processing or to match with certain external state of the database.
Thus, despite the no-cloning theorem, it is still possible to reproduce certain arbitrary and possibly unknown state to enable parallel processing to obtain a convenient linear combination of the outcomes. Still, some criticism can be made of the operations performed among supposed faraway qubits as the control one (C) and those of each Bob and among Bobs. Despite such operations expressed synthetically before, developments in terms of local operations with classical communication (LOCC) are noted. Thus, operations as C U and C S W A P are suitably developed in Appendices Appendix A (at least for n = 2 p , p Z , which still fits our interests) and Appendix B, respectively. In the next section, we will analyze how to select a subset of such outcomes from the database via an adaptation of Grover algorithm.

4. Search and Selection of Processed States on the Database Gathering

In the current section, we deal with the post-selection of a subset of processing outcomes in the local database emerging from the previous procedure. This task is completed by stochastic post-selection or otherwise through a modification of Grover’s algorithm, considering bipartite states. For the last procedure, those states still become orthogonal because the indexing stated from the control states and their properties.

4.1. Stochastic Post-Selection on the Local Database

Otherwise, as part of the information extraction from the state in (16), Alice can attempt another measurement different from that performed on the original control basis | i C by changing the indexing and mixing the single post-processing. For instance, on a set | c l C = i = 1 n γ i l | i C (in the following, we restrict our analysis to γ i l R ). It immediately projects on Bob k , a state with certain l-linear combination of the entire information involved with the output states arising from the different processes, as a possible additional step of the information extraction:
| Ψ Bob k l 1 P c l c l | Ψ k = ( i = 1 n γ i l p i P c l U i 2 i ) | φ 0
This state corresponds to Bob k . Such stochastic selection can restrict the combinations of information selectively, although the probabilities of success to obtain certain outcomes become small if the class they belong to is a small part of the entire set { | φ 0 i } :
P c l = | c l | Ψ k | 2 = i , j = 1 n γ i l γ j l p i p j φ 0 i | φ 0 j = φ 0 | ( i = 1 n γ i p i U i 2 i ) ( j = 1 n γ j p j U j 2 j ) | φ 0
Such a set of measurements on a different basis for the control state was used in QKD to distribute a key on a secure channel through double teleportation [23,39]. In addition, constructing a physical measurement specifically containing the desired outcomes as one of the measurement basis elements is necessary. Although stochastic post-selection is a relevant quantum information resource reproduced artificially through a measurement device on a physical quantum system, the possibility that the brain will be able to perform self-measurement (at least as a decoherence phenomenon) has opened up discussions into quantum cognition regarding the quantum properties of consciousness [42].
Alternative stochastic methods could be provided by weak measurements. For instance, if certain subset S of outcomes { | φ 0 i | i S } is searched, then the pair of weak measurements can be attempted considering the measurement operators:
W 0 = | Ψ S Ψ S |
W 1 = 1 W 0
with : | Ψ S = 1 N S i S | φ 0 i
being N S the cardinality of S . Such alternative functions appropriately when states | φ 0 i are orthogonal.
Alternatively, we can reduce such sets by using an amplitude amplification algorithm [24], thus delivering a more selected subset from the entire outcomes in the database. Furthermore, a possible post-measurement of the control can still stochastically deliver a more specific desired combination from the previous amplitude amplification. The amplitude amplification algorithm for our concrete state (17) can be analyzed and developed in the next section.

4.2. Coherent Post-Selection Using a Controlled Amplitude Amplification

Similar types of Grover-like algorithm have been proposed to deal with image pattern matching [43] by the Approximate Amplitude Encoding (AAE) method to set the database. In the current development, multiple teleportation and post-processing have been used to set a database of codified quantum states possibly gathering local information incoming from several locations.
Thus, we afford a soft controlled and coherent post-selection of outcomes incoming from the previous procedure by a Grover-like method for amplitude amplification, the third step in the procedure (GAA). In the next sections, recursive formulas for the processed state in each Grover-like algorithm step are obtained and reported and an associated analysis for the effectiveness of the method under several possible scenarios is conducted.

4.2.1. Quantum Search and Single Selection on the Local Database

Considering the state | Ψ k = i = 1 n α i | A i in (16) with | A i = | i C | φ 0 i , α i = p i (disregarding the label corresponding to Bob k ). It can be considered to virtually contain the information of the n-parallel calculation processing. Probably the most typical application for the current procedure is the extraction of a certain outcome | φ 0 k from the entire database when required. Alice can use the Grover algorithm [24] to increase its corresponding amplitude | α k | 2 to one. The following unitary operators are required: an Oracle U e , and the Grover diffusion operator U m .
U e = 1 2 | A e A e | , with : | A e = | A k
U m = 2 | Ψ ( 0 ) Ψ ( 0 ) | 1 , with : | Ψ ( 0 ) = 1 n i = 1 n | A i
Thus, by applying the Grover algorithm repetitively | Ψ ( s ) = U m U e | Ψ ( s 1 ) on | Ψ ( s ) = i = 1 n α i ( s ) | A i , s = 0 , 1 , 2 , , R N (with: α i ( 0 ) α i ). As a direct calculation after applying U m U e in each step, the following iterative relations are obtained:
α k ( s ) = 2 n l = 1 n α l ( s 1 ) + ( 1 4 n ) α k ( s 1 )
α j k ( s ) = α k ( s ) ( α k ( s 1 ) + α j ( s 1 ) ) , s = 1 , 2 , , R
It is widely known that the necessary number of repetitions to raise the amplitude | α k ( 0 ) | 2 to approximately one is R π n 4 R th if n [24]. In addition, the least error to reach | α k ( 0 ) | 2 1 , denoted by Δ | α k | 2 1 | α k ( R ) | 2 1 n Δ | α k | 2 th if n [24]. Figure 6 illustrates such a procedure. In Figure 6a, several iterative applications for n = 10 1 , 10 2 , , 10 6 are shown as functions of the number of iterations, s. Figure 6b exhibits the value of R (orange dashed line) as it is compared with its theoretical value R th (solid green line). Together, Δ | α k | 2 (black dots) as function of n, note the irregular dispersion of Δ | α k | 2 while n changes. Furthermore, note the fulfilling of the maximum error threshold. By departing from | Ψ = | Ψ ( 0 ) ( α i ( 0 ) α i = p i = 1 n ), the theoretical limit values R th and Δ | α k | 2 th for n [24] are included (green solid and red dashed lines, respectively). Δ | α k | 2 is reported in a logarithmic scale on the right side, exhibiting a fast dropping of the worst error below 10 6 .

4.2.2. Multiple Selection on the Local Database: Precision and Efficiency in the Grover’s Search

Although Alice performs this selection a posteriori, she could not be interested in the extraction of only one outcome (otherwise is better generate it directly), rather several such outcomes. For instance, if the desired target state is | A e = k K β k | A k , with K a subset of labels defining a subspace of the entire Hilbert space generated by { | A k | k K } , with cardinality b = C ( K ) n . The process for the Grover algorithm is followed, departing from the same initial state | Ψ ( 0 ) . The corresponding recursive equations for α i ( s ) become:
α k K ( s ) = 2 n l J α l ( s 1 ) + k K γ k ( s 1 ) γ k ( s 1 )
α j J ( s ) = 2 n l J α l ( s 1 ) + k K γ k ( s 1 ) α j ( s 1 ) , s = 1 , 2 , , R
with : γ k K ( s 1 ) = α k ( s 1 ) 2 β k k K α k ( s 1 ) β k
being J the complement of K in { 1 , 2 , , n } . A measure of success can be constructed based on the Cartesian norm: D | | | A e | Ψ ( R ) | | K calculated only on the goal subspace. Despite such restriction, owing to Grover algorithm involving only unitary transformations, this distance provides an adequate measurement of distance, which if converges to zero, will meet the overall distance calculated on the entire Hilbert space of the state being modified. In addition, it provides, for simulation purposes, a computational advantage in terms of time processing, particularly with larger states. To illustrate the last procedure, we consider n = 10 6 and | A e = 1 b k K | A k . Thus, Figure 7a shows the evolution of D k | | | A e | Ψ ( k ) | | K (an equivalent measure for Δ | α k | 2 1 / 2 ), while reaching D as function of the number of iterations s of Grover algorithm until R for certain values of b. Note the reduction in R with an increase in b, only denoting the impossibility to reach | A e .
Still considering the last example, Figure 7b shows R and R th = π 4 n b [44] (solid blue and dashed black lines, respectively). On the same plot, D as function of b n (dashed red line) is exhibited on the right scale, noting limitations for the multiple search due to the increasing number of terms b involved in the target | A e , with a maximum D 0.2929 for b = n 2 . It is noticeable that peaks in the D dependence, clearly coincide with the discontinuous jumps for the R values. In fact, it is easily noticeable that while larger values of R th Z are reached, lowest peaks occur in b: b n ( π 4 R th ) 2 for the largest values of R th . In addition, as the peaks occur barely on these values and the error in the Grover algorithm for multiple post-selection is b n 2 D [44], such peaks become D 1 2 ( π 4 R th ) 2 , particularly for R th Z large. Those values accurately fit those observed in Figure 7b, while the last integer values for R th are larger.
Moreover, in addition to the last analysis for n = 10 6 , for other values of n where the behavior between R and R th is similar, we can perform the corresponding analysis for the goodness of Grover algorithm. In fact, independent of n, the behavior between D versus b n provides an identical plot to that shown in the Figure 7b (dashed red line), using the range of b n ( 0 , 1 ) . For this reason, we do not report additional plots, despite the fact that they were calculated for 10 k , k = 2 , 3 , , 7 providing an exact coincidence. This means that the performance measured by D does not depend on n, rather only on b n . Clearly, a growing number of repetitions of the Grover’s algorithm depending on π 4 n b as the upper limit is necessary. The peak behavior observed in the red curve for D is stated by D 1 2 ( π 4 R th ) 2 with R th Z . For a larger b n , Grover algorithm does not enable accurate fitting of the desired state because the output state of the algorithm is only one step away from it in the algorithm. When b n decreases, the algorithm provides better outcomes, still in the scale of b n 0.1 , thus providing a region for the best performance of the current selection method.

4.2.3. Analysis of Convergence in Multiple Selection for the Most Typical Scenarios

We have attempted as examples the cases when both initial and target states are evenly distributed in their components ( α i = 1 / n and β k = 1 / b ). The behavior for other cases can be investigated in terms of convergence. Thus, by generating arbitrary states selected randomly with 10 n 10 3 and then 1 b n , we analyze several cases by comparing b n and D. Figure 8a shows the previous case with initial and target states even. We are using log scales in both axes b n and D for a better appreciation of colors representing the necessary R. Thus, upper peaks represent the minimum values for D. Each dot corresponds to each case analyzed randomly on a total set of 10 5 cases. The upper-right inset represents the same distribution with normal scales as in Figure 7b for comparison. Note that the same plot is obtained by gathering all values considered for n and b because the dependence is only on b n , thus reproducing the same line. Similarly, Figure 8b exhibits the case where the target state is arbitrary and randomly generated. Note how the previous line transforms into a distribution due to the several values of n, b and the suitable target state. Nonetheless, the peaks indicating the previous minimum D values are preserved along with the general structure of Figure 8a, nonetheless with certain dispersion. Finally, Figure 8c shows the case where the target state is evenly distributed on its entries; however, the initial state is randomly selected. Such case shows a deeper deformation of the previous behavior with increased values for D and the dispersion introduced by several values for n, b along with the suitable initial state.
Despite the last outcomes, the algorithm being analyzed functions suitably for the lowest values of b / n , if the initial state is evenly distributed. A close-up of those regions is shown in Figure 9 for the same cases previously reported (with normal scales): (a) evenly distributed initial and target states, (b) evenly distributed initial state and randomly distributed target states, and (c) randomly distributed initial state and evenly distributed target state. Figure 9a exhibits a sharp behavior for the evenly distributed scenarios. Note the behavior b n 2 D for the peaks. Figure 9b for the random target state exhibits a behavior still bounded as before, nonetheless dispersed. The transition from a line into a dispersion distribution is due n 10 3 ; thus, in the range b / n [ 0.001 , 0.002 ] , b has only a concrete possible value b = 1 , thus reducing to evenly target cases for the all possible values of n. For b n 0.002 , we have the dispersion generated at least for the diverse target states (note the accumulation suggesting a remnant line), nonetheless still bounded. Figure 9c for the random initial states depicts a narrow distribution for D but is not precisely low. Such outcomes highlight the importance to begin with an evenly distributed state for the amplitude amplification problem being analyzed, which still provides suitable outcomes for b n cases.
At this point, we have performed the creation of a distributed database possibly boosted by a detonating state carrying initial information to be diversified integrating local information incoming from each processor. By gathering a single party, we have performed a partial post-selection using a Grover-like amplitude amplification algorithm. In the development, we focus on post-selection, still be composed by several outcomes incoming from the entire database. Because a possible further application of pattern matching can be performed, for the sake of generality, we assume that the first post-selection containing several outcomes has been performed, instead of a direct Grover search containing a single state to be matched (nonetheless, such a direct scenario is also possible). Grover’s amplitude amplification algorithm appears more artificial than the stochastic post-selection approach (at least considered as a decoherence process) to be present in natural processes. Nevertheless, there is certain evidence that eukaryotic cells perform natural quadratic speed-up in the search for an appropriate process [45] for a type of amplitude amplification procedure, thus enabling them to make decisions. Those facts also reflect that certain processes developed for quantum processing on artificial systems can naturally appear in biological systems. In any case, if similar process can appear in chemical or biological systems, it becomes clear that specialized non-local features can be more common or at least necessary to reach certain quantum cognition processes.

5. Final Processing Procedures and Analysis of Errors, Circuit Implementation, Decoherence and Account of Quantum Resources, and Applications

Grover’s quantum database search algorithm resulted in a dramatic reduction in the computational complexity of searching in an unsorted database [24]. Since then, many applications using this algorithm have emerged. The first quantum algorithm to approximate the mean was given by Grover [46] and certain other related algorithms have been proposed to estimate the mean and the median [47] based on amplitude estimation [48]. Following Grover’s seminal work, Durr and Hoyer [49] have proposed a quantum algorithm to determine the minimum of a function with a quadratic speed-up compared with the best possible classical algorithm. Another extension of Grover’s algorithm enables obtaining an approximate counting of the number of solutions for a search problem [50]. In the current section, we discuss several aspects related to the implementation presented in terms of possible extensions, application trends, and analysis of errors, circuit implementation notes, quantum decoherence limitations, and a comparison with alternative quantum and classical technologies.

5.1. Approach for a Generic Parallel Processing Model

All previous applications are reached through suitable final processing in from the amplitude amplification process. They allow realizing how certain global quantities are reached on data or information codified departing from an extended processing with several processors function together at the PP layer. In the approach presented before, the original single qubit state | φ 0 = α 0 | 0 0 + α 1 | 1 0 cos θ | 0 0 + e i ϕ sin θ | 1 0 contains information codified through θ and ϕ . Accordingly, each processing performed by each Bob j develops a different specialized calculation, possibly integrating local additional information to reach and deliver larger composed states. Each one should perform only a local qubit operation U j 2 j = e i η j n ^ j · σ 2 j (with n ^ j a three-dimensional vector, and σ 2 j = ( X 2 j , Y 2 j , Z 2 j ) ), delivering the output on each qubit labelled as 2 j and containing the outcome codified. Each processing is synthetically characterized by n j η j n ^ j .
Even if each processing requires more space to be performed or a multi-output is required, certain ancilla qubits can be locally added to the process, particularly because of the additional local information inclusion. Thus, each Bob j can first add quantum systems to each | φ 0 2 j as | φ 0 2 j ( α 0 | 0 2 j + α 1 | 1 2 j ) | ν j s j to then be processed into | φ 0 j α 0 j | 0 2 j | μ 0 , j s j + α 1 j | 1 2 j | μ 1 , j s j (note the simplest case corresponds to | μ 0 , j s j = | μ 1 , j s j | μ j s j ; however, the semi-local processing can consider the general expression). Each | ν j s j and | μ k , j s j with k = 0 , 1 ; j = 1 , , n are states of a higher dimension or states composed by several semi-local subsystems of each Bob j (as considered in Figure 5). In this case, processing operations U j 2 j , s j are not local, instead semi-local for the qubits belonging to each Bob j . Such additional qubits are labelled by a set of indices represented by s j (available to be used as ancilla qubits). In fact, such processes are reached by a set of unitary operators u a , b s j on the extended Hilbert space of each Bob j in the following form:
U j 2 j , s j = 1 2 a , b = 0 1 | a 2 j b | u a , b s j
with : u 0 , 0 s j u 0 , 1 s j + u 1 , 0 s j u 1 , 1 s j = 0 s j
condition (30) is required to fulfill the unitary property on U j 2 j , s j . Thus, such operation takes the information of teleported state and also local information incoming from the environment of each Bob j . In addition, states | μ a , j s j are:
α a j | μ a , j s j = 1 2 ( α 0 u a , 0 s j + α 1 u a , 1 s j ) | ν j s j , a = 0 , 1
States | φ 0 j are then transferred to Bob k as in (16):
| Ψ k = i = 1 n p i | i C | φ 0 i i = 1 n p i | i C ( α 0 i | 0 2 k | μ 0 , i s k + α 1 i | 1 2 k | μ 1 , i s k )
of course extending the C S W A P operation on the semi-local systems s j of each Bob j by moving them correspondingly into those s k of Bob k through the change S W A P 2 i , 2 k S W A P 2 i , 2 k δ s j , δ s k S W A P δ , δ in (15). Further analysis to select a subset of such superposition is identical to our previous development of the Grover-like algorithm because it is based on the orthogonal properties of the control basis { | i C } . Thus, after the Grover-like process, the output state | Ψ ( R ) results into an approximation of the desired state | A e . It can be expressed as follows:
| Ψ ( R ) = i = 1 n α i ( R ) | i C ( α 0 i | 0 2 k | μ 0 , i s k + α 1 i | 1 2 k | μ 1 , i s k )
| A e = i K β i | i C ( α 0 i | 0 2 k | μ 0 , i s k + α 1 i | 1 2 k | μ 1 , i s k )
for a target subset K { 1 , 2 , , n } . After the last processing and transferring of information on a single party, a possible reduced post-measurement on the control system is necessary, particularly if the indexing needs to be changed, as considered in (17). This step could let to reach certain information coded in such state. It was tentatively suggested in Figure 5, | Ψ ( R ) contains the achievable state. It represents the ideal state | A e on which certain types of final processing and/or stochastic selection are ideally planned. Otherwise, an external state can be matched within the subset of outcomes. We will discuss certain aspects of both possibilities below.

5.2. Generic Applications for the Database Settlement with Partial Selection

Applications for the current procedure (first using parallel processing to set a database and subsequently performing a partial search) are mainly located across the reach of global information or otherwise for performing a query. Main search possibly needs be refined in a controlled manner for a concrete query according to specific problems. Thus, additional uses can include global information search or pattern matching on an already debugged database.

5.2.1. Analysis of the Final Processing to Obtain Global Information from the Selected Database Subset

The discussion on global final processing has been presented in the previous sections, including several implementations related to the Grover algorithm. In fact, using an initial suitable codification on the initial state | φ 0 (basis encoding, amplitude encoding, or angle encoding), subsequently post-processing generates certain database with the procedure proposed maintaining the encoding inside each | φ i . Accordingly, Grover-like procedure delivers a subset of such outcomes representing values to be averaged as a function of the type of encoding [47], optimized [49], and sorted [48,50]. Clearly, each one of those problems has been carefully treated to first introduce an effective encoding of information and subsequently a smart final processing U f to solve the global proposed task. Below, we bound the associated error transferred from the Grover-like algorithm of such a final processing, corresponding to the final layer of the procedure (FGP).
When the goal considers post-processing to reach certain global information from the selected outcomes in the database, then a final unitary global processing U f is expected on the entire | A e (or in fact on the approximated | Ψ ( R ) state). Such is the case for the aforementioned applications as the mean [46], median [47], amplitude estimation [48], and minimum finding [49] problems.
If no post-measurement is performed on the control, the errors can be estimated as follows:
D f = | | U f | A e U f | Ψ ( R ) | | K = | | | A e | Ψ ( R ) | | K
F f = | A e | U f U f | Ψ ( R ) | 2 = | A e | Ψ ( R ) | 2
this implies the fidelity between both states. Note that the application of U f does not change the analysis of errors presented in the previous section. Indeed, both these quantities are related because:
D f 2 = | | | A e | Ψ ( R ) | | K 2 = 2 ( 1 Re ( A e | Ψ ( R ) K ) ) 2 ( 1 + F f 1 2 ) D f 2 2 ( 1 F f 1 2 ) F f 1 D f 2 2 2
which, for the maximum outcome for D 0.2929 (see Figure 7b), provides F f 0.9160 .

5.2.2. Quantum Pattern Matching with an External Quantum State

Quantum pattern matching is a widely known area related to quantum information, wherein techniques are developed to identify a quantum state codifying data inside a database. It is another alternate possibility for the final layer of the procedure (FGP). In the current stage of our development, a partial search has been already applied based on the quadratic speed-up in query complexity introduced by the Grover algorithm [44]. Such a subset contains the goal states where an additional external state is expected to be found. Thus, we need to find a concrete quantum state on an already limited superposition generated by the Grover algorithm. Note in certain cases the query can be performed from the beginning through a single post-selection. Here, we assume that the first reduction in database was already performed to subsequently determine a concrete state coinciding (or not) with the processing outcomes within the reduced database. Certain efficient procedures to determine a pattern included on a quantum state has been provided in [51]. Certain procedures are still based on Grover algorithm with the complexity of setting an oracle again and, in general, the entire settlement. When only few elements are present in the reduced selection, certain bit-parallelism techniques has been developed [52] and other statistical approaches has been attempted [53]. In this last trend, we show a short statistical method to discriminate matching.
Considering the ideal state (34) obtained through the post-selection using GAA, we assume that a certain external state | φ (not necessarily known), with multiple identical copies available, should be identified as a member of the reduced subset of elements from the database: { | φ 0 i | i K } . Thus, we proceed to measure it on | A e :
1 P φ | A e = 1 P i K β i φ | φ 0 i | i C
P = | φ | A e | 2 = i K | β i | 2 | φ | φ 0 i | 2
the control outcome state in case of success and the success probability, respectively. For simplicity, here we assume the most practical case with β i = 1 b and only | φ 0 i = α 0 1 | 0 2 k + α 1 1 | 1 2 k . The analysis of more complex cases including additional states | φ 0 i = α 0 1 | 0 2 k | μ 0 , i s k + α 1 1 | 1 2 k | μ 1 , i s k is similar; however, it will require additional information regarding the nature of | μ j , i s k , j = 0 , 1 , which is out of the scope of the current analysis. How can we identify if | φ { | φ 0 i 2 k | i K } ? In the current section, we present still-detectable differences in the statistics of such measurements if it belongs to the reduced subset provided by the Grover-like algorithm.
If | φ { | φ 0 i 2 k | i K } and as instance, { θ i , ϕ i | i K } are uniformly distributed on the Bloch sphere, and it can be reasonably assumed that 1 P φ | A e is closer in average from | ϕ ^ C i K 1 b | i C . Accordingly, if we are able to measure such a state, there is a large probability for the first affirmation (note for the case n = 2 p , p Z this operation can be performed using a series of Hadamard gates). Thus, if such an outcome is obtained on the control, the last success probability is:
P C = 1 P | ϕ ^ C | φ | A e | 2 = 1 b 2 P | i K φ | φ 0 i | 2 = | i K φ | φ 0 i | 2 b i K | φ | φ 0 i | 2
Otherwise, measuring | φ does not necessarily imply that it is one of the | φ 0 i because those states are not necessarily orthogonal. Nonetheless, it is expected that only one of φ | φ 0 i = 1 . Here, we assume that all elements of the database are different. In fact, if | φ can be repeatedly measured, larger possibilities can be identified. Depending on the database, there are extensive possibilities pertaining to the probability distribution of { | φ 0 i | i K } . Expressing | φ 0 i = cos θ i 2 | 0 + e i ϕ i sin θ i 2 | 1 , i K and | φ = cos θ 2 | 0 + e i ϕ sin θ 2 | 1 , φ | φ 0 i = cos θ 2 cos θ i 2 + e i ( ϕ i ϕ ) sin θ 2 sin θ i 2 . Considering that { θ i , ϕ i | i K } is uniformly distributed on the Bloch sphere and using the Haar measure [54], certain expected values associated with φ | φ 0 i are shown by direct calculation. They are developed in Appendix C. The outcomes are fundamental for obtaining P , P C .
The previous measurement procedure on Bob k and control is illustrated in Figure 10a. Accordingly, we can consider the four total probabilities as instance in the process (otherwise conditional ones): P P C , P ( 1 P C ) , ( 1 P ) P C , or ( 1 P ) ( 1 P C ) (see Figure 10b). By analyzing each possibility, P P ( 1 P C ) is found to exhibit a distribution with reasonable detectable differences between the cases when | φ belongs to the subset of the database obtained by Grover algorithm.
Furthermore, considering the outcomes (A20)–(A23), obtaining the expressions for the expected value of P, μ P (A26) and their variance σ P 2 (A27) is feasible, see the development in Appendix C. Note that σ P 2 depends on θ . Figure 10c and d show such quantities (dashed lines for the case of a perfect matching inside the database). Figure 10c shows a finite gap in μ P when | φ belongs to the database-reduced subset. This gap changes from 1 8 to zero when b is increased, rendering detectability in principle to each situation for low values of b. If several copies are available, the procedure can be repeated to detect the belonging by analyzing the emerging statistics. An efficient process of multiple teleportation and Grover amplitude amplification is required to reproduce the process. Despite repetitions, if | φ is unknown, determining if such a pattern in the form of | φ is in the reduced subset is useful. Differences in σ P are lower and in addition they depend on θ . It reduces the possibility to detect differences based on this last statistical quantity.
Finally, we still need to bound the outcome for μ P by considering the real outcome state incoming from the Grover-like procedure | Ψ ( R ) and the real expected value μ P . Using the Cauchy–Schwarz inequality and the properties of the inner product:
Δ μ P = | μ P μ P | = | φ | A e | 2 | ϕ ^ C | φ | A e | 2 ¯ | φ | Ψ ( R ) | 2 | ϕ ^ C | φ | Ψ ( R ) | 2 ¯ = Tr | φ φ | ( 1 | ϕ ^ C ϕ ^ C | ) ( | A e A e | | Ψ ( R ) Ψ ( R ) | ) ¯ | Tr ( | φ φ | ) | | Tr ( 1 | ϕ ^ C ϕ ^ C | ) | | Tr ( | A e A e | | Ψ ( R ) Ψ ( R ) | ) ¯ | = ( b 1 ) | Tr ( ( | A e | Ψ ( R ) ) ( A e | + Ψ ( R ) | ) ¯ | = ( b 1 ) | ( A e | + Ψ ( R ) | ) · ( | A e | Ψ ( R ) ) ¯ | 2 ( b 1 ) D
observing that such an error increases with the function of b, as expected. Nonetheless, for low values of b as those in Figure 9, it is still sufficiently bounded and μ P μ P .

5.3. Grover Circuit Implementation for the Current Approach

Several proposals implementing the Grover algorithm as a quantum circuit have been reported through seminal works. There are differences between the cases where either Grover’s algorithm is used to determine a unique solution or multiple ones. In the first case, for instance, Grover’s circuit has been depicted in [55,56,57], with the typical value for the steps O ( 1 / n ) . In [58], a circuit implementation of a key search for the Advanced Encryption Standard (AES) is analyzed; however, the capability of modifying Grover’s algorithm is mentioned; therefore, it can cope with a larger but still unknown number of solutions. Nevertheless, [59] presents a variant of the algorithm capable of acquiring a solution even when the number of solutions is greater than one. In the same trend, in [60], the design of a circuit for an extended Grover’s algorithm for any dimension is presented using a decomposed n-qudit Toffoli gate, thus considering the concept of qudits. For the current approach, the circuit presented in [61] is useful. It is the most general form for algorithm construction due to the way they present the oracle and Grover diffusion operations. Nevertheless, as proved feasible in previous studies, the circuit can be implemented in a larger environment with more than one solution, guided by the ideas presented in [62], where states are constructed as a combination of several qubits. In our case, it is particularly appropriate for the design of the control state.
In the current procedure, the operators U e and U m should be implemented as the states | A e = k K β k | A k and | Ψ ( 0 ) = 1 n i = 1 n | A i , respectively. Although the implementation is possible in principle, the knowledge of the β k coefficients in the target state | A e becomes difficult to acquire, rendering the implementation impractical on a generic quantum circuit. Otherwise, as analyzed in the previous section, an evenly distributed target state becomes better than another arbitrary one (despite exhibiting a suitable performance for lower searches b n . Thus, in such a case, it becomes more practical to consider β k = 1 b than to include local post-processing on the control to modify the coefficients, if necessary. Coefficients p i on the control can be implemented based on the design; however, if the target state is selected with β k = 1 b , such initial design will become unproductive. Thus, the election p i = 1 n becomes the most convenient.
For the last election, the quantum circuits introduced in the literature for Grover algorithm are still adequate with certain modifications for the current development by operating them on the control states | i C as the elective states (because they are maximally entangled with the processed outputs | φ 0 i or α 0 i | 0 2 k | μ 0 , i s k + α 1 i | 1 2 k | μ 1 , i s k ). The control state can be a genuine quantum state of dimension n or a multipartite state of qubits with dimension n = 2 p expressed in the binary notation | i C = v = 1 p | i v with an appropriate length p and i = v = 1 p i v 2 i 1 , i v { 0 , 1 } . In the last case, applying the controlled operation C U as developed in Appendix A is appropriate for this structure.
From (22), operator U e for the multiple post-selection presented in Section 4.2.2 is an oracle exhibiting the following form:
U e | A k = | A k 2 b k K | A k , k K | A k , k K
such operation represents a rotation on the subspace span ( { | A k | k K } ) . It tilts | A k by an angle δ e = arcsin ( 1 2 b ) with respect to itself and an angle χ e = arccos ( 1 b 1 ) with respect to the other vectors in the subspace (if b 1 , see Figure 11a). Thus, such rotation does not depend on the structure of | A e but only on b and the selection of K.
Similarly, the operator U m for the reflection respect to | Ψ ( 0 ) has the following effect:
U m | A k = ( | A k 2 n j = 1 n | A j )
a tilt of | A k by an angle δ m = π 2 + arcsin ( 1 2 n ) respect itself and an angle χ m = arccos ( 1 n 1 ) respect the other vectors in the entire space for the control state (see Figure 11b). Again, such a rotation only depends on n. A schematic representation of the amplitude amplification is shown in Figure 11c (ancilla qubits are not illustrated).
If each control state | i C is performed by a group of p qubits ( n = 2 p ) as depicted previously: | φ C = s = 0 2 p 1 p s | s C ( | s C , briefly expressed in base-10 notation). Accordingly, last operations can be generated by entangling operations between them and the states for qubit 2 k of Bob k ; nonetheless, it involves few qubits at time. In particular, in such a scheme, U m = H p · ( 2 | 0 0 | p 1 p ) · H p [63]. Another approach has been introduced in [62] in terms of single operations. In any case, the state | Ψ ( R ) | A e , with β k = 1 b , is obtained.

5.4. Limitations Imposed by Possible Decoherence Effects

The entire process undergoes multiple teleportation and parallel post-processing; nonetheless, the final treatment for gathering the multiple outcomes has been performed assuming well-functioning gates, which, in fact, are finally reduced to physical interactions between imperfect systems. Quantum decoherence is introduced by the environment that affects the setups settled either on photonic systems or on matter systems. Although photonic implementations are better recommended, quantum information involved in the process should be stored, particularly the information related to the database. Although decoherence effects are mild for photonic implementations, it is not true for based-matter systems. Such undesirable effects on gate are hardly analyzed as quantum open systems using Linblad or Redfield equations [64]; otherwise approximations are performed using non-Hermitian Hamiltonians [65].
However, both approaches become exceedingly complex when many gates are introduced in a complex procedure. In another trend, this problem has already been tackled for the most common gates implemented in quantum processing on matter through certain practical considerations [66]. Certain gates as N O T , Hadamard, C a N O T b , Toffoli, etc., (all of which are involved in the current procedure) have been analyzed using the Lindblad equation approach for Nuclear Magnetic Resonance (NMR). As a result, guidelines for quantum circuit designers were reported for their fidelity behavior due to decoherence [67] under amplitude and phase damping as the most representative examples of noise. As a result, certain considerations were stated: (a) deeper circuits of course exhibit lower fidelity (processing more qubits), (b) multiqubit gates do not necessarily exhibit lower fidelity than single gates, and (c) shorter timescales to reach each gate still maintain fidelities close to one.
In the Noisy Intermediate Scale Quantum (NISQ) technologies, current global coherence times are in the range of 50–100 μ s, thus dealing with fidelities routinely implemented above 0.99 for single qubits gates. This is also true for certain two-qubit gates. In the current technologies, individual operation times are in the order of nanoseconds; thus, large circuits can still be addressed during the coherent time-window [68]. This implies that circuits with gates in the order of tens can be implemented. Table 2 reports the gates for the initial part of the process, their type by process (MT and PP as before), and the number of qubits involved. More than a half are single-qubit gates. Thus, implementation on matter-based technologies is only in the technological frontier.
If controlled operations are necessarily involved, the depth of the process increases requiring deeper circuits involving 4 qubits operations in the current technological limit [69]. Grover implementation based on initial and final evenly distributed states (as required in the current development) demands the same resources as the traditional Grover algorithm because the outcomes of the database are previously allocated on the same party. Thus, technological developments in this direction cover the current analysis. As [43] has stated, few Grover implementations and concrete applications have been provided, mainly due to difficulties to state the oracle in the procedure [70,71].
In the classical domain, parallel processing is understood as a computing process, dividing a large task into many smaller ones. They are executed on several computation nodes, resulting in swifter completion. This requires certain large tasks to be able to be executed simultaneously, nonetheless preserving the sequencing of their constituents. Although each processor can use its own memory, computation nodes also require access to data, software, or peripheral devices to obtain a concrete global outcome or process by sharing a single physical database and memory [72]. In fact, an integrated processing on such a database requires access to distributed locations where outcomes or data are stored but being read, load, and processed by a single memory to obtain the final outcome: a global processing or query, aspects superseded in principle by a quantum approach [73].
By comparing the current process with other proposals of quantum database queries, most of them assume that the database is already settled [74,75] without analyzing the complexity. Instead, a recent current development successfully addresses the entire procedure [43] employing AAE [35], a method based on a variational approach, which loads the sufficient approximation to the objective database. In our approach, we are using exact non-local procedures, which require dominion of challenged techniques controlling non-local resources, thus requiring a faithful construction and distribution at the edge of the current quantum technologies.

5.5. Image Matching on a Large Dataset: An Example

To further clarify the procedure presented, we discuss an example regarding the analysis of a large set of images to analyze their invariant properties under certain transformations. Consider a set of images of m × m pixels. Such a simple set can have 2 m 2 = 65 , 536 different images in total. It becomes harder when it is scaled ( m 4 ). Suppose that an unknown subset of n 2 m (not repeated) is being considered. They are locally stored in different parts of a quantum memory, where in addition to the first qubit from a Bell pair is present in each semi-local set (another one is in possession of Alice to perform the teleportation to those places). Each local image | ν j s j = k = 1 m | ν j k 4 is represented based on their pixels ν j k 4 { 0 , 1 } in base-2, being 0 white and 1 black, whereas ν j { 0 , 1 , , 2 m 1 } is expressed in base-10. Note that, in this case, states storing the images and their different translations are orthogonal (except with invariant images under those translations). In terms of the previous development presented, | μ a , i s j s k , with i , a { 0 , 1 } being the images obtained after each rotation departing from the image i: horizontal a = 0 and vertical a = 1 .
An original qubit in possession of Alice | φ 0 0 = α 0 | 0 0 + α 1 | 1 0 will decide the cyclic right-forward ( | 0 ) or upward ( | 1 ) translations ( u 0 , 0 s j and u 1 , 1 s j , respectively, not developed here) on each image (and their superposition weights). If more complex qubits are teleported, a more diverse set of operations can be simultaneously considered. A control system identical to (1) manages the multiple teleportation. Figure 12a illustrates the case m = 4 and the first 10 elements in a distributed dataset. Each pixel is originally numbered from 0 to 15 to fulfill the notation previously established in | ν j s j . Thus, the state indexed by | 1 C is | ν 1 s 1 = | 1111000001111100 . After the translations, the numbering has been preserved as a reference; however, the original numeration for the qubits storing each pixel is maintained. Thus, translation is a set of swapping between the states of the qubits storing each image. Thus, as instance: | μ 0 , 1 s k = | 1111000010110110 and | μ 1 , 1 s k = | 0000011111001111 . Applying the controlled operation:
U j 2 j , s j = | 0 2 j 0 | u 0 , 0 s j + | 1 2 j 1 | u 1 , 1 s j
which clearly fulfills (30), we finally obtain the distributed database of outcoming images depicted by | Ψ k in (16).
Accordingly, several problems can be derived from here. We assume that the image does not belong to the original set, but probably to the translated set of outcomes, thus rendering parallel processing necessary. Furthermore, if a single image matching is directly performed on a certain index or still if the search is performed on a set of indexes, the use of amplitude amplification can be performed for comparison stochastically (by instance using weak measurements as W 0 , W 1 ) or with the procedure presented in Section 5.2.2 with the external image being searched. The final stochastic search functions because of the orthogonality of the state images. If it is successful, the remaining state in the control system and in | φ 0 i 2 k will store the index location(s) and the translation operation(s) performed.
Instead, if we treat only a selected subgroup to reach a certain global property, we can use the Grover-like amplitude amplification method first, based on the knowledge of the indexes fulfilling the search criteria. For instance, if only the images with exactly 8 dark pixels are considered (see Figure 12b), then Grover algorithm will select such subset in | Ψ ( R ) , ideally in | A e . In the last expression, in agreement with our convergence analysis, the most precise solution in the Grover procedure is achieved when p i = 1 N and β i 2 = 1 b . We assume such prescriptions as follows: additionally, we consider α 0 = α 1 = 1 2 . In this case, measuring the qubit 2 k on the basis | ± , ± | A e normalized becomes:
± | A e n o r m = 1 2 b i K | i C ( | μ 0 , i s k ± | μ 1 , i s k ) n o r m = 1 N Δ ± i K I | i C | μ i I s k + i K ˜ I | i C ( | μ 0 , i s k ± | μ 1 , i s k )
where K I , K ˜ I are the subsets of invariant and non-invariant figures (as | 7 C in Figure 12a,b). Additionally, Δ ± = 1 ± 1 and N ± = Δ ± 2 N I + 2 i K ˜ I ( 1 ± Re μ 0 , i | μ 1 , i ) , being N I the number of equivalent images under both translations. Using post-measurement post-processing, when the measurement outcome is | , the state in (45) will contain only the non-invariant images, with a number of terms ( b N I ) N 4 , thus containing global information regarding the global set of images in terms of their invariance. Such state also contains a set of entangled states ( | μ 0 , i s k | μ 1 , i s k ) regarding the similitude among the images upon both transformations. In both cases, certain global information characterizing the entire set has been obtained. Nevertheless, further information should be extracted with additional algorithm involving global processing depending on specific problems.

6. Conclusions

In the current report, we have developed a tentative procedure to set a database using multiple teleportation for further parallel processing, two tasks commonly intertwined in the classical computing domain, where reading and writing on local processors are performed, and their number limits the scalability. Quantum information systems circumvent such limitations because dense coding is possible owing to state superposition. In our developed procedure, we have used a basic unit of information in the form of a qubit; however, it can be easily extended considering a larger quantum system, particularly those composed of two-level quantum systems [22]. Such resources are multiply teleported in the current strategy to set a copy in superposition, to then be processed in parallel under differentiated computing procedures working as local processors. Such a procedure possibly introduces additional local information. This combination of steps allows setting a non-local distributed database. It can be moved via entanglement on a single party stating a final indexed local database.
After a partial search based on amplitude amplification has been performed to select certain outcomes on demand, a subset of outcomes is set (either through the index stated by the control state or otherwise introduced in the oracle, which could be constructed using similar repeated external resources). Such a search has been featured in terms of their efficiency as a function of the parameter b / n , the fractional size of the database selection. In addition, we have analyzed their convergence in certain cases of interest, determining as the best scenario an initial state encompassing the entire outcomes with the same amplitude evolving on another reduced state with also balanced amplitudes for further tasks, only containing certain desired outcomes.
A tentative ending step considers either a final global processing to reach certain global information obtained from the reduced database or a pattern matching with certain possible external state. In the current literature of quantum parallel processing and amplitude amplification exists exemplary processes, thus averaging, optimizing, and sorting the information. For pattern matching, we have analyzed an alternative procedure (to the direct amplitude amplification) to identify if such a pattern is present or not within the reduced database. It is based on the analysis of certain statistical quantities unveiling differences: an involved probability P in the process, which experimentally unveils the pattern matching. Nonetheless, such a procedure requires the entire process repetition. Otherwise, when it is possible, the amplitude amplification procedure can be performed since the beginning with the involvement in the oracle of the concrete external state to be matched.
If the distance among processing parties is approximately a few nanometers or thousands of kilometers as a part of a distributed computer design, in our development, the dominion of teleportation and particularly of the non-local activation to transfer and control quantum information among several parties still require a notable advancement of quantum technologies. Nonetheless, we have noticed based on the development that operations involved in the current proposal naturally appear to occur in the nanoscale as part of the interactions among molecules or still more complex structures in the biochemical domain. An obvious question arises here: have those structures evolved more complex forms as brains, as shown by a type of quantum cognition enabling them to make decisions? Other questions appear regarding the self-measurement capacity of those structures in the making-decisions process, reproducing certain notable experiments as the Dirac 3-polarizer experiment or other similar experiments involving the Zeno effect, whose continuous measuring effects mimic certain decisions-making aspects in the brain, strengthening the possibility of self-measurement there.
Thus, we have also discussed how certain controlled processing and information transferring operations can be performed through non-local multi-processing by using entanglement and controlled measurements, both in the current frontier of quantum technologies. Non-local features presented here enable stating an alternative approach (despite the limit of our current quantum control and technologies) to set parallel processing on local memories where a database of information have been suitably settled. If chemical or biological systems are able to set on them similar non-local processing to evolve, an interesting question is already being considered in the current disruptive literature pertaining to quantum machine learning, quantum artificial intelligence, and quantum cognition. Dominion of such operations becomes relevant because they illustrate how to perform controlled operations at a distance via entanglement. Such type of control is feasible in the future of quantum processing and communications. Thus, the quantum world must still develop superior procedures over our classical world approaches and current technological capacities.

Author Contributions

All authors contribute evenly in every section of this work. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

Authors acknowledge the economic support to publish this article to the School of Engineering and Science from Tecnologico de Monterrey. Carlos Cardoso-Isidoro and Francisco Delgado also acknowledge the support of CONACYT.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AAEApproximate Amplitude Encoding
AESAdvanced Encryption Standard
DBMSDatabase management system
GAAGrover’s Amplitude Amplification
GFPGlobal Final Processing
MTMultiple teleportation
NISQNoisy Intermediate Scale Quantum
PMPattern Matching
PPPost-processing
QIMPQuantum Image Processing
QKDQuantum Key Distribution
QPMQuantum Pattern Matching

Appendix A. Control on Faraway Non-Local Resources

Controlled operations on faraway non-local parties, as that C U in (13), can be achieved as:
C U = i = 1 n C i C U i 2 i where : C i C U i 2 i i j = 1 n | j C j | 1 2 j + | i C i | U i 2 i
nonetheless, each factor cannot be performed directly (assuming that the control and qubit 2 i cannot be moved from their far locations). Nevertheless, they can be achieved via LOCC with the support of an entangled state | T a b where qubit a is in possession of Alice/Control systems and b is sent to Bob i :
| ψ = j = 1 n p j | j C | ϕ j { 2 i } | ψ j 2 i | T a b with : | T a b = 1 n k = 1 n | k k a b
which represents a general state as in our development, with the qubit 2 i explicitly separated from the remaining system of even subscripts represented by the state with subscript { 2 i } . A direct calculation shows that a such state can be written as:
| ψ = j , k = 1 n p j n | j k C a | ϕ j { 2 i } | ψ j 2 i | k b
considering a basis change defined as:
| j k C a = u , v = 1 n T j k , u v | B u v C a
where | B u v C a are possibly entangled states in general. Thus:
| ψ = 1 n u , v = 1 n | B u v C a j , k = 1 n p j T j k , u v | ϕ j { 2 i } | ψ j 2 i | k b
The nature of the T j k , u v coefficients selects all of them with the absolute value of 1 n in the following way: for each u , v pair, then T j k , u v 0 only for n pairs from the n 2 combinations of j , k , and each one different for each j. This means we can demand that such n coefficients fulfill the following:
| ψ = 1 n u , v = 1 n | B u v C a j = 1 n p j T j k ( j ) , u v | ϕ j { 2 i } | ψ j 2 i | k ( j ) b
where k ( j ) is an one-to-one function on the set { 1 , 2 , , n } . For n = 2 q , q Z , such a selection is easily possible. Because only n coefficients appear when the terms p j | ϕ j { 2 i } | ψ j 2 i | j b in (A6) are combined, and we can visualize such combination based on the following arrangement (where blocks of size n have been remarked here):
Entropy 25 00376 i001
There, each row states for each | B u v which combinations for j , k appear in the second sum of (A6). Such coefficient arrangement could be constructed as follows. For the first block of rows for u = 1 , n rows were constructed for each v. Each one contains just n coefficients 1 n allocated in 11 , 22 , , n n rows for v = 1 . In the other n 1 rows, entries different from zero just were moved cyclically one place to the right consecutively.
For the next n 1 blocks for each u, initially the last procedure is repeated. Nevertheless, we need to demand | B u v that will be orthonormal among them. Each column in the block j = 1 is orthonormal; however, columns for j = 2 , , n require modifications. In fact, by selecting the last n 2 different block-rows for the second block-column changing the signs to their entries, we obtain orthogonal columns among them and among those columns in the first block-column. By repeating the last procedure with the third block-column, changing the sign in the last second half-section with the same signs, we will obtain orthonormal vectors among them and with the two previous block-columns. Such procedure can be repeated with the remaining block-columns only if n = 2 q , q Z . Such block structure is affordable based on the last single method for n = 2 q , not requiring the knowledge of the other involved states of Bob. If such | B u v C a basis selection is possible, then additionally there exists a set of local exchange ( j , k ( j ) i = 1 n | i b i | + | k ( j ) b j | + | j b k ( j ) | ) and phase transformations ( j i = 1 n | i b i | | j b j | ), L u v b on b, fulfilling:
| ψ = 1 n u , v = 1 n | B u v C a L u v b j = 1 n p j | ϕ j { 2 i } | ψ j 2 i | j b
then, Alice applies the semi-local operation T 1 = ( T u v , u v 1 ) on her qubits C and a, obtaining:
| ψ ( 1 ) = 1 n u , v = 1 n | u v C a L u v b j = 1 n p j | ϕ j { 2 i } | ψ j 2 i | j b
The following development can be achieved using delayed measurements [76] or controlled operations. They commonly require interactions between faraway resources, which implies some of them can be moved from their locations using additional classical communication operations. Instead, we will use projective measurements and corrections. Thus, Alice measures their qubits C , a obtaining the outcomes | u C and | v a , respectively. Using classical communication, Alice applies the controlled operation C C L b u , v = 1 n | u C u | | v a v | L u v b or otherwise better as is required by the locality, she measures the state | u v C a and shares those outcomes with Bob i who applies L u v b locally. The outcome is as follows:
| ψ ( 2 ) = | u v C a j = 1 n p j | ϕ j { 2 i } | ψ j 2 i | j b
thus, Bob i applies the controlled operation C i b U i 2 i :
| ψ ( 3 ) = | u v C a ( i j = 1 n p j | ϕ j { 2 i } | ψ j 2 i | j b + p i | ϕ i { 2 i } U i 2 i | ψ i 2 i | i b )
Finally, qubit b is sent to Alice to perform the S W A P C b operation:
| ψ ( 4 ) = | v u a b ( i j = 1 n p j | j C | ϕ j { 2 i } | ψ j 2 i + p i | i C | ϕ i { 2 i } U i 2 i | ψ i 2 i )
which, disregarding the qubits a and b, is the same state obtained by C i C U i 2 i .

Appendix B. SWAP Operations between Faraway Non-Local Parties

We will show how to perform the C S W A P 2 j , 2 k operation between the faraway parties 2 j , 2 k (assuming they cannot be moved close together). We will use the entangled resource | β 00 a b , where qubit a is in possession of Bob j and b is sent to Bob k :
| ψ = i = 1 n p i | i C | 0 even n \ { 2 i } | φ 0 i 2 i | β 00 a b
By rearranging the qubits 2 j and a in the j-th term of (A13), and expressing it in terms of Bell stats basis:
| ψ ( 1 , j ) = p j 2 | j C | 0 even n \ { 2 j } x , y { 0 , 1 } | β x y 2 j , a Z b x X b y | φ 0 j b + j i = 1 n p i | i C | 0 even n \ { 2 i } | φ 0 i 2 i | β 00 a b
then, Alice and Bob 0 apply the controlled operation C j C ( H 2 j C 2 j N O T a ) on their qubits (where, C j a G b | j a j | G b + j i = 1 n | j a j | 1 b . Accordingly, we obtain:
| ψ ( 2 , j ) = p j 2 | j C | 0 even n \ { 2 j } x , y { 0 , 1 } | x y 2 j , a Z b x X b y | φ 0 j b + j i = 1 n p i | i C | 0 even n \ { 2 i } | φ 0 i 2 i | β 00 a b
after, Bob 2 j measures qubits 2 j and a if the control register is | j C , obtaining | x 2 j and | y a using controlled quantum measurements [77,78]. Thus:
| ψ ( 3 , j ) = p j | j C | 0 even n \ { 2 j } | x y 2 j , a Z b x X b y | φ 0 j b + j i = 1 n p i | i C | 0 even n \ { 2 i } | φ 0 i 2 i | β 00 a b
Using controlled classical communication, the measurement outcomes are shared with Bob 2 k if the control register is | j C to perform the operation X b y Z b x and, subsequently, S W A P 2 k , b , all on his qubits. Similarly, Bob 2 j applies C j C X 2 j x and C j C X a y . It gives:
| ψ ( 4 , j ) = p j | j C | 0 even n \ { 2 k } | 00 a b | φ 0 j 2 k + j i = 1 n p i | i C | 0 even n \ { 2 i } | φ 0 i 2 i | β 00 a b
Finally, Bob 2 j uses controlled quantum measurements again, when the control register is different from | j C to measure the qubit a, obtaining | z a as outcome. He performs C C X a z and uses controlled classical communication to share the outcome to Bob 2 k who performs X b z . It provides the following state:
| ψ ( 5 , j ) = p j | j C | 0 even n \ { 2 k } | φ 0 j 2 k + j i = 1 n p i | i C | 0 even n \ { 2 i } | φ 0 i 2 i | 00 a b
then, by disregarding | 00 a b we obtain such a process to repeat it now with each one of the other parties different from 2 j and 2 k . Finally, we obtain:
| Ψ k | 0 even n \ { 2 k } = i = 1 n p i | i C | φ 0 i 2 k | 0 even n \ { 2 k }
which fits with | Ψ k in (16).

Appendix C. Averages and Variances of P* (1 − PC) Probability for the Pattern Matching Procedure

If { θ i , ϕ i | i K } are uniformly distributed on the Bloch sphere, by using the Haar measure on it [54], the following expected values can be obtained from a direct calculation (the line over indicates the expected value function):
φ | φ 0 i ¯ = 1 8 π 0 2 π 0 2 π | sin θ i | φ | φ 0 i d θ i ϕ i = 0
| φ | φ 0 i | 2 ¯ = 1 8 π 0 2 π 0 2 π | sin θ i | | φ | φ 0 i | 2 d θ i ϕ i = 1 2
φ | φ 0 i 2 ¯ = 1 8 π 0 2 π 0 2 π | sin θ i | φ | φ 0 i 2 d θ i ϕ i = 1 4 ( 1 + cos θ )
| φ | φ 0 i | 4 ¯ = 1 8 π 0 2 π 0 2 π | sin θ i | | φ | φ 0 i | 4 d θ i ϕ i = 1 3
there, Bloch sphere is integrated twice to consider all mathematical possible two levels quantum states. Accordingly, an important issue in this development is as follows:
| i K φ | φ 0 i | 2 ¯ = i K | φ | φ 0 i | 2 ¯
Then, due P could be expressed as:
P = P ( 1 P C ) = 1 b i K | φ | φ 0 i | 2 1 b 2 | i K φ | φ 0 i | 2
by considering (A20)–(A23), it is easy to show that:
μ P = P ( 1 P C ) ¯ = b 1 2 b , | φ { | φ 0 i 2 k | i K } b 2 1 2 b 2 , | φ { | φ 0 i 2 k | i K }
The first expression is obtained by considering the expected value of the expression and subsequently changing each term by the corresponding outcomes in (A20)–(A23). Instead, the second one, when one term k matches with | φ , 1 is substituted: φ | φ 0 k = 1 . Similarly, continuing the calculation:
σ P 2 = ( P ( 1 P C ) ) 2 ¯ P ( 1 P C ) ¯ 2 = ( b 1 ) 4 b + 3 cos θ cos θ + 2 1 48 b 3 , | φ { | φ 0 i 2 k | i K } ( b 1 ) 3 ( b 2 ) cos 2 θ + 6 ( b + 2 ) cos θ + b ( 4 b 5 ) + 22 48 b 4 , | φ { | φ 0 i 2 k | i K }

References

  1. Khrennikov, A. Ubiquitous Quantum Structure: From Psychology to Finances; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
  2. Khrennikov, A. Quantum-like model for unconscious-conscious interaction and emotional coloring of perceptions and other conscious experiences. Biosystems 2021, 208, 104471. [Google Scholar] [CrossRef]
  3. Gunji, Y.P.; Shinohara, S.; Basios, V. Connecting the free energy principle with quantum cognition. Front. Neurorobot. 2022, 16, 910161. [Google Scholar] [CrossRef]
  4. Morris, S.A. Pontryagin Duality and the Structure of Locally Compact Abelian Groups; Cambridge University Press: Cambridge, UK, 1977. [Google Scholar]
  5. Zhang, W.R. G-CPT Symmetry of Quantum Emergence and Submergence—An Information Conservational Multiagent Cellular Automata Unification of CPT Symmetry and CP Violation for Equilibrium-Based Many-World Causal Analysis of Quantum Coherence and Decoherence. J. Quantum Inf. Sci. 2016, 6, 62–97. [Google Scholar] [CrossRef] [Green Version]
  6. Kraus, K. Measuring processes in quantum mechanics I. Continuous observation and the watchdog effect. Found. Phys. 1981, 11, 547–576. [Google Scholar] [CrossRef]
  7. Mielnik, B. The screen problem. Found. Phys. 1994, 24, 1113–1129. [Google Scholar] [CrossRef]
  8. Biamonte, J.; Wittek, P.; Pancotti, N.; Rebentrost, P.; Wiebe, N.; Lloyd, S. Quantum machine learning. Nature 2017, 549, 195–202. [Google Scholar] [CrossRef] [Green Version]
  9. Yousuf, H.; Lahzi, M.; Salloum, S.M.; Shaalan, K. A systematic review on sequence-to-sequence learning with neural network and its models. Int. J. Electr. Comput. Eng. 2021, 11, 2315. [Google Scholar] [CrossRef]
  10. Miszczak, J.A. Models of quantum computation and quantum programming languages. arXiv 2011, arXiv:1012.6035v2. [Google Scholar] [CrossRef] [Green Version]
  11. Finnila, A.B.; Gomez, M.A.; Sebenik, C.; Stenson, C.; Doll, J.D. Quantum annealing: A new method for minimizing multidimensional functions. Chem. Phys. Lett. 1994, 219, 343–348. [Google Scholar] [CrossRef]
  12. Farhi, E.; Goldstone, J.; Gutmann, S.; Sipser, M. Quantum Computation by Adiabatic Evolution. arXiv 2000, arXiv:quant-ph/0001106. [Google Scholar]
  13. Zhang, W.R. Science vs. sophistry—A historical debate on bipolar fuzzy sets and equilibrium-based mathematics for AI & QI. J. Int. Fuzzy Syst. 2021, 41, 6781–6799. [Google Scholar]
  14. Zhang, W.R. Ground-0 Axioms vs. First Principles and Second Law: From the Geometry of Light and Logic of Photon to Mind-Light-Matter Unity-AI & QI. J. Autom. Sin. 2021, 8, 534–553. [Google Scholar]
  15. Sándor, I. Quantum computing and communications—Introduction and challenges. Comput. Electr. Eng. 2014, 40, 134–141. [Google Scholar]
  16. Feynman, R.P. Quantum mechanical computers. Found. Phys. 1986, 16, 507–531. [Google Scholar] [CrossRef]
  17. Shor, P.W. Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer. SIAM J. Comp. 1997, 26, 1484–1509. [Google Scholar] [CrossRef] [Green Version]
  18. Ruan, Y.; Xue, X.; Shen, Y. Quantum Image Processing: Opportunities and Challenges. Math. Probl. Eng. 2021, 2021, 6671613. [Google Scholar] [CrossRef]
  19. Niroula, P.; Nam, Y. A quantum algorithm for string matching. NPJ Quantum Inf. 2021, 7, 37. [Google Scholar] [CrossRef]
  20. Bennett, C.H.; Wiesner, S.J. Communication via one- and two-particle operators on Einstein-Podolsky-Rosen states. Phys. Rev. Lett. 1992, 69, 2881. [Google Scholar] [CrossRef] [Green Version]
  21. Bennett, C.H.; Brassard, G.; Crépeau, C.; Jozsa, R.; Peres, A.; Wootters, W.K. Teleporting an Unknown Quantum State via Dual Classical and Einstein-Podolsky-Rosen Channels. Phys. Rev. Lett. 1993, 70, 1895. [Google Scholar] [CrossRef] [Green Version]
  22. Delgado, F. Teleportation based on control of anisotropic Ising interaction in three dimensions. J. Phys. Conf. Ser. 2015, 625, 012006. [Google Scholar] [CrossRef] [Green Version]
  23. Cardoso-Isidoro, C.; Delgado, F. Quantum authentication using double teleportation. J. Phys. Conf. Ser. 2022, in press. [Google Scholar]
  24. Grover, L.K. A fast quantum mechanical algorithm for database search. In Proceedings of the 28th Annual ACM Symposium on the Theory of Computing, Philadelphia, PA, USA, 22–24 May 1996; pp. 212–219. [Google Scholar]
  25. Tsitchizris, D.C.; Lochovsky, F.H. Data Models; Prentice–Hall: Englewood Cliffs, NJ, USA, 1982. [Google Scholar]
  26. Thorisson, G.A.; Muilu, J.; Brookes, A.J. Genotype–Phenotype databases: Challenges and solutions for the post-genomic era. Nat. Rev. Genet. 2008, 10, 9–18. [Google Scholar] [CrossRef] [Green Version]
  27. Gottlieb, A.; Almasi, G.S. Highly Parallel Computing; Benjamin/Cummings: Redwood City, CA, USA, 1989. [Google Scholar]
  28. Minsky, M. The Society of Mind; Simon & Schuster: New York, NY, USA, 1986. [Google Scholar]
  29. LaBerge, D.; Samuels, S.J. Toward a theory of automatic information processing in reading. Cogn. Psychol. 1974, 6, 293–323. [Google Scholar] [CrossRef]
  30. González-Soria, B.; Delgado, F.; Anaya-Morales, A. Parametric Mapping of Quantum Regime in Fenna–Matthews–Olson Light-Harvesting Complexes: A Synthetic Review of Models, Methods and Approaches. Appl. Sci. 2020, 10, 6474. [Google Scholar] [CrossRef]
  31. Amdahl, G.M. Validity of the single processor approach to achieving large scale computing capabilities. In Proceedings of the Spring Joint Computer Conference, New York, NY, USA, 14–16 May 1967; pp. 483–485. [Google Scholar]
  32. Patterson, D.A.; Hennessy, J.L. Computer Organization and Design; Morgan Kaufmann: Oxford, MA, USA, 2014. [Google Scholar]
  33. Roy, S.; Kot, L.; Koch, C. Quantum Databases. In Proceedings of the Conference on Innovative Data Systems Research, Asilomar, CA, USA, 6–9 January 2013; p. 86. [Google Scholar]
  34. Thomasian, A. Database parallelism, big data and analytics, deep learning. In Storage Systems: Organization, Performance, Coding, Reliability and Their Data Processing; Morgan Kaufmann: Oxford, MA, USA, 2022. [Google Scholar]
  35. Nakaji, K.; Uno, S.; Suzuki, Y.; Raymond, R.; Onodera, T.; Tanaka, T.; Tezuka, H.; Mitsuda, N.; Yamamoto, N. Approximate amplitude encoding in shallow parameterized quantum circuits and its application to financial market indicators. Phys. Rev. Res. 2022, 4, 023136. [Google Scholar] [CrossRef]
  36. Yin, J.; Cao, Y.; Li, Y.; Liao, S.; Zhang, L.; Ren, J.; Cai, W.; Liu, W.; Li, B.; Dai, H.; et al. Satellite-based entanglement distribution over 1200 kilometers. Science 2017, 356, 1140–1144. [Google Scholar] [CrossRef] [Green Version]
  37. Rugg, B.; Krzyaniak, M.; Phelan, B.; Ratner, M.; Young, R.; Wasielewski, M. Photodriven quantum teleportation of an electron spin state in a covalent donor–acceptor–radical system. Nat. Chem. 2019, 11, 981–986. [Google Scholar] [CrossRef]
  38. Fioranelli, M.; Sepehri, A.; Flavin, D.; Roccia, M.; Beesham, A. Quantum information teleportation through biological wires, gravitational micro-bio-holes and holographic micro-bio-systems: A hypothesis. Biochem. Biophys. Rep. 2021, 26, 101011. [Google Scholar] [CrossRef]
  39. Cardoso-Isidoro, C.; Delgado, F. Shared Quantum Key Distribution Based on Asymmetric Double Quantum Teleportation. Symmetry 2022, 14, 713. [Google Scholar] [CrossRef]
  40. Cardoso-Isidoro, C.; Delgado, F. Post-selected double teleportation and the modelling of its related non-local properties. J. Phys. Conf. Ser. 2021, 2090, 012033. [Google Scholar]
  41. Luo, Y.H.; Zhong, H.S.; Erhard, M.; Wang, X.L.; Peng, L.C.; Krenn, M.; Jiang, X.; Li, L.; Liu, N.L.; Lu, C.Y.; et al. Quantum Teleportation in High Dimensions. Phys. Rev. Lett. 2019, 123, 070505. [Google Scholar] [CrossRef] [Green Version]
  42. Georgiev, D. Quantum Information Theoretic Approach to the Mind-Brain Problem. arXiv 2020, arXiv:2012.07836v1. [Google Scholar] [CrossRef]
  43. Tezuka, H.; Nakaji, K.; Satoh, T.; Yamamoto, N. Grover search revisited: Application to image pattern matching. Phys. Rev. A 2022, 105, 032440. [Google Scholar] [CrossRef]
  44. Grover, L.K.; Radhakrishnan, J. Is partial quantum search of a database any easier? arXiv 2005, arXiv:quant-ph/0407122v4. [Google Scholar]
  45. Clark, K.B. Basis for a neuronal version of Grover’s quantum algorithm. Front. Mol. Neurosci. 2014, 17, 7–29. [Google Scholar] [CrossRef] [Green Version]
  46. Grover, L.K. A framework for fast quantum mechanical algorithms. In Proceedings of the 30th ACM Symposium on Theory of Computing: STOC’98, Dallas, TX, USA, 24–26 May 1998; pp. 53–62. [Google Scholar]
  47. Brassard, G.; Dupuis, F.; Gambs, S.; Tapp, A. An optimal quantum algorithm to approximate the mean and its application for approximating the median of a set of points over an arbitrary distance. arXiv 2011, arXiv:1106.4267. [Google Scholar]
  48. Aharonov, D. Quantum Computation. Annu. Rev. Comput. Phys. 1998, 6, 259–346. [Google Scholar]
  49. Durr, C.; Hoyer, P. A Quantum Algorithm for Finding the Minimum. arXiv 1999, arXiv:quant-ph/9607014. [Google Scholar]
  50. Brassard, G.; Hoyer, P.; Tapp, A. Quantum Counting. In Proceedings of the International Conference on Automata, Languages and Programming: ICALP’98, Aalborg, Denmark, 13–17 July 1998; pp. 820–831. [Google Scholar]
  51. Navarro, G. A Guided Tour to Approximate String Matching. ACM Comput. Surv. 2001, 33, 31. [Google Scholar] [CrossRef]
  52. Hyyro, H. Increased Bit-Parallelism for Approximate and Multiple String Matching. ACM J. Exp. Algorithmics 2005, 10, 1–27. [Google Scholar] [CrossRef] [Green Version]
  53. Menon, V.; Chattopadhyay, A. Quantum pattern matching oracle construction. Pramana-J. Phys. 2021, 95, 22. [Google Scholar] [CrossRef]
  54. Haar, A. Der Massbegriff in der Theorie der kontinuierlichen Gruppen. Ann. Math. 1933, 2, 147–169. [Google Scholar]
  55. Lavor, C. Grover’s Algorithm: Quantum Database Search. arXiv 2003, arXiv:quant-ph/0301079. [Google Scholar]
  56. Roland, J.; Cerf, N.-J. Quantum-circuit model of Hamiltonian search algorithms. Phys. Rev. A 2003, 68, 062311. [Google Scholar] [CrossRef] [Green Version]
  57. Yoder, T.-J.; Low, G.-H.; Chuang, I.-L. Fixed-Point Quantum Search with an Optimal Number of Queries. Phys. Rev. Lett. 2014, 113, 210501. [Google Scholar] [CrossRef] [Green Version]
  58. Grassl, M.; Langenberg, B.; Roetteler, M.; Steinwandt, R. Applying Grover’s Algorithm to AES: Quantum Resource Estimates. arXiv 2015, arXiv:1512.04965v1. [Google Scholar]
  59. Boyer, M.; Brassard, G.; Høyer, P.; Tapp, A. Tight Bounds on Quantum Searching. Prog. Phys. 1999, 46, 493–505. [Google Scholar]
  60. Saha, A.; Majumdar, R.; Saha, D.; Chakrabarti, A.; Sur-Kolay, S. Asymptotically Improved Grover’s Algorithm in Any Dimensional Quantum System with Novel Decomposed n-qudit Toffoli Gate. arXiv 2020, arXiv:2012.04447v2. [Google Scholar]
  61. Hunt, S.; Gadouleau, M. Grover’s Algorithm and Many-Valued Quantum Logic. arXiv 2020, arXiv:2001.06316v1. [Google Scholar]
  62. Diao, Z.; Zubairy, M.-S.; Chen, G. A Quantum Circuit Design for Grover’s Algorithm. Z. Naturforsch. 2002, 57, 701–708. [Google Scholar] [CrossRef] [Green Version]
  63. Nielsen, M.; Chang, I. Quantum Computation And Quantum Information; Cambridge University Press: Cambridge, UK, 2012. [Google Scholar]
  64. Breuer, H.; Petruccione, F. The Theory of Open Quantum Systems; Oxford University Press: Oxford, UK, 2002. [Google Scholar]
  65. Eleuch, H.; Rotter, I. Nearby states in non-Hermitian quantum systems I: Two states. Eur. Phys. J. D. 2015, 69, 1–14. [Google Scholar] [CrossRef] [Green Version]
  66. Scheel, S.; Pachos, J.; Hinds, E.; Knight, P. Quantum Gates and Decoherence. In Quantum Coherence; Springer: Singapore, 2006. [Google Scholar]
  67. Ash Saki, A.; Alam, M.; Ghosh, S. Study of Decoherence in Quantum Computers: A Circuit-Design Perspective. arXiv 2019, arXiv:1904.04323v1. [Google Scholar]
  68. Kjaergaard, M.; Schwartz, M.; Braumüller, J.; Krantz, P.; Wang, J.; Gustavsson, S.; Oliver, W. Physics Superconducting Qubits: Current State of Play. Annu. Rev. Condens. Matter 2019, 11, 95. [Google Scholar]
  69. Ivanov, S.; Ivanov, P.; Vitanov, N. Efficient construction of three- and four-qubit quantum gates by global entangling gates. Phys. Rev. A 2015, 91, 032311. [Google Scholar] [CrossRef] [Green Version]
  70. Mandviwalla, A.; Ohshiro, K.; Ji, B. Implementing Grover’s Algorithm on the IBM Quantum Computers. IEEE Int. Conf. Big Data 2018, 2531–2537. [Google Scholar]
  71. Scully, M.O.; Zubairy, M.S. Quantum optical implementation of Grover’s algorithm. Proc. Natl. Acad. Sci. USA 2001, 98, 9490. [Google Scholar] [CrossRef] [Green Version]
  72. Moran, R. Oracle 8i Parallel Server Concepts & Administration Release 8.0; Oracle Corporation: Redwood Shores, CA, USA, 1999. [Google Scholar]
  73. Barde, N.; Thakur, D.; Bardapurkar, P.; Dalvi, S. Consequences and Limitations of Conventional Computers and their Solutions through Quantum Computers. Leonardo Electron. J. Pract. Technol. 2011, 19, 161–171. [Google Scholar]
  74. Jiang, N.; Dang, Y.; Wang, J. Analysis and improvement of the quantum image matching. Quantum Inf. Process. 2016, 15, 3543. [Google Scholar] [CrossRef] [Green Version]
  75. Wang, Z.; Xu, M.; Zhang, Y. Review of Quantum Image Processing. Quantum Inf. Process. 2022, 29, 737–761. [Google Scholar] [CrossRef]
  76. Cross, O.A. Topics in Quantum Computing; CreateSpace Independent Pub: Scotts Valley, CA, USA, 2012. [Google Scholar]
  77. Dusek, M.; Buzek, V. Quantum-controlled measurement device for quantum-state discrimination. Phys. Rev. A 2002, 66, 022112. [Google Scholar] [CrossRef] [Green Version]
  78. Fiurásek, J.; Dusek, M.; Filip, R. Universal measurement apparatus controlled by quantum software. Phys. Rev. Lett. 2002, 89, 190401. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Classic (blue) and Quantum (brown) interactions between database settlement and parallel processing to first set a distributed database moved on one localized, temporary memory instance. Critical aspects for each approach are remarked in red.
Figure 1. Classic (blue) and Quantum (brown) interactions between database settlement and parallel processing to first set a distributed database moved on one localized, temporary memory instance. Critical aspects for each approach are remarked in red.
Entropy 25 00376 g001
Figure 2. General scheme of the procedure with the steps considered: (MT, PP, GAA, and FGP). Each state mentioned is the final state of each step. Note that local information can be integrated in each local processing in the PP step.
Figure 2. General scheme of the procedure with the steps considered: (MT, PP, GAA, and FGP). Each state mentioned is the final state of each step. Note that local information can be integrated in each local processing in the PP step.
Entropy 25 00376 g002
Figure 3. Further processing is performed by each receiver, subsequently translating the outcomes on a selected party, thereby setting a local database. Finally, a final processing or pattern matching can be performed using a subset of selected outcomes, either stochastically via measurement or using Grover’s selection.
Figure 3. Further processing is performed by each receiver, subsequently translating the outcomes on a selected party, thereby setting a local database. Finally, a final processing or pattern matching can be performed using a subset of selected outcomes, either stochastically via measurement or using Grover’s selection.
Entropy 25 00376 g003
Figure 4. Quantum circuit version for multiple teleportation algorithm including a configurable qubit for their control | φ C . A possible ending measurement on the control qubit with outcome | c will definitively teleport the state | ψ in the qubit 0 on the qubit 2 c . Otherwise, teleportation remains superpositioned on the even qubits.
Figure 4. Quantum circuit version for multiple teleportation algorithm including a configurable qubit for their control | φ C . A possible ending measurement on the control qubit with outcome | c will definitively teleport the state | ψ in the qubit 0 on the qubit 2 c . Otherwise, teleportation remains superpositioned on the even qubits.
Entropy 25 00376 g004
Figure 5. Settlement of a database using multiple teleportation and post-processing. It is based on a detonating initial state on local receivers integrating local information and processing. A selection of some outcomes can be obtained using amplitude amplification. The final output state can be used to extract global information or to match an external state on the database.
Figure 5. Settlement of a database using multiple teleportation and post-processing. It is based on a detonating initial state on local receivers integrating local information and processing. A selection of some outcomes can be obtained using amplitude amplification. The final output state can be used to extract global information or to match an external state on the database.
Entropy 25 00376 g005
Figure 6. (a) Repetitions s of Grover algorithm to extract the processing | φ 0 k raising its amplitude | α k | 2 ; (b) Number of repetitions R (orange dashed line) to raise | α k | 2 1 , along with its associated logarithmic error log ( Δ | α k | 2 ) (black dots), compared with the theoretical values (red dashed line).
Figure 6. (a) Repetitions s of Grover algorithm to extract the processing | φ 0 k raising its amplitude | α k | 2 ; (b) Number of repetitions R (orange dashed line) to raise | α k | 2 1 , along with its associated logarithmic error log ( Δ | α k | 2 ) (black dots), compared with the theoretical values (red dashed line).
Entropy 25 00376 g006
Figure 7. For n = 10 6 and | A e = 1 b k K | A k : (a) Repetitions s and distance D evolution of Grover algorithm for several values of b; (b) Number of repetitions needed R (solid blue line) compared with the theoretical value R th (dashed black line) along with D (dashed red line) as a function of b n .
Figure 7. For n = 10 6 and | A e = 1 b k K | A k : (a) Repetitions s and distance D evolution of Grover algorithm for several values of b; (b) Number of repetitions needed R (solid blue line) compared with the theoretical value R th (dashed black line) along with D (dashed red line) as a function of b n .
Entropy 25 00376 g007
Figure 8. Distribution of distance D versus ratio b n in log-scales with the number of repetitions R in colour in agreement with the colour scale below, for: (a) both evenly distributed initial and target states, (b) evenly distributed initial state and randomly distributed target state, and (c) randomly distributed initial state and evenly distributed target state. Distributions were obtained by selecting 10 n 10 3 and 1 b n . Upper-right insets show the normal scales in comparison with Figure 7.
Figure 8. Distribution of distance D versus ratio b n in log-scales with the number of repetitions R in colour in agreement with the colour scale below, for: (a) both evenly distributed initial and target states, (b) evenly distributed initial state and randomly distributed target state, and (c) randomly distributed initial state and evenly distributed target state. Distributions were obtained by selecting 10 n 10 3 and 1 b n . Upper-right insets show the normal scales in comparison with Figure 7.
Entropy 25 00376 g008
Figure 9. Close-up to plots in Figure 8 in the region b / n 1 in normal scales for (a) evenly distributed initial and target states, (b) evenly distributed initial state and randomly distributed target state, and (c) randomly distributed initial state and evenly distributed target state.
Figure 9. Close-up to plots in Figure 8 in the region b / n 1 in normal scales for (a) evenly distributed initial and target states, (b) evenly distributed initial state and randomly distributed target state, and (c) randomly distributed initial state and evenly distributed target state.
Entropy 25 00376 g009
Figure 10. (a) Measurement process for pattern matching represented by the external state | φ . (b) Tree diagram for the measurement process matching the pattern | φ on Bob k and subsequently identifying an improbable control state | ϕ ^ C . The figure of interest is P P ( 1 P C ) . (c) Mean of P, and (d) Standard deviation of P, as function of b and θ . In the last two cases, dashed lines correspond to one exact matching in the database subset.
Figure 10. (a) Measurement process for pattern matching represented by the external state | φ . (b) Tree diagram for the measurement process matching the pattern | φ on Bob k and subsequently identifying an improbable control state | ϕ ^ C . The figure of interest is P P ( 1 P C ) . (c) Mean of P, and (d) Standard deviation of P, as function of b and θ . In the last two cases, dashed lines correspond to one exact matching in the database subset.
Entropy 25 00376 g010
Figure 11. (a) Effect of U e on each | A k , k K as a multidimensional rotation by angles δ e and χ e with respect to itself and other | A k , k K . (b) Effect of U m on each | A k as a multidimensional rotation by angles δ m and χ m with respect to itself and other | A k . (c) Simplified Grover circuit considering the oracle U e and the Grover diffusion operator U m , both repeated R times after teleportation and processing, with a possible control state measurement at the end.
Figure 11. (a) Effect of U e on each | A k , k K as a multidimensional rotation by angles δ e and χ e with respect to itself and other | A k , k K . (b) Effect of U m on each | A k as a multidimensional rotation by angles δ m and χ m with respect to itself and other | A k . (c) Simplified Grover circuit considering the oracle U e and the Grover diffusion operator U m , both repeated R times after teleportation and processing, with a possible control state measurement at the end.
Entropy 25 00376 g011
Figure 12. Pattern matching problem with translations. (a) Ten first images of an original dataset with the image on the left stored as local information, and those on the right obtained as an outcome by cyclic right-forward ( | 0 ) or upward ( | 1 ) translations in superposition obtained under parallel processing. (b) First five images in the subset of the previous dataset obtained by amplitude amplification on the cases with exactly 8 dark pixels.
Figure 12. Pattern matching problem with translations. (a) Ten first images of an original dataset with the image on the left stored as local information, and those on the right obtained as an outcome by cyclic right-forward ( | 0 ) or upward ( | 1 ) translations in superposition obtained under parallel processing. (b) First five images in the subset of the previous dataset obtained by amplitude amplification on the cases with exactly 8 dark pixels.
Entropy 25 00376 g012
Table 1. Key states, operators, and main quantities through each step (MT, PP, GAA, and FGP) of the procedure.
Table 1. Key states, operators, and main quantities through each step (MT, PP, GAA, and FGP) of the procedure.
SymbolStepDescription
| ψ 0 MTOriginal qubit state to be teleported
| ψ C MTControl state to manage the final receiver in multiple teleportation
p i MTSuperposition probabilities for each receiver in multiple teleportation
| β i j MTEntangled resources for teleportation in the form of Bell states
C a N O T b , H 0 MTControlled N O T and Hadamard gates to manage the multiple teleportation
| Ψ 0 MTInitial state during the multiple teleportation process
| Ψ pm , | Ψ t e l e p o r t e d MTPost-measurement and telported state at the end of multiple teleportation process
U i k PPLocal processing operators on the qubit k in possession of party i
C U PPControlled operation to apply local processing U i k on each receiver
| φ 0 i PPOutput state from each local processing
| Ψ pp PPGlobal post-processing output state
C S W A P PPControlled S W A P operations to transfer the output states on a single party
| Ψ k PPPost-processing output state transferred on a single party
γ i l PPTransformation coefficients of a tentative basis measurement on the control state
P c l PPSuccess probability for each outcome of the control state measurement
U e , U m GAAOracle and Grover diffusion operators
| A e GAATarget state for the amplitude amplification process
| Ψ ( s ) GAAOutput state in the step s of the amplitude amplification
α j ( s ) , β j GAAs-step output state and target coefficients
D , F GAACartesian distance norm and fidelity between the Grover output and ideal states
RGAANecessary number of repetitions of Grover-like procedure to obtain the closest outcome
U f FGPGeneric final global processing operator
Table 2. Depth and number of each type of gate involved through the different steps of the process (DT and PP) without considering operations among faraway parties. Instead, PP* considers the operations among faraway parties.
Table 2. Depth and number of each type of gate involved through the different steps of the process (DT and PP) without considering operations among faraway parties. Instead, PP* considers the operations among faraway parties.
Depth:1234Total
Gates:XZ H SWAP ab C a U b ToffoliControlled
MTnn100n0 3 n + 1
PP000 n 1 n10 2 n
PP* 2 ( n 1 ) n 1 0 2 n 1 5 n 4 n 1 n 12 n 9
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Delgado, F.; Cardoso-Isidoro, C. Non-Local Parallel Processing and Database Settlement Using Multiple Teleportation Followed by Grover Post-Selection. Entropy 2023, 25, 376. https://doi.org/10.3390/e25020376

AMA Style

Delgado F, Cardoso-Isidoro C. Non-Local Parallel Processing and Database Settlement Using Multiple Teleportation Followed by Grover Post-Selection. Entropy. 2023; 25(2):376. https://doi.org/10.3390/e25020376

Chicago/Turabian Style

Delgado, Francisco, and Carlos Cardoso-Isidoro. 2023. "Non-Local Parallel Processing and Database Settlement Using Multiple Teleportation Followed by Grover Post-Selection" Entropy 25, no. 2: 376. https://doi.org/10.3390/e25020376

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop