Optimal Estimate of Quantum States

An optimal estimator of quantum states based on a modified Kalman’s filter is proposed in this work. Such estimator acts after a state measurement, allowing us to obtain an optimal estimate of the quantum state resulting in the output of any quantum algorithm. This method is much more accurate than other types of quantum measurements, such as, weak measurement, strong measurement, and quantum state tomography, among others.


Introduction
The problem of measurement in quantum mechanics [1] has been defined in various ways, originally by scientists, and more recently by philosophers of science who question the foundations of quantum mechanics.Measurements are described with diverse concepts in quantum physics such as:  wave-functions (probability amplitudes) which according to the linear Schrödinger equation involve a unitary and deterministic operator, thus preserving information,  superposition of states: linear combinations of wave-functions with complex coefficients that carry phase information and produce interference effects, known as the principle of superposition,  quantum jumps between states accompanied by the "collapse" of the wave-function that according to Dirac's projection postulate in a von Neumann's Process can destroy or create information,  collapses and jumps probabilities given by the square of the absolute value of the wave-function for a given state,  values for possible measurements given by the eigenvalues associated with the eigenstates of the combined measuring apparatus and measured system, in other words, the axiom of measurement,  the Heisenberg's uncertainty principle.
The original problem stems from Niels Bohr's "Copenhagen interpretation" of quantum mechanics since our measuring instruments, which are usually macroscopic objects and treatable with classical physics, can give us information about the microscopic world of atoms and subatomic particles like electrons and photons.
Bohr's idea of "complementarity" insisted that a specific experiment could reveal only partial information-for example, the position of the particle.Whereas "exhaustive" information requires complementary experiments, for example when determining the momentum of the particle, responding to the limits of the Heisenberg's uncertainty principle.Some of us define the problem of measurement simply as the logical contradiction between two laws describing the motion of quantum systems: the first one talks about the unitary, continuous, and deterministic time evolution of the Schrödinger equation, whereas the second one involves their complete opposite counterpart, i.e., the non-unitary, discontinuous, and indeterministic collapse of the wave-function.John von Neumann saw a problem with two distinct (indeed, opposing) processes.
The mathematical formalism of quantum mechanics does not provide a way to predict when the wave-function stops evolving in a unitary fashion and collapses.Experimentally and practically, however, we can say that this occurs when the microscopic system interacts with a measuring apparatus.
Others define the measurement problem as the failure to observe macroscopic superpositions.
Decoherence theorists, e.g., H. Dieter Zeh and Wojciech Zurek, who use various non-standard interpretations of quantum mechanics that deny the projection postulate-quantum jumps-and even the existence of particles, define the measurement problem as the failure to observe superpositions such as Schrödinger's cat.They also claim that unitary time evolution of the wave-function according to the Schrödinger wave-equation should produce such macroscopic superpositions.
Physics of Quantum Information treat a measuring apparatus in a quantum mechanically manner by describing its parts as in a metastable state like the excited states of an atom: the critically poised electrical potential energy in the discharge tube of a Geiger counter, or the supersaturated water and alcohol molecules of a Wilson cloud chamber.The pi-bond orbital rotation from cis-to trans-in the light-sensitive retinal molecule is an example of a critically poised apparatus.
Excited (metastable) states are poised to collapse when an electron (or photon) collides with the sensitive detector elements in the apparatus.This collapse is macroscopic and irreversible, generally a cascade of quantum events that release large amounts of energy, increasing the (Boltzmann) entropy.But in a "measurement" there is also a local decrease in the entropy (negative entropy or information).The creation of new information in a measurement follows the same two core processes of all information creation-quantum cooperative phenomena and thermodynamics.These two are involved in the formation of microscopic objects like atoms and molecules, as well as macroscopic objects like galaxies, stars, and planets.
According to the correspondence principle, all the laws of quantum physics asymptotically approach the laws of classical physics in the limit of large quantum numbers and large numbers of particles.Thus, Quantum Mechanics can be used to describe large macroscopic systems.Does this mean that the positions and momenta of macroscopic objects are uncertain?Yes, it does.Although the uncertainty becomes vanishingly small for large objects, it is not zero.Niels Bohr used the uncertainty of macroscopic objects to defeat Albert Einstein's several objections to quantum mechanics at the 1927 Solvay conferences.
But Bohr and Heisenberg also insisted that a measuring apparatus must be regarded as a purely classical system, since they cannot have it both ways: classical and quantum.So, can the macroscopic apparatus also be treated by quantum physics or not?Can it be described by the Schrödinger equation?And, can it be regarded as in a superposition of states?
The most famous examples of macroscopic superposition are perhaps Schrödinger's cat, which is claimed to be in a superposition of being alive and dead at the same time for a cat in a box, and the Einstein-Podolsky-Rosen experiment, in which entangled electrons or photons are in a superposition of two-particle states that collapse over macroscopic distances to exhibit properties "non-locally" at a speed faster-than-light.
These treatments of macroscopic systems with quantum mechanics were intended to expose inconsistencies and incompleteness in quantum theory.The critics hoped to restore determinism and "local reality" to Physics.They resulted in some strange and extremely popular "mysteries" about "quantum reality", such as the "many-worlds" interpretation, "hidden variables", and signaling at a faster-than-light speed.
Physics developed a quantum-mechanical treatment of macroscopic systems, especially a measuring apparatus to show how it can create new information.If the apparatus were describable only by classical deterministic laws, no new information could come into existence.The apparatus needs to be adequately determined only, i.e., "classical" to a sufficient degree of accuracy.
Everything said so far indicates how sensitive is quantum computing to the correct measurement of the quantum states.
On the other hand, a new technology allows us to avoid the problem of quantum measurement [2]  Therefore, a new method of quantum measurement in the case of generic qubits becomes imperative (i.e., not just for CBS) and more accurate than the methods currently in use [4]- [26].Thus, in this work, we present a novel proposal to recover quantum state to the output of a quantum algorithm after its measurement via a modified Kalman's Filter [27] [28] [29] [30] [31], and Recursive Least Squares (RLS) filter [32] [33] [34], too.This is the essence of this work, which is organized as follows: Preliminaries to the new quantum measurement method are outlined in Section 2. A tour from Schrodinger equation to quantum algorithms is presented in Section 3. The new method (optimal state estimator) is outlined in Section 4. Finally, Section 5 provides a conclusion and future work proposals of this paper.

