Suppose that there is a quantum system that is always isolated from the outside world, which means that there has never been any energy exchange between the system and the external environment. We can know from the law of conservation of energy that energy cannot be generated or disappeared out of thin air, hence the total energy possessed by such a system must be zero, which means that the energy possessed by the system must be divided into positive energy and negative energy, and these two types of energy are balanced (they are equal in quantity). Here, we might as well use
to represent the states of quantum system, and
and
to represent the state of the positive and negative energy of the system, respectively, where
can be assumed to be of any dimension. Due to the balance between the positive energy and negative energy, it is clear that
. Interestingly, when the system is observed (i.e. performing quantum measurements on it), only the state
can be obtained, attributed to
where
represents a measurement operator and the subscript
m represents a possible measurement result [
1], in which case it is impossible to know whether the observed state is
or
. Since the probability that
is in either the state
or the state
is 50%, we would like to denote the system as
Let us now assume that there is an independent quantum system with two subsystems (i.e., a two-particle quantum state), and assume that
is in one of the following two states:
where the subscripts 1,2 represent two subsystems,
and
are two sets of orthonormal bases, such that
and
.
Table 1 shows all possible combinations of the states of the particles 1 and 2, where the states with global phase,
, can not ignored even though they do not have observational effects, and
can be considered as the measurement results from
.
Furthermore, without loss of generality, assuming that the first subsystem in both
and
is observed simultaneously, and the observation result is denoted as
, while the state that the remaining subsystems collapse onto is denoted as
. In addition, we use the symbol
to represent the combinations of the states of two subsystems. Let us discuss different scenarios in turn, including four combinations:
,
,
, and
. For the first case, we list all the possible states of subsystems and the corresponding observation results in the four sub-tables in
Table 2 (Note that for the sake of simplicity, unnecessary coefficients are ignored in the table).
Let us set
in Eq.
8, then four cases of the entanglement swapping between two Bell states can be obtained, which are given by
where the change in the positions of the subscripts shows the swapping of particles. In a similar way, we can further obtain the results for other cases of the entangled swapping between two Bell states from Eqs.
9 to
11, as follows,
The cases shown in Eqs. (
12a, 12d,
15a, 15d) are included in Eq.
2a. Furthermore, Eqs. (
13a, 13d,
14a, 14d) are included in Eq.
2b. Eqs. (12b, 12c, 15b, 15c) are included in Eq.
2c. and Eqs. (13b, 13c, 14b, 14c) are included in Eq.
2d. In short, Eqs. (
2a-
2d) verify the correctness of the proposed algorithm.