Paper:
We demonstrate how machine learning is able to model experiments in quantum physics. Quantum entanglement is a cornerstone for upcoming quantum technologies such as quantum computation and quantum cryptography. Of particular interest are complex quantum states with more than two particles and a large number of entangled quantum levels. Given such a multiparticle high-dimensional quantum state, it is usually impossible to reconstruct an experimental setup that produces it. To search for interesting experiments, one thus has to randomly create millions of setups on a computer and calculate the respective output states. In this work, we show that machine learning models can provide significant improvement over random search. We demonstrate that a long short-term memory (LSTM) neural network can successfully learn to model quantum experiments by correctly predicting output state characteristics for given setups without the necessity of computing the states themselves. This approach not only allows for faster search but is also an essential step towards automated design of multiparticle high-dimensional quantum experiments using generative machine learning models.

Review:
This paper looks at the problem of predicting 2 properties of quantum states produced by an optical table consisting of a sequence of physical elements that modify a quantum state in a particular way, given the sequence of optical elements applied. The authors train 2 separate recurrent networks (LSTMs). The first one takes a sequence of optical elements and predicts a binary boolean label that answers the question of whether the resulting quantum state would be maximally entangled. The second one takes a sequence of optical elements and predicts the Schmid rank vector of the resulting state -- a linear algebraic quantity that is used in quantum information science. The authors explore whether the trained networks generalize to longer sequences of optical elements than trained on, and conduct other checks on the result.
I really appreciate that the authors checked the applicability to sequences of elements longer than trained on. Another great point is the separation of the problem into the two LSTM, so that spurious correlations between the Schmid rank vector and entanglement cannot be used by the NN.
While overall I find the problem interesting and the authors’ approach reasonable, I have a large number of questions / points of confusion that I will detail below.
--------------- Point 1 ----------------
It is unclear what is actually fed into the optical table. My interpretation of the paper is that the input state to the optical table *must be fixed*, since it is not an input to the LSTM. This severely limits the applicability of the framework presented.
I was unable to find what quantum state is actually being input into the sequence of optical elements whose effect you are trying to model. Considering that the properties of the quantum state /after/ the application of the set of N optical elements depend very strongly on the *input quantum state*, I find this omission significant. For an input state rho_0, each element L (which in this particular case is the input to the LSTM), will transform the state as rho -> L rho -> rho’. A series of N elements can be viewed as an application of a sequence of N operations L_1, …. , L_N. Therefore the resulting state is rho_final = L_N L_{N-1} …. L_1 rho_0. As it is clear here, the output state rho_final depends *both* on a) the sequence of applied operations / optical elements (L1,L2, …, LN) as modeled in this paper, and b) the actual input state rho_0. Since what is actually fed into the LSTM is only the sequence of optical elements  (L1,L2, …, LN), while the loss depends on the properties of rho_final, I believe rho_0 must have been assumed fixed and constant throughout the whole paper (i.e. that every data point in the train and test set actually had the same rho_0). If that is the case, the problem that the paper addresses is not /predicting the properties of a quantum state produced by a particular sequence of optical elements/, but rather /predicting the properties of a quantum state produced by a particular sequence of optical elements *given a fixed, constant input state, and not other input state*/. That is a much more restricted regime. I think authors should be clearer about the actual problem their paper is addressing.
--------------- Point 2 ----------------
Lack of baselines. The problem setup and metrics used are quite specific (understandably) to the problem at hand. However, I do not have intuitions for what a “baseline” performance should be and therefore cannot validate whether the approach presented improves in it. I would like to see something equivalent to the 10% chance result on a 10-class classification task. To be more precise, while the binary classification of the maximally entangled nature of the quantum state is clear, the L_2 distance on the sorted 3-tuple of the Schmid rank vector is less so. The explicitly encoded sorted nature of the output 3-tuple (it is parameterized as such) makes it hard for me to make sense of the L_2 distance threshold r that the authors use (which is in fact at some sections r=3, i.e. quite large). I think that adding a baseline performance of some sort would greatly improve my ability to see how much better the LSTM approach performs.
--------------- Point 3 ----------------
The datatype of the LSTM inputs is unclear to me. As I discussed in point 1), the resulting quantum properties of the output state after the application of N optical elements depends on the input state as well as the sequence of elements applied. I am not clear on how the authors encode the optical elements themselves -- i.e. what datatype are the inputs x1, … , xN to the LSTM. If they model them categorically as one-hot vectors, i.e. a 0 degree orientation polarization plate as (1,0,0,0,...0), a beam splitter as (0,1,0,0,....,0), a 90 degrees polarization place as (0,0,1,0,....,0) etc, they are restricting the applicability of the trained models to that particular set of optical elements. For example, if I wanted to know what adding a polarization plate with orientation alpha will do, I would not be able to do that. If it indeed is true that the inputs are drawn from a small number of possible optical elements that has to be specified prior to training, this would again limit the scope of applicability of the results presented.
--------------- Point 4 ----------------
States as state vectors or density matrices? It wasn’t clear to me what the actual state that is being fed into the optical table is. This might be a minor point, but Equation 1 suggests it is in fact a state vector, while I thought quantum optical experiments work with density matrices. This is important for the dimensionality considerations involved, since e.g. for a set of M qubits, the state vector would have 2^M elements (-constraints), while the density matrix would have 2^(2M) elements (-constraints). Solving the latter problem would therefore be more impressive than the former.
--------------- Point 5 ----------------
Are you always working with 3 subsystems/photons? From reading the paper I didn’t understand whether you were restricting your setup to always work in the 3 photon regime that you mentioned in Equation 1. What is the range of the values that can appear in the Schmid rank vector? If they are small, then setting the threshold r=3 would be very generous and making it easy for the LSTM. 
--------------- Conclusion ----------------
While I like the problem and the attempted solution, the results presented (as I understood them) are more restricted and therefore weaker than I originally expected. I believe the results are promising, but more clarity and more work on generalizing beyond the restricted regime presented would greatly improve the paper.