The Quantum Measurement Problem
In this section, we present the following topics: − Wave-function collapse.− Quantum Measurement Problem.− Before and after measurement.− Types of measurement and state reconstruction.

Wave-Function Collapse
In quantum mechanics, wave-function collapse is the phenomenon in which a wave-function (initially in a superposition of several eigenstates) appears reduced to a single eigenstate after interaction with a measuring apparatus [35].It is the essence of measurement in quantum mechanics, and connects the wave-function with classical observables like position and momentum.Collapse is one of the two processes by which quantum systems evolve in time; the other is continuous evolution via the Schrödinger equation [36].However in this role, collapse is merely a black box for thermodynamically irreversible interaction with a classical environment [37].Calculations of quantum decoherence predicts apparent wave-function collapse when a superposition forms between the quantum system's states and the environment's states.Significantly, the combined wave-function of the system and environment continue to obey the Schrödinger equation [38].ulated that wave-function collapse cut the quantum world from the classical [39].This tactical move allowed quantum theory to develop without distractions from interpretational worries.Nevertheless, it was debated if the collapse was a fundamental physical phenomenon, rather than just the epiphenomenon of some other processes.If this is the case, then, it would mean that nature is fundamentally stochastic, i.e. nondeterministic, and an undesirable attribute for a theory [37] [40] [41].This issue remained incomplete until quantum decoherence entered mainstream opinion after its reformulation in the 1980s [4] [37] [38].Decoherence explains the perception of wave-function collapse in terms of interacting large-and small-scale quantum systems, and is commonly taught at the graduate level, e.g. the Cohen-Tannoudji textbook [42].The quantum filtering approach [43] [44] [45] [46] and the introduction of quantum causality non-demolition principle [47] allows us to think about a classical-environment derivation of wave-function collapse from the stochastic Schrödinger equation.

