Quantum Sparse Coding and Decoding Based on Quantum Network
Abstract
Sparse coding provides a versatile framework for efficiently capturing and representing crucial data (information) concisely, which plays an essential role in various computer science fields, including data compression, feature extraction, and general signal processing. In this study, we propose a symmetric quantum neural network for realizing sparse coding and decoding algorithms. Our networks consist of multi-layer, two-level unitary transformations that are naturally suited for optical circuits. Each gate is described by two real parameters, corresponding to reflectivity and phase shift. Specifically, the two networks can be efficiently trained together or separately using a quantum natural gradient descent algorithm, either simultaneously or independently. Utilizing the trained model, we achieve sparse coding and decoding of binary and grayscale images in classical problems, as well as that of complex quantum states in quantum problems separately. The results demonstrate an accuracy of 98.77% for image reconstruction and a fidelity of 97.68% for quantum state revivification. Our quantum sparse coding and decoding model offers improved generalization and robustness compared to the classical model, laying the groundwork for widespread practical applications in the emerging quantum era.
Introduction
In the classical field of machine learning and data analysis algorithms, the corresponding machine learning task is accomplished by combining supervised or unsupervised training on data WOS:000355286600030 . In quantum machine learning, various quantum versions of machine learning algorithms have also been proposed and developed immediately, including quantum support vector machines, quantum principal component analysis, quantum neural networks (QNN), and other quantum machine learning algorithms WOS:000410555900032 ; WOS:000341820700013 ; WOS:000500574300022 . Additionally, for rapidly evolving quantum neural network algorithms, classical optimizers are utilized to train multi-layer parameterized quantum gates in order to achieve desired learning tasks WOS:000993620700002 . Therefore, combined with Classical Sparse Coding (CSC) and quantum computation theory, an efficient quantum algorithm based on QNN can be designed to realize quantum sparse coding and decoding WOS:000493128300001 ; WOS:A1995QT40100017 ; WOS:000261782000008 ; bellante2022quantum .
Sparse coding and decoding refers to compressing high-dimensional data sets into their lower-dimensional representations sparsely and reconstructing higher-dimensional data sets from low-dimensional ones WOS:000961147200001 ; WOS:000406868800017 ; WOS:000258641500006 , which plays a crucial role in the fields of image compression, storage and processing WOS:000085444700052 ; WOS:000486237600006 ; WOS:000277884900014 . Sparse coding originates from the fact that the receptive field of the visual stripe cortex produces a sparse response to visual information. To be specific, most neurons of the visual stripe cortex are in a static resting state, while a small number of neurons are in the stimulated state WOS:A1996UQ65700051 . Mathematically, based on data structure analysis, digital image processing, and advanced algebra, CSC algorithms are developed gradually, where an overcomplete dictionary set is trained by various training algorithms, and sparse representation is a linear combination of the overcomplete dictionary set and active neurons in a high-dimensional space originally with redundant information WOS:000277884900014 . More explicitly, the sparse solutions of underdetermined equations are able to compress the data to a certain extent allowing little information loss of restoration. Currently, CSC algorithms have been implemented by hardware friendly, owing to their simple linear matrix operation in classical computer.
In contrast, quantum computing is an emerging frontier with higher information security and faster parallel acceleration. Specifically, quantum algorithms are expected for its potential advantages in quantum transmission, storage and encryption WOS:000343620500001 ; WOS:000431301800015 ; WOS:000454369600010 ; WOS:000514356400004 ; WOS:000209372300002 ; WOS:000340140200011 ; WOS:000646064000002 ; WOS:000888558600009 ; WOS:000685625800001 ; WOS:000935994100004 . Therefore, with the breakthrough of quantum machine learning algorithms and quantum circuits WOS:000410555900033 ; WOS:000390793900027 ; WOS:000476555600001 , more cutting-edge quantum algorithms are gradually moving toward hardware WOS:000940796200001 ; WOS:000711864600001 ; WOS:000367200400001 ; WOS:000340611600001 ; WOS:A1994NV63100015 ; WOS:000830702800001 ; WOS:000604141000011 ; WOS:000471037100002 ; WOS:000491132700075 ; WOS:000467374300005 ; WOS:000466034400001 ; WOS:000457547900068 , which is currently a possible development that challenges Moore’s Law WOS:000888210300020 . Meanwhile, there is no efficient CSC algorithm to handle quantum states. Inspired by CSC algorithms WOS:000486237600006 and quantum circuit models WOS:000390793900027 ; WOS:A1995QT40100017 , we propose a quantum algorithm named Quantum Sparse Coding and Decoding (QSCD), which can sparsely code quantum states from high to low dimensional Hilbert space and then decode them inversely. Specifically, the quantum networks are trained by gradient-based descent method WOS:000444202100003 ; WOS:000246314600001 ; WOS:001001538500030 , and can be realized by universal multi-port design interferometers in optical quantum circuits WOS:000390793900027 ; WOS:000316614600026 ; WOS:000289982600014 . The simulations fully demonstrate that our QSCD algorithm is able to deal with the real and complex quantum states efficiently, which can be applied to further industrial problems as a cutting-edge technology.

