2
predictions on training quantum states with high accu-
racy, and if the model details are chosen properly, they
can also make accurate predictions on target quantum
states unseen before. Here, based on the chosen forms
of features, different machine learning models can be de-
signed to detect quantum properties.
In this work, we exploit the possibility that utilizes
neural networks to certify genuine multipartite entangle-
ment for general quantum states, where the features we
choose is measurement statistics data produced by mea-
suring involved quantum states with local measurement
devices. Here each subsystem of involved multipartite
quantum states is measured by at least two devices. In-
spired by Bell experiments, we believe that this kind of
measurement statistics data can reveal nontrivial quan-
tum properties for target quantum states.
It turns out that our idea works very well. Particularly,
we successfully train a series of neural network models
that can certify unknown genuine multipartite entangle-
ment very accurately, where the target quantum states
are quite diverse. Taking 4-qubit quantum states for ex-
ample, we first train a proper model, and then we run the
same trained model on four different classes of 4-qubit
quantum states, on each of which our model successfully
certify genuine 4-qubit entanglement with accuracy over
99%. Interestingly, our model even reports some new re-
sults that are unknown before, indicating that machine
learning models can be highly valuable in such a chal-
lenging task. We confirm the high performance of neu-
ral networks on many other test quantum states, which
include quantum state sets that are sampled randomly
without any assumptions.
Meanwhile, we also proposed a modified scheme called
k-correlation to reduce the cost of our approach, and
we show that in some cases where certain specific prior
knowledge is available, the cost of our approach can be
sharply reduced while the prediction accuracy is still
comparable.
Lastly, we provide evidence showing that our approach
enjoys remarkable robustness against flaws in measure-
ment devices, which implies that our approach is very
experiment-friendly.
II. DEEP LEARNING AND ENTANGLEMENT
STRUCTURE
In this work, the certification of genuine multipartite
entanglement is formulated as a supervised binary classi-
fication task, where the deep learning method is applied.
Deep learning is a powerful machine learning model based
on artificial neural networks. It has great representative
ability and has been widely utilized in a variety of fields
such as image recognition [46], natural language process-
ing [47], recommendation systems [48] and so on.
For our task we apply fully connected neural net-
works (FNNs) to fit the training set, for more details
one can see Refs.[49, 50]. Following the standard pro-
cedure of machine learning, we need to gather a train-
ing dataset and a test dataset, which have the form of
{(x1, y1),...,(xN, yN)}, where Nis the size of the set,
xiis the feature of the i-th sample, and yiis the label.
The labels of training dataset are known to us, and the
mission of the neural network is to predict the labels for
the test dataset. When training the model, we input the
features of training dataset into the model and adjusting
its parameters such that it can produce correct labels for
the training dataset. For this, a proper loss function, a
reasonable configuration for the nerual network, and an
efficient optimization method such as gradient-descent
have to be chosen. If the model is trained properly, it
can predict accurately the labels of test dataset unseen
before.
In this work we apply the deep learning method to
certify genuine multipartite entanglement, which is also
a typical binary-classification task. In general, a multi-
partite quantum state can involves many subsystems and
thus its entanglement structure can be very complicated.
An n-partite pure quantum state |Ψk−sepiis called k-
separable, where 1 ≤k≤n, if and only if it can be
written as a tensor product of ksubstates:
|Ψk−sepi=|Ψ1i⊗|Ψ2i⊗···⊗|Ψki.(1)
Correspondingly, a mixed state is called k-separable, if
and only if it has a decomposition into k-separable pure
states. A multipartite quantum state is called genuinely
multipartite entangled if it can not be written as k-
separable for k= 2, otherwise we call it biseparable state.
In addition, a quantum state is said to be of entanglement
intactness k, if it is k-separable but not (k+1)-separable.
III. DETECTING GENUINE MULTIPARTITE
ENTANGLEMENT FOR QUBIT SYSTEMS
A. 3-qubit case
1. The setup
As the simplest case, we first try to detect genuine
multipartite entanglement for 3-qubit quantum states.
As mentioned above, since our approach is based on a
neural network, we need to prepare a large number of
quantum states to train (and test) the neural network.
In this work, we always sample random d-dimensional
quantum state ρ∈ Hdaccording to spectral decomposi-
tion
ρ=
d−1
X
i=0
λi|uiihui|.(2)
Here we randomly choose nonnegative numbers λi’s such
that they satisfy Piλi= 1. Then we generate a d×
dHaar random unitary U, and set |uiito be the i-th
column of U, which means that {|uii} forms a set of
orthonormal basis for Hd. Particularly, if λi= 1 for