The Quantum Measurement Problem Itself
The measurement problem in quantum mechanics is the unresolved problem of how (or if) wave-function collapse occurs.The inability to observe this process directly has given rise to different interpretations of quantum mechanics, and poses a key set of questions that each interpretation must answer.The wave-function in quantum mechanics evolves deterministically according to the Schrödinger equation as a linear superposition of different states, but actual measurements always find the physical system in a definite state.Any future evolution is based on the state the system was discovered to be in when the measurement was made, meaning that the measurement "did something" to the process under examination.Whatever that "something" done does not appear to be explained by the basic theory.
To express matters differently (according to Steven Weinberg [4] [5]), the Schrödinger wave-equation will determine the wave-function at any later time.If observers and their measuring apparatus are themselves described by a deterministic wave-function, why can we not predict precise results for measurements, but only probabilities?As a general question: how can one establish a correspondence between quantum and classical reality?[6].

Before and after Measuring
In quantum mechanics, measurement is a non-trivial and highly counter-intuitive process.First, because measurement outcomes are inherently probabilistic, i.e. regardless of the carefulness in the preparation of a measurement procedure, the possible outcomes of such measurement will be distributed according to a certain probability distribution.Secondly, once a measurement has been performed, a quantum system is unavoidably altered due to the interaction with the measurement apparatus.Consequently, for an arbitrary quantum sys- Let ψ be the state of the quantum system immediately before the measurement.Then, the probability that the m-th results occurs by where

Types of Measurement and State Reconstruction
As we have seen in the previous subsection, quantum measurement is not a minor issue [4] [5] [6].In fact, it is an issue still unresolved [7] [8], which would make it impossible for every practical effort to implement any genuine quantum algorithm in general and quantum image processing algorithm in particular.
Actually, it is an inherited problem of quantum physics also known as the paradox of measurement [9] [10] [11] [12].From a practical point of view, inside the context of quantum image processing, the problem is reduced to the following: suppose we develop a quantum algorithm for filtering classic images.Clearly, the first problem would be, how to introduce a classical noisy image within a quantum computer, i.e., the design of the interfaces classical-to-quantum, and quantum-to-classical. But, the second would be, how to measure the results of a quantum filtering algorithm, and to take the result of that filtering process and carry it out to the classical world, in other words, the recovery of the classical version of the filtered image into its original space: the classical world where it was generated.It is obvious that an absolutely accurate technique of measurement is needed.Unfortunately, all efforts in this regard have been useless [13] when the system is in a ψ state.If the measurement is repeated many times, starting each time with the system in a ψ state, one obtains a sequence of eigenvalues of pm ψ which when averaged yields an approximation to pm ψ ψ ψ , the expectation of pm ψ in the ψ state.
By contrast, a weak measurement only yields a sequence of numbers which average to pm ψ ψ ψ .For example, a strong measurement of the spin of a particle with a spin −1/2 must yield spin 1/2 or −1/2, but a particular weak measurement could yield spin 100, while a subsequent weak measurement on an identical system might be −128.3.Typically, a single weak measurement gives little information; only the average of a large number of such measurements is meaningful.
2) A strong measurement changes, or projects, an initial pure state ψ to an eigenvector of pm ψ . The particular eigenvector obtained cannot be predicted, though its probability is determined.This substantially changes the ψ state unless ψ happened to be close to that eigenvector.
However, a weak measurement does not substantially change the initial state.
Weak measurements are usually implemented by coupling the original system Ψ to be measured with an auxiliary quantum meter system M.The measurement along a scale involves-in practice-various microscopic quantum systems.The composite system is mathematically represented as the tensor product of Ψ with M, denoted M Ψ ⊗ .A product state in this tensor product is typi- , where ψ is a state of Ψ and m is a state of M.  [34] that the single matrix inversion in an estimate or identification process does not restore the state of a hidden system behind such matrix.This is due to the need of modeling the state, the measurement noises, and defining the architecture of the estimator in an accurate way for a correct system state recovery from the observables.This deficiency explains why Wiener's filter was completely replaced by Kalman's filter in the presence of such noises [27] [28] [29] [30] [31].Therefore, this technique is as weak as that to which it opposes.
Quantum state tomography is the process of reconstructing the quantum state (via a density matrix) for a source of quantum systems by measurements done on the systems coming from that source [33] [24].Being the density matrix for pure or mixed states, ( ) The source may be any device or system which prepares quantum states either consistently into quantum pure states or otherwise into general mixed states.To be able to uniquely identify the state, the measurements must be tomographically complete.That is, the measured operators must form an operator basis on the Hilbert space of the system, providing all the information about that state.Such a set of observations is sometimes called a quorum.On the other hand, in a quantum process tomography, known quantum states are used to prove if such quantum process can find out how that process can be described.Similarly, quantum measurement tomography works to find out what measurement is being performed.The general principle behind quantum state tomography is that by repeatedly performing many different measurements on quantum systems described by identical density matrices frequency counts can be used to infer probabilities.These probabilities are combined with Born's rule to determine a density matrix which fits best with the observations [25] [26].Obviously, this method is a rustic estimator of the density matrix and not the states themselves.In fact, it is a monitor of the elements of the matrix, only.Therefore, our problem persists.