Results
Preliminary.
In classical information processing, data bits are encoded into binary electrical signals such as the “high” and “low” values of electric potential, facilitating convenient sparse representation and retrieval based on electrical circuits. As for the quantum information processing, the quantum counterpart of bits are two-dimensional quantum states, that is, quantum bits (qubits). Physical realizations of qubits include two-level atoms, two distinct optical modes, etc. Taking the grayscale image reconstruction as an example, our proposal of QSCD is illustrated in Fig. 1. Consider grayscale images consisting of pixels, and let denote the th pixel of the th grayscale image. From each grayscale image one then obtains a normalized -dimensional row vector , where, with ,
(1) |
are the normalized pixels which satisfy for all . It is worth noting that alone does not contain the complete information of the original pixels, but when combined with the normalization factor , all the pixels of the th grayscale image can be fully reconstructed.
In quantum sparse coding of grayscale images, we only need to focus on the normalized pixel vector as it contributes to almost all the cost associated with image transmission and storage. It is convenient to write a general -dimensional quantum state in the computational basis as follows
(2) |
Here, each basis state corresponds to the binary representation of an integer , and the expansion coefficients are normalized, . In this way, classical information can be properly encoded into the expansion coefficients of which, further serves as an input of our quantum sparse coding network. In particular, the quantum representation of normalized pixel vectors now become , with phase parameters being 0, .
We proceed to detail our network architecture. Our sparse coding network aims to transform a collection of -dimensional quantum states into lower dimensional ones while preserving, as much as possible, the information encoded in the input states. Considering that distinct classical information must be encoded in orthogonal states to be perfectly distinguishable under quantum measurements, our basic assumption in this work is that a coding network preserves orthogonality. In other words, we focus on quantum networks that implement unitary transformations. Furthermore, our main interest is in two particular types of quantum network structures, called Order type and Cross type. Order type links quantum gates sequentially, while Cross type interconnects them in a cross-pattern. Numerical analyses show Order type excels at lower layers, whereas Cross type is better for deeper networks (see supplementary information I).
General unitary transformations on an -dimensional Hilbert space can be factored into a series of unitaries on 2-dimensional subspaces of (single-qubit gates), which leave quantum states in the respective -dimensional complementary subspaces invariant. Each specific factoring then determines a specific network structure, and the network parameters are exactly the variables describing individual single-qubit unitary gates. Notably, the network structures based on different ways of factoring unitary transformations may have different advantages and limitations. In the following, our discussions will revolve around the optimal factoring proposed in Cross-type network (see supplementary information I), which is comparatively more efficient for deep networks. Its physical realization based on optical circuits consists of layers of unitary gates on two neighboring optical modes, involving approximately unitary gates in total WOS:000390793900027 . More specifically, a unitary gate on two optical modes can be implemented by a phase shifter at one mode (with phase parameter ) followed by a two-mode Mach-Zehnder interferometer (with parameter )
(3) |
Each layer of our coding network consists of parallel single-qubit unitary gates on the optical modes , followed by another parallel single-qubit unitary gates on the modes (see Fig. 1 for an example and supplementary information I for more details). Then, the -th layer of our coding network implements the transformation
(4) |
The overall coding network then essentially implements unitary transformations consecutively
(5) |
which is described by real parameters WOS:000390793900027 . In supplementary I, we also discuss another network structure and compare it with the above one numerically.
As for the decoding network, a direct choice is simply the mirror inversion of the coding network, which performs the inverse transformation to recover the initial states from the output of the coding network. However, if some input state (2) is not transformed into the output space completely, say a -dimensional Hilbert space spanned by the last optical modes, then the actual outputs are described by the (unnormalized) states
(6) |
with the projector onto . This projector is critical for realizing sparse coding. It retains prominent features of the initial set of states while discarding unimportant information. In accordance, input photons of the decoding network are prepared into the normalized states which, after some decoding transformation , become
(7) |
In the above, are real parameters, and is the probability of detecting a photon at the th output mode when prepared in the th initial state.
We introduce the overall loss function for reconstructing the initial states from outputs of the decoding network as follows
(8) |
where . With this loss function, we can update the parameters in our network during the training process to minimize potential errors. In the ideal case , the information encoded in the initial states can be fully extracted without error. If the classical information is encoded only in the real coefficients of the initial states (2) and the decoding network implements the inverse transformation, a simpler and more convenient loss function is
(9) |
with denoting the projection onto the subspace of that is complementary to the output space . Note that and sum up to the identity operator on and quantum states are normalized , thus is exactly the probability that output photons are not detected at the last modes. necessarily means that the encoding network successfully transforms all the initial states into the output space , , and the decoding network would perfectly recover those initial states.
We remark here that if the initial states span a space with a dimension larger than the dimension of the output space, the loss function would never approach 0 in the training process. Consequently, there is also no reason to believe that a decoding network implementing the inverse transformation is optimal for minimizing or, equivalently, maximizing the fidelity between the initial states and final states. This is in fact a much more general situation. To mitigate error, we may properly train the decoding network to exploit, besides the features of individual input states, also the structure of the input set. Moreover, properly extending the depths of our coding and decoding networks is expected to further enhance the overall fidelity.
In conclusion, we fashion the decoding network of the QSCD algorithm either by inverting the coding network or through parameter training of the decoding network. In the case of the decoding network with parameter training, the QSCD algorithm can be smoothly implemented in experiments, ensuring that parameter values remain within their designated range. Additionally, our approach to updating network parameters allows for concurrent updating of both the sparse coding network and the decoding network, solely through measuring the output states of the decoding network, eliminating the need for intermediate state measurements.
Image Reconstruction. For sparse coding and decoding of classical image information, the QSCD can be realized more efficiently. As shown in Fig. 2, firstly, the -dimensional binary or grayscale image is converted into a column vector with dimension . Further, is encoded to a -dimensional real quantum state , so pictures are encoded to be the -dimensional matrix . With and setting all , the encoded quantum state can be represented as (see supplementary information IV and V). The probability amplitude is equal to the normalized value of the image grayscale value corresponding to Eq. (1). The code can be obtained to facilitate the preparation of quantum states.
To see the performance of our network numerically, next we apply it to the binary images of the 26 English capital letters as shown in Fig. 2a. Each binary image requires 5 qubits to be faithfully represented . We choose a coding network with depth and a decoding network with depth , the number of sparse coding channels is . Thus, the coding network and decoding network involve and rotation parameters , respectively (see supplementary information II). Further, we set the learning rate to be and update the network parameters through 150 iterations. In each iteration, the output states of the decoding network are described by Eq. (7), with which we are able to compute the respective loss function according to Eq. (8). After each iteration, we then utilize the Quantum Natural Gradient Descent (QNGD) algorithm (see supplementary information III) to update the network parameters to reduce loss. The evolution of the real quantum states can be implemented by optical circuits to train and adjust the quantum gate parameters (see Methods). On the basis of the decrease of the loss function (Fig. 2c.), the reconstruction loss gradually tends to 0, and the gradient renewal of gradually approaches 0 (Fig. 2d), with the parameters gradually leveling off in the ranges of . Eventually, the quantum network training is completed. The measurement results of output quantum states are converted to classical data (Fig. 2b):
(10) |
where is normalization factor of the respective pixel vector as defined in Eq. (1). The implementations mean that the classical information can be sparsely encoded and decoded through the QSCD algorithm, where the data flow is . Undoubtedly, it also makes sense to achieve sparse coding and decoding of high-frequency or low-frequency signals, which provides effective ideas for pattern recognition.


Sparse Coding and Decoding for Complex Quantum States.
For solving quantum problems, sparse coding and decoding of quantum states play a significant role in quantum cryptography. we achieve the simulation of sparse coding and decoding for complex quantum states in this section. Firstly, we generate 50 3-qubit quantum states in 8-dimensional Hilbert space ( ) as samples, and then they are input into the and (or ) to train parameters. Set network parameters: and . By measuring the output states of the decoding network in each training iteration, the loss is calculated, so as to update the quantum gate parameters in Eq. (7). Obviously, we need to train both the phase shift and reflectivity (see supplementary information II, Fig. 3a). Therefore, the quantum network needs to be trained with parameters of the coding network and parameters of the decoding network.
In the quantum sparse coding network , only 4 output optical circuits are connected to the decoding network . The amplitude error and phase error are defined as . As shown in Fig. 3b, Fig. 3c and Fig. 3d, the and of the output quantum states are measured, and the error between output and input quantum states is obtained. Obviously, the initial phase error is significantly larger than the amplitude error (Fig. 3b), because for each quantum state in a quantum circuit, the probability amplitude is much less than 1 (even most of which is in the range of . Furthermore, and error of the final states will gradually range to 0 during continuous training. Finally, after 500 training iterations, the output states are similar to the input states in amplitude and phase. Another more intuitive error in polar coordinates in Fig. 3c, represents the complex error , which gradually tends to 0 with the slope around 0 in Fig. 3c.After training, the optimal results are obtained, in which input states and output states are similar in Fig. 3a. Therefore, the error of the ultimate reconstruction will be calculated, and then
and of the overall samples are extremely close to 0 in Fig. 3d.
For the QSCD algorithm, only and of the output quantum states are measured. Therefore, sparse coding and decoding of quantum states are able to be implemented in integrated optical circuits, simutaneously the elimination of the intermediate measurement can greatly reduce the system error. Using QSCD to achieve sparse coding and decoding of quantum states guarantees the transmission efficiency of quantum information.
Discussion
Generally, the QSCD algorithm can be implemented in physical hardware efficiently. It can achieve sparse coding and decoding by encoding classical image data (derived from the pixels of binary and grayscale images) into the amplitude of real quantum states. Furthermore, complex quantum states can also be sparsely coded and decoded by the QSCD algorithm through quantum unitary transformation and adaptive quantum natural gradient descent algorithm.
The superiority of the QSCD algorithm over traditional QNN based on Hamiltonian evolution is embodied in its lower computation complexity, better hardware-friendly performance, and ability to deal with higher dimensional information. The current optical quantum computing devices are more suitable for sparse quantum unitary transformation in our QSCD network, which increases the experimental efficiency and is expected to solve more quantum problems such as calculating eigenstates. Moreover, the differences between QSCD and CSC root in their computation frameworks, where the QSCD is constructed by multiple sparse matrices with the same dimensions, and the CSC is composed of one matrix full of weight parameters. In more detail, the two real parameters are updated together in each sparse matrix in the QSCD algorithm, nevertheless, the full weights are adjusted in a dictionary set in the CSC algorithm.
Methods
Quantum Gate Design.
In this paper, the QSCD algorithm is realized through quantum optical circuits. Specifically, a universal multi-port interferometer can be programmed to achieve any linear transformation between two channels by implementing a quantum gate in port and , abbreviated to . These interferometers typically consist of a regular grid of beam splitters and phase shifters and are manufactured directly with an integrated photon architecture and off-the-shelf scalability. At present, the standard design of universal multiport interferometers is based on the decomposing from any unitary matrix to a linear combination of two-dimensional beam-splitting transform sequence WOS:000390793900027 . Compared with the traditional design, the main advantage of this design is only half the optical depth and more anti-optical loss (see supplementary information I).
end | ||
QSCD Algorithm.
According to the theory of the QSCD algorithm, the main program can be summarized as Algorithm. 1. The main simulation programs are parameter training and quantum gate construction, which are simulated with Matlab programming language. As shown in Algorithm. 1, for classical image data, there are data-to-state coding function and training function (trainQSCD). Given parameter initialization, the and of quantum states are input to train of quantum network by Algorithm. 2. After that, the program is presented in Algorithm. 3. is called, then the output result is obtained by implementing the coding and decoding process . Finally, the program returns reconstruction results and procedure parameters.
Quantum Natural Gradient Descent Algorithm.
The pseudocode calculates the gradient of the , which is denoted as the gradient for network and for network . In the process, the quantum natural gradient of quantum gate parameters is calculated by the QNGD algorithm WOS:000940796200001 . Afterward, based on the update of parameter gradients, the renewal of parameters will be acted upon in the next training iteration. It is noticed that the parameters are updated at the same time, but the adjustment of the reflectivity will not affect the adjustment of the phase (see supplementary information II).
Quantum Network Construction.
Constructed with multi-layer rotation gate , the network and can also be combined into a quantum network of any depth separately in Algorithm. 3. The quantum network construction gives out the form of the unitary transformation, which can be in Order type and Cross type (see supplementary information I). In the network , the transformation needs to be connected in reverse order of in sparse coding network .
CODE AVAILABILITY
Some of the simulation code can be found in
https://github.com/Jixun97/QSCD.git. The complete code used for simulations is available from the corresponding authors upon reasonable request.
ACKNOWLEDGMENTS
This work is supported by the National Natural Science Foundation of China (No. 12175104), the National Key Research and Development Program of China (No. 2023YFC2205802), and the Innovation Program for Quantum Science and Technology (No. 2021ZD0301701).
AUTHOR CONTRIBUTIONS
X.J. and Q.L. and S.H. contributed equally. S.W. directed and supervised the project. S.W., X.J., and Q.L. proposed the QSCD algorithm and designed the implementations. X.J. performed the numerical simulation and analyzed the data with the assistance of Q.L., S.H., and A.C.. Q.L. and X.J. provided theoretical support under the guidance of S.W.. A.C. and Q.L. provided data support. X.J., Q.L., and S.H. wrote and revised the manuscript with feedback from all authors.
ADDITIONAL INFORMATION
Supplementary information:
Supplementary Information to: Quantum Sparse Coding and Decoding Based on Quantum Network.
Supplementary training demo video: A gray image training process is based on the QSCD algorithm.
Competing interests:
The authors declare no competing interests.
References
- (1) LeCun, Y., Bengio, Y. & Hinton, G. Deep learning. Nature 521, 436–444 (2015).
- (2) Biamonte, J. et al. Quantum machine learning. Nature 549, 195–202 (2017).
- (3) Lloyd, S., Mohseni, M. & Rebentrost, P. Quantum principal component analysis. Nat. Phys. 10, 631–633 (2014).
- (4) Cong, I., Choi, S. & Lukin, M. D. Quantum convolutional neural networks. Nat. Phys. 15, 1273–1278 (2019).
- (5) Zhou, M.-G. et al. Quantum neural network for quantum neural computing. Research 6, 0134 (2023).
- (6) Lu, H. et al. Experimental quantum network coding. npj Quantum Inf. 5, 89 (2019).
- (7) Schumacher, B. Quantum coding. Phys. Rev. A 51, 2738–2747 (1995).
- (8) Dennis, E., Kitaev, A., Landahl, A. & Preskill, J. Topological quantum memory. J. Math. Phys. 43, 4452–4505 (2002).
- (9) Bellante, A. & Zanero, S. Quantum matching pursuit: A quantum algorithm for sparse representations. Phys. Rev. A 105, 022414 (2022).
- (10) Robotka, H. et al. Sparse ensemble neural code for a complete vocal repertoire. Cell Rep. 42, 112034 (2023).
- (11) Sheridan, P. M. et al. Sparse coding with memristor networks. Nat. Nanotechnol. 12, 784–789 (2017).
- (12) Rozell, C. J., Johnson, D. H., Baraniuk, R. G. & Olshausen, B. A. Sparse coding via thresholding and local competition in neural circuits. Neural Comput. 20, 2526–2563 (2008).
- (13) Vinje, W. & Gallant, J. Sparse coding and decorrelation in primary visual cortex during natural vision. Science 287, 1273–1276 (2000).
- (14) Ji, X., Hu, X., Zhou, Y., Dong, Z. & Duan, S. Adaptive sparse coding based on memristive neural network with applications. Cogn. Neurodyn. 13, 475–488 (2019).
- (15) Wright, J. et al. Sparse representation for computer vision and pattern recognition. Proc. Inst. Electr. Eng. 98, 1031–1044 (2010).
- (16) Olshausen, B. & Field, D. Emergence of simple-cell receptive field properties by learning a sparse code for natural images. Nature 381, 607–609 (1996).
- (17) Cao, H., Cao, F. & Wang, D. Quantum artificial neural networks with applications. Inf. Sci. 290, 1–6 (2015).
- (18) Torlai, G. et al. Neural-network quantum state tomography. Nat. Phys. 14, 447–450 (2018).
- (19) Gao, X., Zhang, Z. Y. & Duan, L. M. A quantum machine learning algorithm based on generative models. Sci. Adv. 4, eaat9004 (2018).
- (20) Beer, K. et al. Training deep quantum neural networks. Nat. Commun. 11, 808 (2020).
- (21) Miller, D. A. B. Self-configuring universal linear optical component. Photonics Res. 1, 1–15 (2013).
- (22) Spagnolo, N. et al. Experimental validation of photonic boson sampling. Nat. Photonics 8, 615–620 (2014).
- (23) Schuld, M., Sweke, R. & Meyer, J. J. Effect of data encoding on the expressive power of variational quantum-machine-learning models. Phys. Rev. A 103, 032430 (2021).
- (24) Abbas, A. et al. The power of quantum neural networks. Nat. Comput. Sci. 1, 403–409 (2021).
- (25) Liu, J. et al. Hybrid quantum-classical convolutional neural networks. Sci. China Phys. Mech. 64, 290311 (2021).
- (26) Zhou, L., Lin, J., Jing, Y. & Yuan, Z. Twin-field quantum key distribution without optical frequency dissemination. Nat. Commun. 14, 928 (2023).
- (27) Harrow, A. W. & Montanaro, A. Quantum computational supremacy. Nature 549, 203–209 (2017).
- (28) Clements, W. R., Humphreys, P. C., Metcalf, B. J., Kolthammer, W. S. & Walmsley, I. A. Optimal design for universal multiport interferometers. Optica 3, 1460–1465 (2016).
- (29) Steinbrecher, G. R., Olson, J. P., Englund, D. & Carolan, J. Quantum optical neural networks. npj Quantum Inf. 5, 60 (2019).
- (30) Pan, X. et al. Experimental quantum end-to-end learning on a superconducting processor. npj Quantum Inf. 9, 18 (2023).
- (31) Meitei, O. R. et al. Gate-free state preparation for fast variational quantum eigensolver simulations. npj Quantum Inf. 7, 155 (2021).
- (32) Graydon, O. Birth of the programmable optical chip. Nat. Photonics 10, 1 (2016).
- (33) Peruzzo, A. et al. A variational eigenvalue solver on a photonic quantum processor. Nat. Commun. 5, 4213 (2014).
- (34) Reck, M., Zeilinger, A., Bernstein, H. J. & Bertani, P. Experimental realization of any discrete unitary operator. Phys. Rev. Lett. 73, 58 (1994).
- (35) Rudolph, M. S. et al. Generation of high-resolution handwritten digits with an ion-trap quantum computer. Phys. Rev. X 12, 031010 (2022).
- (36) Du, Y., Hsieh, M.-H., Liu, T. & Tao, D. Expressive power of parametrized quantum circuits. Phys. Rev. Res. 2, 033125 (2020).
- (37) Benedetti, M. et al. A generative modeling approach for benchmarking and training shallow quantum circuits. npj Quantum Inf. 5, 45 (2019).
- (38) Zhu, D. et al. Training of quantum circuits on a hybrid quantum computer. Sci. Adv. 5, eaaw9918 (2019).
- (39) Zeng, J., Wu, Y., Liu, J.-G., Wang, L. & Hu, J. Learning and inference on generative adversarial quantum circuits. Phys. Rev. A 99, 052306 (2019).
- (40) Tacchino, F., Macchiavello, C., Gerace, D. & Bajoni, D. An artificial neuron implemented on an actual quantum processor. npj Quantum Inf. 5, 26 (2019).
- (41) Hu, L. et al. Quantum generative adversarial learning in a superconducting quantum circuit. Sci. Adv. 5, eaav2761 (2019).
- (42) Cerezo, M., Verdon, G., Huang, H.-Y., Cincio, L. & Coles, P. J. Challenges and opportunities in quantum machine learning. Nat. Comput. Sci. 2, 567–576 (2022).
- (43) Mitarai, K., Negoro, M., Kitagawa, M. & Fujii, K. Quantum circuit learning. Phys. Rev. A 98, 032309 (2018).
- (44) Shafee, F. Neural networks with quantum gated nodes. Eng. Appl. Artif. Intell. 20, 429–437 (2007).
- (45) Concha, D., Pereira, L., Zambrano, L. & Delgado, A. Training a quantum measurement device to discriminate unknown non-orthogonal quantum states. Sci. Rep. 13, 7460 (2023).
- (46) Metcalf, B. J. et al. Multiphoton quantum interference in a multiport integrated photonic device. Nat. Commun. 4, 1356 (2013).
- (47) Peruzzo, A., Laing, A., Politi, A., Rudolph, T. & O’Brien, J. L. Multimode quantum interference of photons in multiport integrated devices. Nat. Commun. 2, 224 (2011).