Schrödinger's Equation and the Unitary Operators
A quantum state can be transformed into another state by a unitary operator, symbolized as U, with † U U I = , where † U is the adjoint of U and I is the identity matrix, which is required to preserve the inner products: If we transform χ and ψ to U χ and U ψ , then χ and ψ two wave-functions.In particular, unitary operators preserve lengths: On the other hand, the unitary operator satisfies the following differential equation known as the Schrödinger's equation [49] [50] [51] [52]: where Ĥ represents the Hamiltonian matrix of the Schrödinger's equation, 2 1 i = − , and  is the Planck constant.Multiplying both sides of Equation ( 4) by ( ) The solution to the Schrödinger's equation is given by the matrix exponential of the Hamiltonian matrix for the time invariant case: ( ) Thus, the probability amplitudes evolve across time according to the following equation: Equation ( 7) is the main piece in building circuits, gates and quantum algorithms, being U who represents such elements [49].
Finally, the discrete version of Equation ( 5) is Equation ( 8) is the foundation on which we build the optimal estimator of quantum states.

Quantum Circuits, Gates and Algorithms
As we can see in Figure 1, and remember Equation ( 8), the quantum algorithm (with identical considerations for circuits and gates) can be seen as a transfer (that makes an input-to-output mapping) that has two types of output: a) the result of the algorithm (circuit of the gate), i.e., 1 t ψ + , and b) part of the input t ψ , i.e., t ψ (underlined t ψ ), in order to impart reversibility to the circuit, which is a critical need in quantum computing [1].
Besides, we can clearly see a module for measuring 1 t ψ + (which will be extensively discussed in the next section) with their respective output, i.e., and a number of elements needed for the physical implementation of the quantum algorithm (circuit or gate), namely: control, ancilla and trash [50].In this figure as well as in the rest of them (unlike [49]) a single fine line represents a wire carrying 1 qubit or N qubits (qudit), interchangeably, while a single thick line represents a wire carrying 1 or N classical bits, interchangeably, too.
However, the mentioned concept of reversibility is closely related to energy consumption, and hence to the Landauer's Principle.
On the other hand, computational complexity studies the amount of time and space required to solve a computational problem.Another important computational resource is energy.In this section, we study the energy requirements for computation.Surprisingly, it turns out that computation, both classical and quantum, can in principle be done without expending any energy.Such energy consumption in computation turns out to be deeply linked to the reversibility of the computation.
What is the connection between energy consumption and irreversibility in computation?Landauer's principle provides the connection, stating that, in order to erase information, it is necessary to dissipate energy.More precisely, Landauer's principle may be stated as follows: Landauer's principle (first form): Suppose a computer erases a single bit of information.The amount of energy dissipated into the environment is at least k B T ln 2, where k B is a universal constant known as Boltzmann's constant, and T is the temperature of the environment around the computer.
According to the laws of thermodynamics, Landauer's principle can be given an alternative form stated not in terms of energy dissipation, but rather in terms of entropy: Landauer's principle (second form): Suppose a computer erases a single bit of information.The entropy of the environment increases by at least k B ln2, where k B is Boltzmann's constant.
Consider a gate which takes two bits as input and produces a single bit as output.This gate is intrinsically irreversible because, given the output of the gate, the input is not uniquely determined.For example, if the output of the gate is 1, then the input could have been any one of 00, 01, or 10.On the other hand, the gate is an example of a reversible logic gate because, given the output of the gate, it is possible to infer what input must have been.Another way of under-standing irreversibility is to think of it in terms of information erasure.If a logic gate is irreversible, then some of the information input to the gate is lost irretrievably when the gate operates-that is, some of the information has been erased by the gate.
Conversely, in a reversible computation, no information is ever erased, because the input can always be recovered from the output.Thus, saying that a computation is reversible is equivalent to saying that no information is erased during the computation.Summing-up, the above expressed justifies the inexcusable need for the presence of t ψ to the output of the quantum gate [49].

Classical State Estimator in Noiseless Environments
In order to develop an optimal estimate of quantum states, we start defining everything on a classical type of estimator called Recursive Least Square RLS [32] [33] [34] and derived from the famous Kalman's filter [27]  t: time X: state to be estimated Estimator: Then, we can define a priori and a posteriori (respectively) estimate error as: and The a priori estimate error covariance is then where { } • Ξ means square error of "•", and (•) T means transpose of "(•)".On the other hand, the a posteriori estimate error covariance is This adaptation process is based on the minimization of the mean square error criterion defined in the last equation.Developing Equation ( 16), rearranging terms, and minimizing the mean square error with respect to X , we obtain the Wiener's filter for stationary signals: where, MM R is the autocorrelation matrix M and MY r is the cross-correlation vector of M and Y.In the following equation, we formulate a recursive, time-update and adaptive version of Equation (17).In fact, MM R can be expressed in a recursive fashion as To introduce adaptability to the time variations of the signal statistics, the autocorrelation estimate in Equation ( 18) can be windowed by an exponentially decaying window: where λ is the so-called adaptation, or forgetting factor, and is in the range 0 1 λ < < .Similarly, the cross-correlation vector can be calculated in a recursive form as This equation can be made adaptive using an exponentially decaying forgetting factor λ again: For a recursive solution of the least square error Equation ( 21), we need to obtain a recursive time-update formula for the inverse matrix in the form where "Update t " is an updated factor to be actualized in each step of time.After an extensive series of considerations, developments and replacements, such as , we get the following set of equations related to RLS adaptation algorithm [32] [33] [34] in a very similar form to Kalman's filter [27] [28] [29] [30] [31].

Initial values:
,0 being I the identity matrix and δ a number different to 0 Filter gain matrix: Error signal equation: Estimated states: Inverse correlation matrix update: Discrete estimator time-update equations: Indeed, A and M are time-invariant [27]- [34].However, Equation (30) should be modified to work in noiseless environments, which are the most real scenarios the filter will be used.

Quantum State Estimator in Noiseless Environments
From Equation (2), we have In fact, we can take any norm of ˆm M , even for different ψ of the original.Thus, we will have a for each m, i.e., a battery of estimators as shown in Figure 3.According to Figure 3, A will be the quantum algorithm (circuit or gate), and, we can get ψ for each m with this estimator.Therefore, the complete set of equations is: Inside Quantum Computer: Optimal State Estimator (OSE): Estimate error: Three important considerations:  although A is time-invariant, this methodology also resists the variant version.In fact, we can do similar considerations relating to M. Besides, A arises from Equation ( 7), i.e., , which in its discrete version will be: ( ) ( )  OSE is a reorganized RLS/Kalman's filter, but it is the same as them algorithmically speaking, and we started with a poor measurement, however as OSE evolves the accuracy of estimate improves through successive measurements.
Figure 4 shows the complete schematic of Figure 1 but now with the OSE added to its output.

Quantum State Estimator in Noisy Environments
We assume the existence of state and measurement noises, as seen in Figure 5, with equation inside a quantum computer However, and as the OSE is a linear system, we can move the state noise to the output and work with a unique noise that represents both.Therefore, the last equation is not used.

Conclusions and Future Works
In this paper, we have presented an optimal estimator of quantum states based on a modified Kalman's Filter.Such estimator acts after state measurement, allowing us to obtain an optimal estimate of the quantum state resulting in the output of any quantum algorithm (circuit or gate).Finally, the OSE allows us a complete estimate of the quantum state in a much more accurate way than methods currently in use, which are: weak measurement, strong measurement, projective and quantum state tomography.
All of them fail to give an exact value for the state of a generic qubit resulting from a quantum algorithm.This lack can be seen explicitly in those algorithms involved in Quantum Image Processing (QImP) [62].In that paper, it is clearly shown that quantum measurement itself acts as a noise that disturbs what is measured, e.g., if the quantum algorithm used consists of a filter which eliminates the noise of an image (inside quantum machine), the quantum measurement-on its way out-will add a new noise to the resulting image, i.e., the image returns to have noise.A question arises automatically: why do we then introduce the image into a quantum machine if after all the filtering must be done in the classical environment, that is, outside the quantum machine?For this reason, it is very important to apply the innovation of this paper to those algorithms used in QImP.
Finally and based on our current study, the solution presented in this paper for an optimal estimate of a generic quantum state is essential to effectively and efficiently face the simulation of all types of quantum algorithms involved in quantum information processing, in general, and quantum signal processing and quantum neural networks, in particular.
When the Copenhagen interpretation was first expressed, Niels Bohr post-M.Mastriani DOI: 10.4236/jamp.2018.661141367 Journal of Applied Mathematics and Physics

ˆmMM
is the adjoint of ˆm M , and the post-measurement quantum state is † ˆˆm must satisfy the completeness relation[48], i.e., † ˆm m m M M I = ∑ because it guarantees that probabilities will sum to one:Let us work out a simple example, assuming we have a polarized photon with associated polarization orientations "horizontal" and "vertical", where the horizontal polarization direction is denoted by •) T is the transpose of (•).Thus, an arbitrary initial state for our photon can be described by the generic quantum state the computational basis spanning in the Hermitian space2  Η .Now, we construct two measurement operators two measurement outcomes 0 1 , a a .Then, the full observable used for measurement in this experiment is the Postulate, the probabilities of obtaining outcome 0 a or outcome 1 a are given by ( ) post-measurement quantum states are as follows: if outcome is equal to 0

Figure 1 .
Figure 1.Module to measuring, quantum algorithm and the elements needed to their physical implementation.
with each time-step or measurement, however here we assume that both are constant.Thus, only three equations change regarding classic estimator, namely, Filter gain matrix:
[3].However, this technology lets us work exclusively with Computational Basis States (CBS), i.e., pure and orthogonal quantum base states.
States which are not product states are called entangled states.The results obtained by this technique are as weak as its name, therefore, we proceed to the next.
DOI: 10.4236/jamp.2018.661141370 Journal of Applied Mathematics and Physics the greater or lesser presence of such noises in the experiment.