Quantum entanglement resource scheduling method, device and electronic equipment
By receiving quantum application requests in the quantum network and optimizing the entanglement purification process, the optimal conversion rate is determined to improve the flexibility and accuracy of resource scheduling, which solves the problem of poor resource scheduling flexibility in quantum networks and is suitable for quantum information products and application scenarios. .
Patent Information
- Application Number
- CN202311199641.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-15
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2043-09-15
AI Technical Summary
Quantum networks have poor flexibility and accuracy in resource scheduling, making it difficult to effectively schedule entangled resources to meet the needs of quantum application services.
By receiving quantum application requests, the input state information and target error in the quantum entanglement purification scenario are obtained, the maximum optimization function relationship between the optimal conversion rate and the output state information is determined, and the entanglement purification process is optimized to improve the flexibility and accuracy of resource scheduling.
It improves the flexibility and accuracy of quantum network resource scheduling for quantum application services, optimizes the conversion efficiency in the entanglement purification process, and is suitable for various quantum information products and application scenarios.
Smart Images

Figure CN117236453B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of quantum computing technology, in particular to the field of quantum entanglement technology, and specifically to a quantum entanglement resource scheduling method, device and electronic equipment. Background Art
[0002] Quantum networks can be used to provide quantum application services. For example, quantum communication systems can deploy quantum key distribution application services to use quantum entangled states to achieve secure information transmission. For another example, quantum networks can deploy communication application services to effectively allocate entanglement resources to various nodes in the quantum network for communication.
[0003] Quantum entanglement is a very special and unique phenomenon in quantum mechanics, in which two or more quantum systems enter a closely related composite state in which the quantum state of each system cannot be defined separately, but needs to be considered in conjunction with all other systems as a whole.
[0004] Quantum entanglement of different structures can be applied in different scenarios. In most usage scenarios, the most ideal quantum entangled state is the Bell state (i.e. the maximum entangled state with a dimension of 2). Therefore, in order to ensure the actual effect of quantum entanglement in related applications, before it is actually put into use, it is necessary to convert the given quantum entangled state into the Bell state required by the application through certain operations. This operation is called quantum entanglement purification.
[0005] When entanglement resources are scheduled for quantum application services in response to quantum application requests in a quantum network, direct scheduling is usually performed based on the entanglement resources obtained in the quantum entanglement purification scenario of the quantum network. Summary of the invention
[0006] The present disclosure provides a quantum entanglement resource scheduling method, device and electronic device.
[0007] According to a first aspect of the present disclosure, a quantum entanglement resource scheduling method is provided, comprising:
[0008] Receiving a quantum application request from a quantum network, wherein the quantum application request is used to schedule entangled resources to perform quantum application services;
[0009] Based on the quantum application request, triggering nodes in the quantum network to obtain input state information and target error in a quantum entanglement purification scenario;
[0010] Based on the input state information and the target error, determining a first relationship, the first relationship being a maximum optimization function relationship between the optimal conversion rate of the quantum entanglement purification scenario and the dimension of the output state information under a first preset condition, the first preset condition being that the fidelity between the output state information and the maximum entangled state is greater than or equal to a first target value, the first target value being 1 minus the target error, and the fidelity being a measure of a trace operation performed on the output state information and the maximum entangled state;
[0011] Based on the first relationship, determining a value of the optimal conversion rate;
[0012] Based on the quantum application request and the value of the optimal conversion rate, resources are scheduled for the quantum application service.
[0013] According to a second aspect of the present disclosure, a quantum entanglement resource scheduling device is provided, comprising:
[0014] A receiving module, used to receive a quantum application request from a quantum network, wherein the quantum application request is used to schedule entangled resources to perform quantum application services;
[0015] An acquisition module, configured to trigger nodes in the quantum network to acquire input state information and target error in a quantum entanglement purification scenario based on the quantum application request;
[0016] A first determination module is used to determine a first relationship based on the input state information and the target error, wherein the first relationship is a maximum optimization function relationship between the optimal conversion rate of the quantum entanglement purification scenario and the dimension of the output state information under a first preset condition, wherein the first preset condition is that the fidelity between the output state information and the maximum entangled state is greater than or equal to a first target value, wherein the first target value is 1 minus the target error, and the fidelity is a measure of a trace operation performed on the output state information and the maximum entangled state;
[0017] A second determination module, configured to determine a value of the optimal conversion rate based on the first relationship;
[0018] A resource scheduling module is used to schedule resources for the quantum application service based on the quantum application request and the value of the optimal conversion rate.
[0019] According to a third aspect of the present disclosure, there is provided an electronic device, including:
[0020] at least one processor; and
[0021] a memory communicatively connected to at least one processor; wherein,
[0022] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform any method in the first aspect.
[0023] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause a computer to execute any one of the methods in the first aspect.
[0024] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, which implements any one of the methods in the first aspect when executed by a processor.
[0025] The technology disclosed in the present invention solves the problem of poor flexibility in resource scheduling of quantum networks for quantum application services in related technologies, and can improve the flexibility and accuracy of resource scheduling of quantum networks for quantum application services.
[0026] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0028] Figure 1 is a flowchart of a quantum entanglement resource scheduling method according to the first embodiment of the present disclosure;
[0029] Figure 2 It is a schematic diagram of the relationship between the number of quantum state copies and the average conversion rate of quantum entanglement purification;
[0030] Figure 3 is a schematic diagram of the structure of a quantum entanglement resource scheduling device according to the second embodiment of the present disclosure;
[0031] Figure 4 is a schematic block diagram of an example electronic device for implementing an embodiment of the present disclosure. DETAILED DESCRIPTION
[0032] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0033] First embodiment
[0034] like Figure 1 As shown, the present disclosure provides a quantum entanglement resource scheduling method, comprising the following steps:
[0035] Step S101: receiving a quantum application request from a quantum network, where the quantum application request is used to schedule entangled resources to execute quantum application services.
[0036] In this embodiment, the quantum entanglement resource scheduling method relates to the field of quantum computing technology, and in particular to the field of quantum entanglement technology, which can be widely used in the scheduling scenario of entanglement resources of quantum network for quantum application services. The quantum entanglement resource scheduling method of the embodiment of the present disclosure can be executed by the quantum entanglement resource scheduling device of the embodiment of the present disclosure. The quantum entanglement resource scheduling device of the embodiment of the present disclosure can be configured in any electronic device to execute the quantum entanglement resource scheduling method of the embodiment of the present disclosure.
[0037] The quantum network can be a quantum key distribution network, a quantum communication network, or a network used to perform quantum computing within a quantum computer, and no specific limitation is made here.
[0038] The quantum network can be functionally divided into multiple layers, which include an upper quantum application service layer and a lower service support layer. The lower service support layer can receive quantum application requests sent by the upper quantum application service layer to schedule entangled resources to execute quantum application services.
[0039] Optionally, quantum application services include any of the following:
[0040] Quantum key distribution application services;
[0041] Communication application services;
[0042] Distributed quantum computing application services.
[0043] In one scenario, quantum key distribution application services and communication application services can dispatch the entangled resources obtained by quantum entanglement purification at the underlying service support layer to achieve secure information transmission. In another scenario, distributed quantum computing application services can dispatch the entangled resources obtained by quantum entanglement purification at the underlying service support layer to execute complex algorithms, such as distributed quantum computing.
[0044] The quantum application request may carry a service identifier, the number of entangled resources, and entangled resource characteristics, etc. For example, the entangled resource characteristics carried in the quantum application request indicate the maximum entangled state, that is, the quantum application service needs to use the maximum entangled state to implement the corresponding service.
[0045] Step S102: Based on the quantum application request, trigger the nodes in the quantum network to obtain input state information and target error in the quantum entanglement purification scenario.
[0046] Quantum entanglement is a very special and unique phenomenon in quantum mechanics, in which two or more quantum systems enter a closely related composite state in which the quantum state of each system cannot be defined separately, but needs to be considered in conjunction with all other systems as a whole.
[0047] A common example is two entangled particles, whose spin states may be uncertain but are correlated. Even if the two particles are separated by a large distance, their spin states remain entangled. For example, if the spin of one particle is measured to be up, then no matter where the other particle is, if its spin is measured, the result must be down. In particular, this correlation is independent of the physical distance of the entangled particles. This situation goes beyond the understanding of classical physics, because according to classical physics, two objects separated by a large distance cannot have such an "instantaneous" mutual influence. The term "spooky action at a distance" can be used to describe this phenomenon. However, it is a fundamental property of the quantum world and has been confirmed by a large number of experiments.
[0048] Quantum entanglement not only plays an important role in theoretical physics, but also has important uses in practical applications such as quantum computing, quantum cryptography and quantum communication. In the field of quantum computing, quantum entanglement is regarded as a key factor in achieving large-scale quantum computing. Using entangled quantum bits, quantum computers can process large amounts of information, surpassing the processing capabilities of classical computers.
[0049] Secondly, quantum entanglement plays a vital role in quantum cryptography, especially in quantum key distribution protocols, which use quantum entanglement to create a secure cryptographic key for both communicating parties. Any attempt to steal this key will break the entanglement state and be detected. In addition, due to the "ghostly action at a distance" of entangled particles, changing the state of one particle can instantly affect another entangled particle with it, no matter how far the two particles are apart, which makes applications such as long-distance quantum communication and quantum clock synchronization possible. In quantum teleportation, by utilizing quantum entanglement, it is possible to "teleport" a quantum state from one place to another.
[0050] Quantum entanglement can also be applied to fields such as quantum precision measurement, providing higher accuracy and sensitivity than traditional technologies. The characteristics of quantum entanglement enable communication and calculation beyond the limitations of classical theory, opening up new possibilities for scientific and technological development.
[0051] Quantum entanglement of different structures can be applied in different scenarios. In most usage scenarios, the most ideal quantum entangled state is the Bell state (i.e. the maximum entangled state with a dimension of 2). Therefore, in order to ensure the actual effect of quantum entanglement in related applications, before it is actually put into use, it is necessary to convert the given quantum entangled state into the Bell state required by the application through certain operations. This operation is called quantum entanglement purification.
[0052] In step S102, when a quantum application request is obtained, the nodes in the quantum network can be triggered to prepare input state information in the quantum entanglement purification scenario based on the entanglement resource characteristics and the number of entanglement resources carried by the quantum application request, so as to obtain the input state information to prepare for the quantum entanglement purification operation.
[0053] The more entangled resources there are, the more input state information can be obtained, so as to generate more entangled resources for scheduling. However, the input state information is related to the noise environment and hardware equipment of the nodes in the quantum network. Under the limitations of the corresponding noise environment and hardware equipment, the number of input state information prepared by the nodes in the quantum network is usually limited. The node can refer to a quantum device or a module in a quantum computer, which is not specifically limited here.
[0054] The input state information refers to the quantum state input in the quantum entanglement purification process. This quantum state is obtained by performing a tensor product of n pairs of initial quantum states. The initial quantum state is the quantum state of two quantum systems. The dimensions of the two quantum systems can be the same. The dimension of one quantum system can be d. n is the number of copies of the input state information. For any quantum state |ψ> on the AB quantum system AB , the input state information can be expressed as
[0055] Ideally, the quantum state obtained by quantum entanglement purification is required to be a perfect Bell state. Since this conversion requirement is often too strict, the conversion rate will be very low. Therefore, in practical applications, it is usually required that the error between the quantum state obtained by quantum entanglement purification and the Bell state meet a given error threshold. This error threshold is the target error. When the error between the quantum state obtained by quantum entanglement purification and the Bell state is less than or equal to the error threshold, it means that the error between the quantum state obtained by quantum entanglement purification and the Bell state meets the error threshold.
[0056] The target error may be preset, and the quantum application request may carry the target error, and the target error may also be obtained from the quantum application request.
[0057] Step S103: Based on the input state information and the target error, determine a first relationship, wherein the first relationship is a maximum optimization function relationship between the optimal conversion rate of the quantum entanglement purification scenario and the dimension of the output state information under a first preset condition, wherein the first preset condition is that the fidelity between the output state information and the maximum entangled state is greater than or equal to a first target value, wherein the first target value is 1 minus the target error, and the fidelity is a measurement of a trace operation performed on the output state information and the maximum entangled state.
[0058] The basic idea of quantum entanglement purification is to convert one or more pairs of initial quantum entangled states into as many Bell states as possible through a series of local quantum operations and classical communications (LOCC), and ensure that the difference between the quantum state obtained after the conversion and the ideal Bell state is less than a given error threshold ε.
[0059] If a certain LOCC operation scheme can convert n pairs of initial quantum entangled states into m pairs of Bell states within the error range, then the conversion rate of the scheme is called m / n. For example, if 10 pairs of initial quantum entangled states are required to obtain a pair of Bell states, then the conversion rate of this quantum entanglement purification process is 1 / 10 or 0.1. Therefore, the higher the conversion rate, the more efficient the entanglement purification process is, and the less entanglement resources are consumed to prepare the same number of Bell states.
[0060] The calculation of quantum entanglement purification conversion rate, as a key parameter to measure the efficiency of entanglement purification protocol, is of vital importance. First, since the available quantum resources (such as the initial quantum entangled state) in actual quantum information processing systems are usually limited, the understanding and calculation of entanglement purification conversion rate can help manage these resources more effectively to obtain the best system performance.
[0061] Secondly, comparing the conversion rates of different entanglement purification protocols can guide the selection of the most effective protocol under specific conditions, or optimize existing protocols to improve their efficiency. Furthermore, since entangled states are susceptible to errors and noise, entanglement purification is a means of reducing these effects, and its conversion rate can reflect the purification effect and indicate whether further error correction is needed.
[0062] In addition, the optimal conversion rate of entanglement purification can be used as a benchmark to measure the performance of quantum information processing systems. By comparing the theoretical expected conversion rate with the actual measured conversion rate, it is possible to evaluate whether the system performance meets expectations or reveal potential room for improvement. The calculation of the optimal conversion rate can also help find the corresponding optimal entanglement purification protocol, maximizing the efficiency of quantum entanglement purification operations, which has very important practical value.
[0063] In specific product requirements and application scenarios, the use of calculating the quantum entanglement purification conversion rate is particularly important.
[0064] 1. When designing and building quantum computers, it is necessary to generate and manipulate high-quality entangled states to execute complex quantum algorithms. In this process, the quantum entanglement purification conversion rate provides an important efficiency indicator. For example, if it is found that the conversion rate of a certain entanglement purification protocol is low, it may be necessary to find a more efficient protocol or improve the existing entanglement generation and purification technology. In addition, comparing the theoretically expected and actually measured conversion rates can help evaluate the actual performance of quantum computers and identify possible technical problems.
[0065] 2. In quantum communication systems, such as quantum key distribution protocols, entangled states are often used to achieve secure information transmission. However, losses and noise during transmission may reduce the quality of the entangled state, resulting in reduced security of information transmission. In this case, entanglement purification is very important. By calculating the conversion rate, we can understand how much original entangled resources are needed to ensure secure information transmission under given system conditions.
[0066] 3. When building a quantum network, entanglement resources need to be effectively allocated to each node of the network. If the conversion rate of entanglement purification is known, these resources can be better planned and managed, for example, determining which nodes need more entanglement resources, or how to adjust the topology of the network to optimize resource utilization.
[0067] In summary, calculating the conversion rate of quantum entanglement purification plays a key role in various quantum information products and applications, and is of great significance for promoting the advancement of quantum information technology. Since different schemes have different conversion rates of quantum entanglement purification, how to find the scheme with the best conversion rate and calculate the corresponding best conversion rate is a problem of widespread concern in the industry.
[0068] The purpose of this embodiment is to determine the optimal conversion rate under any given limited resource quantum entangled state and error threshold, and to schedule resources for quantum application services based on quantum application requests and the value of the optimal conversion rate. In this way, the entangled resources available for quantum entanglement purification can be simulated by the value of the optimal conversion rate, and the flexibility and accuracy of resource scheduling of quantum network for quantum application services can be correspondingly improved. In addition, the optimal conversion rate can also be used to optimize the conversion efficiency in the process of quantum entanglement purification to optimize the quantum entanglement purification protocol of the quantum network.
[0069] In step S103, there are many ways to define the conversion error of the quantum state. Different error definition methods are suitable for different usage scenarios, and the corresponding calculation difficulty is completely different. In this embodiment, the conversion error can be measured by fidelity, which can be understood as limiting the ideal converted quantum state to a pure state (i.e., a maximum entangled state), and the fidelity between it and the output state information obtained by quantum entanglement purification is greater than or equal to the first target value, and the first target value is 1 minus the target error.
[0070] For example, if an initial quantum state |ψ> between quantum systems A and B is AB Transformed into the maximally entangled state between quantum systems A and B through the LOCC operation Λ It is equivalent to log2m for the Bell state, where |i> A ,|i> B are the basis vectors on quantum systems A and B respectively. Then, the fidelity between the converted quantum state and the target quantum state is Tr(Λ(ψ)φ m ), Tr is the trace operation, then the fidelity of quantum entanglement purification F(|ψ>,m) can be measured by the following formula (1).
[0071]
[0072] In the above formula (1), Λ∈LOCC indicates that the operation Λ is a LOCC operation, and Λ(ψ) indicates the quantum state obtained by purifying the quantum entanglement of the initial quantum state |ψ> through the LOCC operation Λ. The above formula (1) indicates that the quantum state obtained by converting |ψ> through any LOCC operation Λ is the same as the target quantum state φ m Maximum fidelity between.
[0073] Under the above error metric, the optimal conversion rate of quantum entanglement purification is expressed as shown in the following formula (2).
[0074]
[0075] The above formula (2) is the first relationship determined. is the first preset condition, ε is the target error, For fidelity, is the maximum dimension that the output state information can reach, which is equivalent to the optimal conversion rate. The optimal conversion rate can be obtained by Calculation shows that n is the number of copies of the input state information, m≥2, and m is a positive integer, and m is the dimension of the output state information purified by quantum entanglement.
[0076] Step S104: Based on the first relationship, determine the value of the optimal conversion rate.
[0077] Among them, the value of the optimal conversion rate is used to optimize the conversion efficiency in the quantum entanglement purification process, or to schedule entanglement resources in the quantum entanglement purification process.
[0078] When input state information and target error are provided, the dimension of the output state information can be solved under first preset conditions through relevant computing software so that the value of the optimization function in the first relationship is at its maximum value, which is the value of the optimal conversion rate of the quantum entanglement purification.
[0079] On the premise of obtaining the value of the optimal conversion rate, relevant applications can be carried out based on the value of the optimal conversion rate, such as quantum key distribution protocol applications, quantum network construction applications, quantum entanglement purification algorithm debugging applications, distributed quantum computing applications, etc. In these applications, the conversion efficiency in the quantum entanglement purification process can be optimized based on the optimal conversion rate, and the entanglement resources in the quantum entanglement purification process can be scheduled.
[0080] Step S105: Based on the quantum application request and the value of the optimal conversion rate, resource scheduling is performed on the quantum application service.
[0081] The maximum number of entangled resources that can be purified under the corresponding input state information can be simulated based on the value of the optimal conversion rate, and the quantum application request will also carry the number of entangled resources that need to be scheduled. When the maximum number of entangled resources that can be purified is greater than or equal to the number of entangled resources in the quantum application request, the quantum application request can be responded to, the quantum entanglement purification operation can be performed, the corresponding entangled resources can be obtained, and they can be scheduled to the upper layer for quantum application services.
[0082] When the maximum number of entangled resources that can be purified is less than the number of entangled resources in the quantum application request, there is no need to perform the quantum entanglement purification operation and the quantum application request can be directly rejected.
[0083] In this embodiment, a quantum application request from a quantum network is received; based on the quantum application request, a node in the quantum network is triggered to obtain input state information and target error in a quantum entanglement purification scenario; and based on the input state information and target error, an optimization function is constructed to determine the optimal conversion rate of the quantum entanglement purification scenario; and then, based on the quantum application request and the value of the optimal conversion rate, resource scheduling is performed on the quantum application service. In this way, the entangled resources available for quantum entanglement purification can be simulated through the value of the optimal conversion rate, and the flexibility and accuracy of resource scheduling of the quantum network for quantum application services are correspondingly improved.
[0084] In addition, the conversion error of the input state information to the maximum entangled state is measured by the fidelity obtained by performing a trace operation on the output state information and the maximum entangled state, and the maximum optimization function relationship between the optimal conversion rate of quantum entanglement purification and the dimension of the output state information under the first preset condition is constructed based on the input state information and the target error of the quantum entanglement purification, and then the maximum optimization function relationship is solved to obtain the value of the optimal conversion rate. This can be applied to the determination of the optimal conversion rate under any given limited resource quantum entangled state and error threshold, thereby improving the flexibility of determining the optimal conversion rate of quantum entanglement purification, more in line with the needs of actual application scenarios, and thus more accurately optimizing the conversion efficiency in the process of quantum entanglement purification and scheduling the entangled resources in the process of quantum entanglement purification.
[0085] Optionally, the step S105 specifically includes:
[0086] Based on the value of the optimal conversion rate, determining the entangled resources that can be purified in the quantum entanglement purification scenario of the quantum network;
[0087] In a case where the entangled resources that can be purified are greater than or equal to the entangled resources requested by the quantum application request, resource scheduling is performed on the quantum application service.
[0088] Based on the value of the optimal conversion rate and the input state information prepared by the nodes of the quantum network, the entangled resources that can be purified in the quantum entanglement purification scenario of the quantum network can be determined. Afterwards, the entangled resources that can be purified determined based on the value of the optimal conversion rate are compared with the entangled resources requested by the quantum application request, and the resources of the quantum application service are scheduled based on the comparison result.
[0089] When the entangled resources that can be purified based on the value of the optimal conversion rate are greater than or equal to the entangled resources requested by the quantum application request, there are sufficient entangled resources for scheduling. Therefore, the corresponding entangled resources can be scheduled to the upper layer for quantum application services.
[0090] In this way, resource scheduling for quantum application services can be achieved based on the value of the optimal conversion rate.
[0091] Optionally, the method further includes:
[0092] In a case where the entangled resources that can be purified are less than the entangled resources requested by the quantum application request, the quantum application request is refused to be responded to.
[0093] In this way, by simulating the entangled resources that can be obtained by quantum entanglement purification based on the value of the optimal conversion rate, when the entangled resources are less than the entangled resources requested by the quantum application request, there is no need to perform the quantum entanglement purification operation, and the response to the quantum application request can be directly rejected, reducing unnecessary operations.
[0094] Optionally, the method further includes:
[0095] When the entangled resources that can be purified are less than the entangled resources requested by the quantum application request, based on the value of the optimal conversion rate, the input state information of the quantum network in the quantum entanglement purification scenario is adjusted to increase the entangled resources that can be purified in the quantum entanglement purification scenario.
[0096] In the case where the entangled resources that can be purified are less than the entangled resources requested by the quantum application request, the minimum amount of input state information required can be determined based on the value of the optimal conversion rate and the amount of entangled resources in the quantum application request to ensure secure information transmission. Adjusting the input state information in the quantum entanglement purification scenario of the quantum network, such as increasing the amount of input state information in the quantum entanglement purification scenario of the quantum network to perform quantum entanglement purification, can obtain more entangled resources for resource scheduling, which can further improve the flexibility and accuracy of quantum entanglement resource scheduling.
[0097] In the above formula (1), the quantum state The dimension is |AB| n , as n grows exponentially, the direct solution is The complexity of will also grow exponentially with n. Therefore, the complexity of solving the optimal conversion rate can be reduced by transforming the first relationship.
[0098] Optionally, the step S104 specifically includes:
[0099] Performing Schmidt decomposition on the quantum state involved in the input state information to convert the relationship between the fidelity and the input state information into a second relationship and a third relationship, wherein the second relationship is the relationship between the fidelity and the first information, the first information includes a target norm of a first vector, the dimension of the output state information and a first variable, the third relationship is a minimum optimization function relationship between the first variable and the second variable, the target norm is the sum of the first H largest elements of the first vector, the first vector is a vector obtained by performing Schmidt decomposition on the quantum state involved in the input state information, H is the dimension of the output state information minus the first variable, and H is a positive integer;
[0100] Based on the second relationship and the third relationship, converting the first preset condition into a restriction condition of the dimension of the output state information;
[0101] Based on the first relationship and the restriction condition, a value of the optimal conversion rate is determined.
[0102] For any quantum system A and B, the quantum state |ψ> AB, which has a Schmidt decomposition where |i> A ,|i> B are the basis vectors on quantum systems A and B respectively, d is the dimension of quantum system A, and the system dimensions of quantum systems A and B are the same, p i Sort in descending order (p1≥p2≥...≥p d ). ψ =(p1,p2,...,p d ) is the quantum state |ψ> AB The Schmidt vector of For any vector p, let ||p|| (k) is the sum of the first k largest elements of vector p, that is,
[0103] The relationship between fidelity and input state information can be The input state information is subjected to Schmidt decomposition to convert the relationship between the fidelity and the input state information into a second relationship and a third relationship.
[0104] In the second relationship, the first vector may include a Schmidt vector and a second vector of the input state information, the second vector is obtained by performing a tensor product of a third vector based on the number of copies of the input state information, the third vector is obtained by taking the square root of the Schmidt vector of the quantum state of one copy of the input state information, and the target norm may include a first target norm of the Schmidt vector of the input state information and a second target norm of the second vector.
[0105] The second relationship can be expressed by the following equation (3), and the third relationship can be expressed by the following equation (4).
[0106]
[0107]
[0108] Among them, in the above formula (3), is the third vector, is the second vector, is the Schmidt vector of the input state information, is the first target norm, is the second target norm, k* is the first variable, and H is mk*. In the above formula (4), k is the second variable.
[0109] Based on the second and third relationships, Converted to the dimension of the output state information, we get On the basis of, the first preset condition in the first relationship can be converted into a constraint condition on the dimension of the output state information. Then, the optimization function in the first relationship is solved under the constraint condition to solve the maximum value of the optimization function and obtain the value of the optimal conversion rate of quantum entanglement purification.
[0110] In this embodiment, the quantum state involved in the input state information is subjected to Schmidt decomposition to convert the relationship between the fidelity and the input state information into a second relationship and a third relationship, and the optimal conversion rate is determined based on the second relationship and the third relationship. In this way, the optimal conversion rate is determined by converting the quantum state into the target norm of the Schmidt vector corresponding to the quantum state, which can reduce the complexity of solving the optimal conversion rate.
[0111] Optionally, converting the first preset condition into a restriction condition on the dimension of the output state information based on the second relationship and the third relationship includes:
[0112] Based on the third relationship, determining a value of the first variable;
[0113] Based on the second relationship and the value of the first variable, the first preset condition is converted into a restriction condition on the dimension of the output state information.
[0114] From the above formula (4), it can be seen that in order to determine the value of the first variable, it is necessary to first calculate Then, the value of the second variable is solved so that the value of the optimization function in the third relationship is at the minimum value, and the minimum value is the value of the first variable.
[0115] When the value of the first variable is determined, the value of the first variable can be substituted into the second relation, and the target norm of the first vector can be calculated, so that The relationship between the first preset condition and the dimension of the input state information can be converted into a limiting condition of the dimension of the output state information. In this way, the conversion of the first preset condition can be realized, simplifying the determination process of the optimal conversion rate.
[0116] The third relationship can be solved in a variety of ways to obtain the value of the first variable. In an optional implementation, the value of the first variable can be determined based on the gradient function of the optimization function in the third relationship; based on the gradient function. In another optional implementation, the value of the second variable in the third relationship can be solved by related computing software so that the value of the optimization function in the third relationship is at the minimum value, thereby obtaining the value of the first variable.
[0117] Optionally, determining the value of the first variable based on the third relationship includes:
[0118] Obtaining a gradient function of the optimization function in the third relationship;
[0119] Based on the gradient function, a value of the first variable is determined.
[0120] The optimization function in the third relationship is shown in equation (5).
[0121]
[0122] The gradient function of the optimization function is shown in equation (6).
[0123]
[0124] Accordingly, based on the gradient function, the extreme value point of the optimization function in the third relationship within the value range of the second variable can be solved, that is, the variable value when the gradient function value is zero is determined, and the extreme value point is the value of the second variable of the optimization function under the minimum optimization function value, and the minimum optimization function value is the value of the first variable. In this way, the value of the first variable can be determined.
[0125] Optionally, a lower bound of a value range of the second variable is 1, and an upper bound of a value range is a dimension of the output state information, and determining a value of the first variable based on the gradient function includes:
[0126] When the first target gradient function value is greater than or equal to zero, the value of the first variable is determined to be 1, and the first target gradient function value is: the value of the gradient function when the value of the second variable is the lower bound;
[0127] When the second target gradient function value is less than or equal to zero, the value of the first variable is determined to be the dimension of the output state information, and the second target gradient function value is: the value of the gradient function when the value of the second variable is the second target value, and the second target value is obtained based on the upper limit of the value range of the second variable minus 1;
[0128] When the first objective gradient function value is less than zero and the second objective gradient function value is greater than zero, a binary search is performed based on the lower bound of the value range of the second variable and the second objective value, and when the upper bound of the binary search interval is less than or equal to the third objective value, the value of the first variable is determined to be the upper bound of the binary search interval, and the third objective value is the lower bound of the binary search interval plus 1;
[0129] Among them, in the binary search, when the third objective gradient function value is greater than or equal to zero, the upper limit of the binary search interval is adjusted to the binary value in the binary search, and when the third objective gradient function value is less than zero, the lower limit of the binary search interval is adjusted to the binary value in the binary search, and the third objective gradient function value is: the value of the gradient function when the value of the second variable is the binary value in the binary search.
[0130] The specific process of determining the value of the first variable based on the gradient function is as follows:
[0131] Step 1: If the first objective gradient function value t(1)≥0, return the first variable k*=1 as output;
[0132] Step 2: If the second objective gradient function value t(m-1)≤0, return k*=m as output, m≥2;
[0133] Step 3: If t(1) < 0 and t(m-1) > 0, set the lower bound a = 1 and the upper bound b = m-1 of the binary search;
[0134] Step 4: If the loop condition b>a+1 is met, the following loop is performed:
[0135] Step 4.1: Order in, is the floor function;
[0136] Step 4.2: If t(c) ≥ 0, let b = c, otherwise, let a = c;
[0137] Step 5: Return k*=b as output.
[0138] In this way, the extreme value points of the optimization function in the third relationship are searched using the binary search method based on the gradient function, which can simplify the process of determining the first variable, thereby simplifying the process of determining the optimal conversion rate of quantum entanglement purification.
[0139] Optionally, converting the first preset condition into a restriction condition on the dimension of the output state information based on the second relationship and the value of the first variable includes:
[0140] Based on the value of the first variable, obtaining a target norm of the first vector;
[0141] Based on the target norm of the first vector, converting the second relationship into a relationship between the fidelity and the dimension of the output state information;
[0142] Based on the relationship between the fidelity and the dimension of the output state information, the first preset condition is converted into a restriction condition of the dimension of the output state information.
[0143] In this implementation, based on the value of the first variable, H, i.e., the sum dimension of the target norm, can be calculated, and accordingly, based on obtaining the first vector, the target norm of the first vector can be obtained. The first vector may include a Schmidt vector of the input state information and a second vector, the second vector is obtained by performing a tensor product of a third vector based on the number of copies of the input state information, the third vector is obtained by taking the square root of the Schmidt vector of the quantum state under one copy of the input state information, and the target norm may include a first target norm of the Schmidt vector of the input state information and a second target norm of the second vector.
[0144] Substituting the target norm of the first vector into the second relationship, the second relationship can be converted into the relationship between the fidelity and the dimension of the output state information, and the relationship is substituted into the first preset condition to obtain the restriction condition of the dimension of the output state information. In this way, the conversion of the first preset condition is realized, simplifying the process of determining the optimal conversion rate of quantum entanglement purification.
[0145] Optionally, the first vector includes a Schmidt vector of the input state information, the target norm includes a first target norm of the Schmidt vector of the input state information, and acquiring the target norm of the first vector based on the value of the first variable includes:
[0146] Based on the value of the first variable, obtaining the sum dimension of the first target norm;
[0147] Obtaining a Schmidt vector of the input state information;
[0148] The first target norm is obtained based on the sum dimension and the Schmidt vector of the input state information.
[0149] The sum dimension of the first target norm is H.
[0150] There are many ways to obtain the Schmidt vector of the input state information. For example, the Schmidt vector can be obtained by performing Schmidt decomposition on the input state information. For another example, the Schmidt vector of the first quantum state can be obtained by performing Schmidt decomposition on the first quantum state of a copy of the input state information. The Schmidt vector of the input state information can be determined based on the Schmidt vector of the first quantum state by using the quantum state symmetry of the input state information.
[0151] Afterwards, the sum of the first H elements in the Schmidt vector of the input state information can be obtained to obtain the first target norm. In this way, the determination of the first target norm can be achieved.
[0152] In the process of determining the Schmidt vector of the input state information, due to the quantum state The dimension is large, and as n grows exponentially, the corresponding direct calculation of the quantum state The Schmidt vector complexity of the input state information is relatively high. Therefore, the quantum state symmetry of the input state information can be used to determine the Schmidt vector of the input state information based on the Schmidt vector of the first quantum state under one copy of the input state information, so as to reduce the complexity of the Schmidt vector determination process of the input state information. Optionally, the step of obtaining the Schmidt vector of the input state information includes:
[0153] Obtaining a Schmidt vector of a first quantum state of a copy of the input state information;
[0154] Based on the quantum system dimension of the input state information, the number of copies of the input state information is distributed to obtain W distribution information, where each distribution information includes a distribution result and the number of repetitions of the distribution result;
[0155] Based on the W allocation information, a polynomial combination is performed on the first element in the Schmidt vector of the first quantum state to obtain W second elements corresponding to the W allocation results and the number of repetitions of each second element, where the number of repetitions of the second element is the number of repetitions of the allocation result corresponding to the second element;
[0156] Arrange the W second elements in descending order to obtain a target vector;
[0157] The Schmidt vector of the input state information is obtained by arranging the target vector according to the number of repetitions of each second element.
[0158] Optionally, the obtaining the first target norm based on the sum dimension and the Schmidt vector of the input state information includes:
[0159] According to the order of the first numbers of the second elements in the target vector from small to large, based on the number of repetitions of the second elements, sequentially determine the second numbers of the elements corresponding to the first numbers in the Schmidt vector of the input state information, and the first sum of the third elements in the Schmidt vector of the input state information, wherein the third element includes the element corresponding to the second number and the element before the element corresponding to the second number;
[0160] When the sum dimension is smaller than the second label, outputting a first target norm of the Schmidt vector of the input state information;
[0161] Among them, the first target norm is s i *(HN)+P, N is the second index, P is the first sum, s i is the second element corresponding to the first index i in the target vector.
[0162] The specific process of efficiently calculating the Schmidt vector of the input state information and the first target norm is as follows:
[0163] Input: Schmidt vector p of the first quantum state ψ =(p1,p2,...,p d ), positive integer n≥1, m≥1;
[0164] Output:
[0165] Step 1: Based on the quantum system dimension of the input state information, the number of copies of the input state information is distributed. Specifically, consider n1+n2+...+n d =n, and the integer n i ≥0, then corresponding to n1,n2,...,n d There are a total of Each case has a number of repetitions.
[0166] Step 2: Based on the W allocation information, perform polynomial combination on the first element in the Schmidt vector of the first quantum state to calculate Different polynomials The value of , obtains W second elements corresponding to W kinds of allocation results and the number of repetitions of each second element;
[0167] Step 3: Arrange the W second elements in descending order to obtain the target vector (s1, s2, ..., s W ), and record the second element s i The corresponding number of repetitions is v i , the Schmidt vector of the input state information can be obtained by arranging the target vector according to the number of repetitions of each second element, so that the Schmidt vector of the input state information can be determined based on the Schmidt vector of the first quantum state of one copy of the input state information by utilizing the quantum state symmetry of the input state information;
[0168] Step 4: Let N=0, P=0, where N and P are intermediate variables, used to record the second number of the element corresponding to the first number in the Schmidt vector of the input state information, and the first sum of the third element in the Schmidt vector of the input state information during the cyclic process of the first number of the second element in the target vector from small to large. The second number refers to the maximum number of the element corresponding to the first number in the Schmidt vector of the input state information. For example, if the first number is 1, and the number of repetitions of the second element corresponding to the first number 1 is 10, then the element corresponding to the first number in the Schmidt vector of the input state information is the element with numbers 1 to 10, and its maximum number is 10, then the second number is 10, and the first sum is the sum of the elements with numbers 1 to 10 in the Schmidt vector of the input state information;
[0169] Step 5: For each i∈{1,2,...,W}, loop:
[0170] Step 5.1: Let N = N + v i , P=P+v i s i ;
[0171] Step 5.2: If H < N, return s i *(HN)+P as output.
[0172] This output is the first target norm.
[0173] In the above step 5, at most W loops are required, that is, W is a polynomial in n, so that the Schmidt vector and the first target norm of the input state information can be efficiently calculated.
[0174] The above algorithm needs to perform at most W loops in step 5, where W is a polynomial number with respect to n. If storage space for new polynomials is allowed, the number of loops can be reduced to a logarithmic number with respect to n by binary search. Optionally, the obtaining of the first target norm based on the sum dimension and the Schmidt vector of the input state information includes:
[0175] Determine W second numbers of elements corresponding to the W first numbers in the Schmidt vector of the input state information based on the W first numbers of the W second elements in the target vector and the number of repetitions of the second elements in the target vector;
[0176] Performing a binary search on the sum dimension, and when the search shows that the sum dimension is within a target interval, outputting a first target norm of the Schmidt vector of the input state information;
[0177] The target interval is the interval determined by two adjacent second labels corresponding to the binary values in the binary search among the W second labels, and the first target norm is s c+1 *(HN c )+P c , c is the binary value, s c+1 is the second element corresponding to the first index c+1 in the target vector, N c is the second index of the element corresponding to the first index c in the Schmidt vector of the input state information, P c It is the second sum of the fourth element in the Schmidt vector of the input state information, and the fourth element includes the element corresponding to the first label c and the element before the element corresponding to the first label c.
[0178] The specific process of using binary search to efficiently solve the Schmidt vector and the first target norm of the input state information is as follows:
[0179] Input: Schmidt vector p of the first quantum state ψ =(p1,p2,...,p d ), positive integer n≥1, m≥1;
[0180] Output:
[0181] Step 1: Based on the quantum system dimension of the input state information, the number of copies of the input state information is distributed. Specifically, consider n1+n2+...+n d =n, and the integer n i ≥0, then corresponding to n1,n2,...,n d There are a total of Each case has a number of repetitions.
[0182] Step 2: Based on the W allocation information, perform polynomial combination on the first element in the Schmidt vector of the first quantum state to calculate Different polynomials The value of , obtains W second elements corresponding to W kinds of allocation results and the number of repetitions of each second element;
[0183] Step 3: Arrange the W second elements in descending order to obtain the target vector (s1, s2, ..., s W ), and record the second element s i The corresponding number of repetitions is v i , the Schmidt vector of the input state information can be obtained by arranging the target vector according to the number of repetitions of each second element, so that the Schmidt vector of the input state information can be determined based on the Schmidt vector of the first quantum state of one copy of the input state information by utilizing the quantum state symmetry of the input state information;
[0184] Step 4: Let N0 = 0, P0 = 0, where N0 and P0 are intermediate variables, used to record the second number of the element corresponding to the first number in the Schmidt vector of the input state information, and the first sum of the third element in the Schmidt vector of the input state information during the cycle from small to large of the first number of the second element in the target vector. The second number refers to the maximum number of the element corresponding to the first number in the Schmidt vector of the input state information;
[0185] Step 5: For any j∈{1,2,...,W}, calculate and
[0186] Step 6: Set the lower bound of the binary search a = 0 and the upper bound b = W;
[0187] Step 7: Loop as follows until the output is returned:
[0188] Step 7.1: Binary value in is the floor function;
[0189] Step 7.2: If N c ≤H≤N c+1 , then return s c+1 *(HN c )+P c As output, the output is the first target norm;
[0190] Step 7.3: If H < N c , then let b=c;
[0191] Step 7.4: If H>N c+1 , then let a=c+1.
[0192] It should be noted that the second target norm can be determined in a similar manner to the first target norm. The only difference is that the input vector for determining the target norm is different. The input vector for the first target norm can be p ψ , the input of the second objective norm can be I won’t go into details here.
[0193] Optionally, determining the value of the optimal conversion rate based on the first relationship and the restriction condition includes:
[0194] When the first fidelity is less than the first target value, the value of the optimal conversion rate is determined to be 0; the first fidelity is the fidelity when the dimension of the output state information in the quantum entanglement purification is 2;
[0195] When the second fidelity is greater than or equal to the first target value, the value of the optimal conversion rate is determined to be log2d n The second fidelity is that the dimension of the output state information described in quantum entanglement purification is d n , d is the quantum system dimension of the input state information, and n is the number of copies of the input state information;
[0196] When the first fidelity is greater than or equal to the first target value and the second fidelity is less than the first target value, a binary search is performed based on the lower bound and the upper bound of the value range of the dimension of the output state information, and when the upper bound of the binary search interval is less than or equal to the fourth target value, the value of the optimal conversion rate is determined to be log2a, where a is the lower bound of the binary search interval, and the fourth target value is the lower bound of the binary search interval plus 1;
[0197] Among them, in the binary search, when the third fidelity is less than the first target value, the upper limit of the binary search interval is adjusted to the binary value in the binary search; when the third fidelity is greater than or equal to the first target value, the lower limit of the binary search interval is adjusted to the binary value in the binary search, and the third fidelity is the fidelity when the dimension of the output state information in quantum entanglement purification is the binary value in the binary search.
[0198] The specific process of efficiently calculating the optimal conversion rate is as follows:
[0199] Input: Schmidt vector p of the first quantum state ψ =(p1,p2,...,p d ), positive integer n ≥ 1, target error ε∈[0,1];
[0200] Output:
[0201] Step 1: Calculate the first target norm and the second target norm based on the Schmidt vector of the first quantum state to calculate the fidelity
[0202] Step 2: If the first fidelity Returns 0 as output; if the second fidelity Returns log2d n As output;
[0203] Step 3: If and Let the lower bound of the binary search be a = 2 and the upper bound be b = d n ;
[0204] Step 4: If the loop condition b>a+1 is met, the following loop is performed:
[0205] Step 4.1: Let the binary value
[0206] Step 4.2: If the third fidelity Let b = c; otherwise, let a = c;
[0207] Step 5: If the loop condition is not satisfied, return log2 a as output.
[0208] The output By dividing by the number of copies n of the input state information, we can get the optimal conversion rate of quantum entanglement purification. In this way, we can efficiently solve the optimal conversion rate of quantum entanglement purification.
[0209] The scheme for determining the optimal conversion rate of quantum entanglement purification of this embodiment is applicable to any given limited resource quantum entangled state and any given error threshold, which is more in line with the needs of actual application scenarios. In particular, the computational complexity involved grows polynomially with the number of copies of the initial quantum state, which is very efficient in actual use scenarios. In addition, when the error threshold is zero or the number of copies of the initial quantum state is large enough, the determination of the optimal conversion rate of quantum entanglement purification under ideal conditions can also be covered. Therefore, while ensuring efficient calculation, the use scenarios are greatly expanded and more in line with actual application needs.
[0210] The following is a specific example to illustrate the practical effect of this embodiment. Consider the initial quantum state Its Schmidt vector is p ψ =(0.7,0.3), the error threshold ε=0.01, and the number of quantum state copies n ranges from 1 to 100.
[0211] Figure 2 This is a schematic diagram of the relationship between the number of quantum state copies and the average conversion rate of quantum entanglement purification, such as Figure 2 As shown, the horizontal axis is the number of quantum state copies, and the vertical axis is the average conversion rate, that is, The horizontal line 201 represents the asymptotic value of the curve 202 as n approaches infinity, which can be given by the Shannon entropy of the p vector. The numerical result is obtained by running a common notebook with 16G memory and an Intel Core i710TH GEN processor, and the actual calculation time is about 5 minutes. In contrast, directly solving the optimal conversion rate of quantum entanglement purification based on the above formula (2) requires a calculation and storage length of 2 100 The vector of , far exceeds the computing power of existing supercomputers. Therefore, the efficient calculation method of quantum entanglement purification conversion rate has important practical value.
[0212] Second embodiment
[0213] like Figure 3 As shown, the present disclosure provides a quantum entanglement resource scheduling device 300, comprising:
[0214] A receiving module 301 is used to receive a quantum application request from a quantum network, where the quantum application request is used to schedule entangled resources to perform quantum application services;
[0215] An acquisition module 302 is used to trigger the nodes in the quantum network to acquire input state information and target error in the quantum entanglement purification scenario based on the quantum application request;
[0216] A first determination module 303 is used to determine a first relationship based on the input state information and the target error, wherein the first relationship is a maximum optimization function relationship between the optimal conversion rate of the quantum entanglement purification scenario and the dimension of the output state information under a first preset condition, wherein the first preset condition is that the fidelity between the output state information and the maximum entangled state is greater than or equal to a first target value, wherein the first target value is 1 minus the target error, and the fidelity is a measure of a trace operation performed on the output state information and the maximum entangled state;
[0217] A second determination module 304 is used to determine a value of the optimal conversion rate based on the first relationship;
[0218] The resource scheduling module 305 is used to schedule resources for the quantum application service based on the quantum application request and the value of the optimal conversion rate.
[0219] Optionally, the resource scheduling module 305 is specifically used to:
[0220] Based on the value of the optimal conversion rate, determining the entangled resources that can be purified in the quantum entanglement purification scenario of the quantum network;
[0221] In a case where the entangled resources that can be purified are greater than or equal to the entangled resources requested by the quantum application request, resource scheduling is performed on the quantum application service.
[0222] Optionally, the device further comprises:
[0223] The rejection response module is used to refuse to respond to the quantum application request when the entangled resources that can be purified are less than the entangled resources requested by the quantum application request.
[0224] Optionally, the device further comprises:
[0225] An adjustment module is used to adjust the input state information of the quantum network in the quantum entanglement purification scenario based on the value of the optimal conversion rate when the entangled resources that can be purified are less than the entangled resources requested by the quantum application request, so as to increase the entangled resources that can be purified in the quantum entanglement purification scenario.
[0226] Optionally, the quantum application service includes any of the following:
[0227] Quantum key distribution application services;
[0228] Communication application services;
[0229] Distributed quantum computing application services.
[0230] Optionally, the second determining module 304 includes:
[0231] A first conversion submodule is used to perform Schmidt decomposition on the quantum state involved in the input state information, so as to convert the relationship between the fidelity and the input state information into a second relationship and a third relationship, wherein the second relationship is the relationship between the fidelity and the first information, the first information includes a target norm of a first vector, a dimension of the output state information and a first variable, the third relationship is a minimum optimization function relationship between the first variable and the second variable, the target norm is the sum of the first H largest elements of the first vector, the first vector is a vector obtained by performing Schmidt decomposition on the quantum state involved in the input state information, H is the dimension of the output state information minus the first variable, and H is a positive integer;
[0232] A second conversion submodule, configured to convert the first preset condition into a restriction condition of the dimension of the output state information based on the second relationship and the third relationship;
[0233] A determination submodule is used to determine a value of the optimal conversion rate based on the first relationship and the restriction condition.
[0234] Optionally, the second conversion submodule includes:
[0235] a determining unit, configured to determine a value of the first variable based on the third relationship;
[0236] A conversion unit is used to convert the first preset condition into a restriction condition on the dimension of the output state information based on the second relationship and the value of the first variable.
[0237] Optionally, the determining unit is specifically configured to:
[0238] Obtaining a gradient function of the optimization function in the third relationship;
[0239] Based on the gradient function, a value of the first variable is determined.
[0240] Optionally, the lower limit of the value range of the second variable is 1, and the upper limit of the value range is the dimension of the output state information. The determining unit is specifically used to:
[0241] When the first target gradient function value is greater than or equal to zero, the value of the first variable is determined to be 1, and the first target gradient function value is: the value of the gradient function when the value of the second variable is the lower bound;
[0242] When the second target gradient function value is less than or equal to zero, the value of the first variable is determined to be the dimension of the output state information, and the second target gradient function value is: the value of the gradient function when the value of the second variable is the second target value, and the second target value is obtained based on the upper limit of the value range of the second variable minus 1;
[0243] When the first objective gradient function value is less than zero and the second objective gradient function value is greater than zero, a binary search is performed based on the lower bound of the value range of the second variable and the second objective value, and when the upper bound of the binary search interval is less than or equal to the third objective value, the value of the first variable is determined to be the upper bound of the binary search interval, and the third objective value is the lower bound of the binary search interval plus 1;
[0244] Among them, in the binary search, when the third objective gradient function value is greater than or equal to zero, the upper limit of the binary search interval is adjusted to the binary value in the binary search, and when the third objective gradient function value is less than zero, the lower limit of the binary search interval is adjusted to the binary value in the binary search, and the third objective gradient function value is: the value of the gradient function when the value of the second variable is the binary value in the binary search.
[0245] Optionally, the conversion unit is specifically used to:
[0246] Based on the value of the first variable, obtaining a target norm of the first vector;
[0247] Based on the target norm of the first vector, converting the second relationship into a relationship between the fidelity and the dimension of the output state information;
[0248] Based on the relationship between the fidelity and the dimension of the output state information, the first preset condition is converted into a restriction condition of the dimension of the output state information.
[0249] Optionally, the first vector includes a Schmidt vector of the input state information, the target norm includes a first target norm of the Schmidt vector of the input state information, and the conversion unit is specifically configured to:
[0250] Based on the value of the first variable, obtaining the sum dimension of the first target norm;
[0251] Obtaining a Schmidt vector of the input state information;
[0252] The first target norm is obtained based on the sum dimension and the Schmidt vector of the input state information.
[0253] Optionally, the conversion unit is specifically used to:
[0254] Obtaining a Schmidt vector of a first quantum state of a copy of the input state information;
[0255] Based on the quantum system dimension of the input state information, the number of copies of the input state information is distributed to obtain W distribution information, where each distribution information includes a distribution result and the number of repetitions of the distribution result;
[0256] Based on the W allocation information, a polynomial combination is performed on the first element in the Schmidt vector of the first quantum state to obtain W second elements corresponding to the W allocation results and the number of repetitions of each second element, where the number of repetitions of the second element is the number of repetitions of the allocation result corresponding to the second element;
[0257] Arrange the W second elements in descending order to obtain a target vector;
[0258] The Schmidt vector of the input state information is obtained by arranging the target vector according to the number of repetitions of each second element.
[0259] Optionally, the conversion unit is specifically used to:
[0260] According to the order of the first numbers of the second elements in the target vector from small to large, based on the number of repetitions of the second elements, sequentially determine the second numbers of the elements corresponding to the first numbers in the Schmidt vector of the input state information, and the first sum of the third elements in the Schmidt vector of the input state information, wherein the third element includes the element corresponding to the second number and the element before the element corresponding to the second number;
[0261] When the sum dimension is smaller than the second label, outputting a first target norm of the Schmidt vector of the input state information;
[0262] Among them, the first target norm is s i *(HN)+P, N is the second index, P is the first sum, s i is the second element corresponding to the first index i in the target vector.
[0263] Optionally, the conversion unit is specifically used to:
[0264] Determine W second numbers of elements corresponding to the W first numbers in the Schmidt vector of the input state information based on the W first numbers of the W second elements in the target vector and the number of repetitions of the second elements in the target vector;
[0265] Performing a binary search on the sum dimension, and when the search shows that the sum dimension is within a target interval, outputting a first target norm of the Schmidt vector of the input state information;
[0266] The target interval is the interval determined by two adjacent second labels corresponding to the binary values in the binary search among the W second labels, and the first target norm is s c+1 *(HN c )+P c , c is the binary value, s c+1 is the second element corresponding to the first index c+1 in the target vector, N c is the second index of the element corresponding to the first index c in the Schmidt vector of the input state information, P c It is the second sum of the fourth element in the Schmidt vector of the input state information, and the fourth element includes the element corresponding to the first label c and the element before the element corresponding to the first label c.
[0267] Optionally, the determining submodule is specifically used for:
[0268] When the first fidelity is less than the first target value, the value of the optimal conversion rate is determined to be 0; the first fidelity is the fidelity when the dimension of the output state information in the quantum entanglement purification is 2;
[0269] When the second fidelity is greater than or equal to the first target value, the value of the optimal conversion rate is determined to be (log2d n ) / n, the second fidelity is the dimension of the output state information described in quantum entanglement purification is d n , d is the quantum system dimension of the input state information, and n is the number of copies of the input state information;
[0270] When the first fidelity is greater than or equal to the first target value and the second fidelity is less than the first target value, a binary search is performed based on the lower bound and the upper bound of the value range of the dimension of the output state information, and when the upper bound of the binary search interval is less than or equal to the fourth target value, the value of the optimal conversion rate is determined to be (log2a) / n, where a is the lower bound of the binary search interval, and the fourth target value is the lower bound of the binary search interval plus 1;
[0271] Among them, in the binary search, when the third fidelity is less than the first target value, the upper limit of the binary search interval is adjusted to the binary value in the binary search; when the third fidelity is greater than or equal to the first target value, the lower limit of the binary search interval is adjusted to the binary value in the binary search, and the third fidelity is the fidelity when the dimension of the output state information in quantum entanglement purification is the binary value in the binary search.
[0272] The quantum entanglement resource scheduling device 300 provided in the present disclosure can implement each process implemented by the quantum entanglement resource scheduling method embodiment, and can achieve the same beneficial effects. To avoid repetition, it will not be described here.
[0273] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0274] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0275] Figure 4 A schematic block diagram of an example electronic device that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0276] like Figure 4 As shown, the device 400 includes a computing unit 401, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 402 or a computer program loaded from a storage unit 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the device 400 can also be stored. The computing unit 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0277] A number of components in the device 400 are connected to the I / O interface 405, including: an input unit 406, such as a keyboard, a mouse, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a disk, an optical disk, etc.; and a communication unit 409, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0278] The computing unit 401 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 401 performs the various methods and processes described above, such as the quantum entanglement resource scheduling method. For example, in some embodiments, the quantum entanglement resource scheduling method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 400 via ROM 402 and / or communication unit 409. When the computer program is loaded into RAM 403 and executed by the computing unit 401, one or more steps of the quantum entanglement resource scheduling method described above may be performed. Alternatively, in other embodiments, the computing unit 401 may be configured to perform the quantum entanglement resource scheduling method in any other appropriate manner (e.g., by means of firmware).
[0279] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0280] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0281] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0282] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0283] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0284] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0285] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0286] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A quantum entanglement resource scheduling method, include: Receiving a quantum application request from a quantum network, wherein the quantum application request is used to schedule entangled resources to perform quantum application services; Based on the quantum application request, triggering nodes in the quantum network to obtain input state information and target error in a quantum entanglement purification scenario; Based on the input state information and the target error, determining a first relationship, the first relationship being a maximum optimization function relationship between the optimal conversion rate of the quantum entanglement purification scenario and the dimension of the output state information under a first preset condition, the first preset condition being that the fidelity between the output state information and the maximum entangled state is greater than or equal to a first target value, the first target value being 1 minus the target error, and the fidelity being a measure of a trace operation performed on the output state information and the maximum entangled state; Performing Schmidt decomposition on the quantum state involved in the input state information to convert the relationship between the fidelity and the input state information into a second relationship and a third relationship, wherein the second relationship is the relationship between the fidelity and the first information, the first information includes a target norm of a first vector, the dimension of the output state information and a first variable, the third relationship is a minimum optimization function relationship between the first variable and the second variable, the target norm is the sum of the first H largest elements of the first vector, the first vector is a vector obtained by performing Schmidt decomposition on the quantum state involved in the input state information, H is the dimension of the output state information minus the first variable, and H is a positive integer; Based on the second relationship and the third relationship, converting the first preset condition into a restriction condition of the dimension of the output state information; Based on the first relationship and the restriction condition, determining a value of the optimal conversion rate; Based on the quantum application request and the value of the optimal conversion rate, resources are scheduled for the quantum application service.
2. The method according to claim 1, in, The performing resource scheduling for the quantum application service based on the quantum application request and the value of the optimal conversion rate includes: Based on the value of the optimal conversion rate, determining the entangled resources that can be purified in the quantum entanglement purification scenario of the quantum network; In a case where the entangled resources that can be purified are greater than or equal to the entangled resources requested by the quantum application request, resource scheduling is performed on the quantum application service.
3. The method according to claim 2, further comprising: include: In a case where the entangled resources that can be purified are less than the entangled resources requested by the quantum application request, the quantum application request is refused to be responded to.
4. The method according to claim 2, further comprising: include: When the entangled resources that can be purified are less than the entangled resources requested by the quantum application request, based on the value of the optimal conversion rate, the input state information of the quantum network in the quantum entanglement purification scenario is adjusted to increase the entangled resources that can be purified in the quantum entanglement purification scenario.
5. The method according to claim 1, in, The quantum application service includes any of the following: Quantum key distribution application services; Communication application services; Distributed quantum computing application services.
6. The method according to claim 1, in, The converting the first preset condition into a restriction condition of the dimension of the output state information based on the second relationship and the third relationship includes: Based on the third relationship, determining a value of the first variable; Based on the second relationship and the value of the first variable, the first preset condition is converted into a restriction condition on the dimension of the output state information.
7. The method according to claim 6, in, The determining the value of the first variable based on the third relationship includes: Obtaining a gradient function of the optimization function in the third relationship; Based on the gradient function, a value of the first variable is determined.
8. The method according to claim 7, in, The lower limit of the value range of the second variable is 1, and the upper limit of the value range is the dimension of the output state information. The determining the value of the first variable based on the gradient function includes: When the first target gradient function value is greater than or equal to zero, the value of the first variable is determined to be 1, and the first target gradient function value is: the value of the gradient function when the value of the second variable is the lower bound; When the second target gradient function value is less than or equal to zero, the value of the first variable is determined to be the dimension of the output state information, and the second target gradient function value is: the value of the gradient function when the value of the second variable is the second target value, and the second target value is obtained based on the upper limit of the value range of the second variable minus 1; When the first objective gradient function value is less than zero and the second objective gradient function value is greater than zero, a binary search is performed based on the lower bound of the value range of the second variable and the second objective value, and when the upper bound of the binary search interval is less than or equal to the third objective value, the value of the first variable is determined to be the upper bound of the binary search interval, and the third objective value is the lower bound of the binary search interval plus 1; Among them, in the binary search, when the third objective gradient function value is greater than or equal to zero, the upper limit of the binary search interval is adjusted to the binary value in the binary search, and when the third objective gradient function value is less than zero, the lower limit of the binary search interval is adjusted to the binary value in the binary search, and the third objective gradient function value is: the value of the gradient function when the value of the second variable is the binary value in the binary search.
9. The method according to claim 6, in, The converting the first preset condition into a restriction condition of the dimension of the output state information based on the second relationship and the value of the first variable includes: Based on the value of the first variable, obtaining a target norm of the first vector; Based on the target norm of the first vector, converting the second relationship into a relationship between the fidelity and the dimension of the output state information; Based on the relationship between the fidelity and the dimension of the output state information, the first preset condition is converted into a restriction condition of the dimension of the output state information.
10. The method according to claim 9, in, The first vector includes a Schmidt vector of the input state information, the target norm includes a first target norm of the Schmidt vector of the input state information, and acquiring the target norm of the first vector based on the value of the first variable includes: Based on the value of the first variable, obtaining the sum dimension of the first target norm; Obtaining the Schmidt vector of the input state information; The first target norm is obtained based on the sum dimension and the Schmidt vector of the input state information.
11. The method according to claim 10, in, The obtaining of the Schmidt vector of the input state information comprises: Obtaining a Schmidt vector of a first quantum state of a copy of the input state information; Based on the quantum system dimension of the input state information, the number of copies of the input state information is distributed to obtain W distribution information, where each distribution information includes a distribution result and the number of repetitions of the distribution result; Based on the W allocation information, a polynomial combination is performed on the first element in the Schmidt vector of the first quantum state to obtain W second elements corresponding to the W allocation results and the number of repetitions of each second element, where the number of repetitions of the second element is the number of repetitions of the allocation result corresponding to the second element; Arrange the W second elements in descending order to obtain a target vector; The Schmidt vector of the input state information is obtained by arranging the target vector according to the number of repetitions of each second element.
12. The method according to claim 11, in, The obtaining the first target norm based on the sum dimension and the Schmidt vector of the input state information includes: According to the order of the first numbers of the second elements in the target vector from small to large, based on the number of repetitions of the second elements, sequentially determine the second numbers of the elements corresponding to the first numbers in the Schmidt vector of the input state information, and the first sum of the third elements in the Schmidt vector of the input state information, wherein the third element includes the element corresponding to the second number and the element before the element corresponding to the second number; When the sum dimension is smaller than the second label, outputting a first target norm of the Schmidt vector of the input state information; Among them, the first target norm is s i *(HN)+P, N is the second index, P is the first sum, s i is the second element corresponding to the first index i in the target vector.
13. The method according to claim 11, in, The obtaining the first target norm based on the sum dimension and the Schmidt vector of the input state information includes: Determine W second numbers of elements corresponding to the W first numbers in the Schmidt vector of the input state information based on the W first numbers of the W second elements in the target vector and the number of repetitions of the second elements in the target vector; Performing a binary search on the sum dimension, and when the search shows that the sum dimension is within a target interval, outputting a first target norm of the Schmidt vector of the input state information; The target interval is the interval determined by two adjacent second labels corresponding to the binary values in the binary search among the W second labels, and the first target norm is s c+1 *(HN c )+P c , c is the binary value, s c+1 is the second element corresponding to the first index c+1 in the target vector, N c is the second index of the element corresponding to the first index c in the Schmidt vector of the input state information, P c It is the second sum of the fourth element in the Schmidt vector of the input state information, and the fourth element includes the element corresponding to the first label c and the element before the element corresponding to the first label c.
14. The method according to claim 1, in, The determining the value of the optimal conversion rate based on the first relationship and the restriction condition includes: When the first fidelity is less than the first target value, the value of the optimal conversion rate is determined to be 0; the first fidelity is the fidelity when the dimension of the output state information in the quantum entanglement purification is 2; When the second fidelity is greater than or equal to the first target value, the value of the optimal conversion rate is determined to be (log 2 d n ) / n, the second fidelity is the dimension of the output state information described in quantum entanglement purification is d n , d is the quantum system dimension of the input state information, and n is the number of copies of the input state information; When the first fidelity is greater than or equal to the first target value and the second fidelity is less than the first target value, a binary search is performed based on the lower and upper bounds of the value range of the dimension of the output state information, and when the upper bound of the binary search interval is less than or equal to the fourth target value, the value of the optimal conversion rate is determined to be (log 2 a) / n, a is the lower bound of the binary search interval, and the fourth target value is the lower bound of the binary search interval plus 1; Among them, in the binary search, when the third fidelity is less than the first target value, the upper limit of the binary search interval is adjusted to the binary value in the binary search; when the third fidelity is greater than or equal to the first target value, the lower limit of the binary search interval is adjusted to the binary value in the binary search, and the third fidelity is the fidelity when the dimension of the output state information in quantum entanglement purification is the binary value in the binary search.
15. A quantum entanglement resource scheduling device, include: A receiving module, used to receive a quantum application request from a quantum network, wherein the quantum application request is used to schedule entangled resources to perform quantum application services; An acquisition module, configured to trigger nodes in the quantum network to acquire input state information and target error in a quantum entanglement purification scenario based on the quantum application request; A first determination module is used to determine a first relationship based on the input state information and the target error, wherein the first relationship is a maximum optimization function relationship between the optimal conversion rate of the quantum entanglement purification scenario and the dimension of the output state information under a first preset condition, wherein the first preset condition is that the fidelity between the output state information and the maximum entangled state is greater than or equal to a first target value, wherein the first target value is 1 minus the target error, and the fidelity is a measure of a trace operation performed on the output state information and the maximum entangled state; A first conversion submodule is used to perform Schmidt decomposition on the quantum state involved in the input state information, so as to convert the relationship between the fidelity and the input state information into a second relationship and a third relationship, wherein the second relationship is the relationship between the fidelity and the first information, the first information includes a target norm of a first vector, a dimension of the output state information and a first variable, the third relationship is a minimum optimization function relationship between the first variable and the second variable, the target norm is the sum of the first H largest elements of the first vector, the first vector is a vector obtained by performing Schmidt decomposition on the quantum state involved in the input state information, H is the dimension of the output state information minus the first variable, and H is a positive integer; A second conversion submodule, configured to convert the first preset condition into a restriction condition of the dimension of the output state information based on the second relationship and the third relationship; A determination submodule, configured to determine a value of the optimal conversion rate based on the first relationship and the restriction condition; A resource scheduling module is used to schedule resources for the quantum application service based on the quantum application request and the value of the optimal conversion rate.
16. The device according to claim 15, in, The resource scheduling module is specifically used for: Based on the value of the optimal conversion rate, determining the entangled resources that can be purified in the quantum entanglement purification scenario of the quantum network; In a case where the entangled resources that can be purified are greater than or equal to the entangled resources requested by the quantum application request, resource scheduling is performed on the quantum application service.
17. The device according to claim 16, further comprising: include: The rejection response module is used to refuse to respond to the quantum application request when the entangled resources that can be purified are less than the entangled resources requested by the quantum application request.
18. The device according to claim 16, further comprising: include: An adjustment module is used to adjust the input state information of the quantum network in the quantum entanglement purification scenario based on the value of the optimal conversion rate when the entangled resources that can be purified are less than the entangled resources requested by the quantum application request, so as to increase the entangled resources that can be purified in the quantum entanglement purification scenario.
19. The device according to claim 15, in, The quantum application service includes any of the following: Quantum key distribution application services; Communication application services; Distributed quantum computing application services.
20. The device according to claim 15, in, The second conversion submodule includes: a determining unit, configured to determine a value of the first variable based on the third relationship; A conversion unit is used to convert the first preset condition into a restriction condition on the dimension of the output state information based on the second relationship and the value of the first variable.
21. The device according to claim 20, in, The determining unit is specifically configured to: Obtaining a gradient function of the optimization function in the third relationship; Based on the gradient function, a value of the first variable is determined.
22. The device according to claim 21, in, The lower limit of the value range of the second variable is 1, and the upper limit of the value range is the dimension of the output state information. The determining unit is specifically used to: When the first target gradient function value is greater than or equal to zero, the value of the first variable is determined to be 1, and the first target gradient function value is: the value of the gradient function when the value of the second variable is the lower bound; When the second target gradient function value is less than or equal to zero, the value of the first variable is determined to be the dimension of the output state information, and the second target gradient function value is: the value of the gradient function when the value of the second variable is the second target value, and the second target value is obtained based on the upper limit of the value range of the second variable minus 1; When the first objective gradient function value is less than zero and the second objective gradient function value is greater than zero, a binary search is performed based on the lower bound of the value range of the second variable and the second objective value, and when the upper bound of the binary search interval is less than or equal to the third objective value, the value of the first variable is determined to be the upper bound of the binary search interval, and the third objective value is the lower bound of the binary search interval plus 1; Among them, in the binary search, when the third objective gradient function value is greater than or equal to zero, the upper limit of the binary search interval is adjusted to the binary value in the binary search, and when the third objective gradient function value is less than zero, the lower limit of the binary search interval is adjusted to the binary value in the binary search, and the third objective gradient function value is: the value of the gradient function when the value of the second variable is the binary value in the binary search.
23. The device according to claim 20, in, The conversion unit is specifically used for: Based on the value of the first variable, obtaining a target norm of the first vector; Based on the target norm of the first vector, converting the second relationship into a relationship between the fidelity and the dimension of the output state information; Based on the relationship between the fidelity and the dimension of the output state information, the first preset condition is converted into a restriction condition of the dimension of the output state information.
24. The device according to claim 23, in, The first vector includes a Schmidt vector of the input state information, the target norm includes a first target norm of the Schmidt vector of the input state information, and the conversion unit is specifically configured to: Based on the value of the first variable, obtaining the sum dimension of the first target norm; Obtaining the Schmidt vector of the input state information; The first target norm is obtained based on the sum dimension and the Schmidt vector of the input state information.
25. The device according to claim 24, in, The conversion unit is specifically used for: Obtaining a Schmidt vector of a first quantum state of a copy of the input state information; Based on the quantum system dimension of the input state information, the number of copies of the input state information is distributed to obtain W distribution information, where each distribution information includes a distribution result and the number of repetitions of the distribution result; Based on the W allocation information, a polynomial combination is performed on the first element in the Schmidt vector of the first quantum state to obtain W second elements corresponding to the W allocation results and the number of repetitions of each second element, where the number of repetitions of the second element is the number of repetitions of the allocation result corresponding to the second element; Arrange the W second elements in descending order to obtain a target vector; The Schmidt vector of the input state information is obtained by arranging the target vector according to the number of repetitions of each second element.
26. The device according to claim 25, in, The conversion unit is specifically used for: According to the order of the first numbers of the second elements in the target vector from small to large, based on the number of repetitions of the second elements, sequentially determine the second numbers of the elements corresponding to the first numbers in the Schmidt vector of the input state information, and the first sum of the third elements in the Schmidt vector of the input state information, wherein the third element includes the element corresponding to the second number and the element before the element corresponding to the second number; When the sum dimension is smaller than the second label, outputting a first target norm of the Schmidt vector of the input state information; Among them, the first target norm is s i *(HN)+P, N is the second index, P is the first sum, s i is the second element corresponding to the first index i in the target vector.
27. The device according to claim 25, in, The conversion unit is specifically used for: Determine W second numbers of elements corresponding to the W first numbers in the Schmidt vector of the input state information based on the W first numbers of the W second elements in the target vector and the number of repetitions of the second elements in the target vector; Performing a binary search on the sum dimension, and when the search shows that the sum dimension is within a target interval, outputting a first target norm of the Schmidt vector of the input state information; The target interval is the interval determined by two adjacent second labels corresponding to the binary values in the binary search among the W second labels, and the first target norm is s c+1 *(HN c )+P c , c is the binary value, s c+1 is the second element corresponding to the first index c+1 in the target vector, N c is the second index of the element corresponding to the first index c in the Schmidt vector of the input state information, P c It is the second sum of the fourth element in the Schmidt vector of the input state information, and the fourth element includes the element corresponding to the first label c and the element before the element corresponding to the first label c.
28. The device according to claim 15, in, The determination submodule is specifically used for: When the first fidelity is less than the first target value, the value of the optimal conversion rate is determined to be 0; the first fidelity is the fidelity when the dimension of the output state information in the quantum entanglement purification is 2; When the second fidelity is greater than or equal to the first target value, the value of the optimal conversion rate is determined to be (log 2 d n ) / n, the second fidelity is the dimension of the output state information described in quantum entanglement purification is d n , d is the quantum system dimension of the input state information, and n is the number of copies of the input state information; When the first fidelity is greater than or equal to the first target value and the second fidelity is less than the first target value, a binary search is performed based on the lower and upper bounds of the value range of the dimension of the output state information, and when the upper bound of the binary search interval is less than or equal to the fourth target value, the value of the optimal conversion rate is determined to be (log 2 a) / n, a is the lower bound of the binary search interval, and the fourth target value is the lower bound of the binary search interval plus 1; Among them, in the binary search, when the third fidelity is less than the first target value, the upper limit of the binary search interval is adjusted to the binary value in the binary search; when the third fidelity is greater than or equal to the first target value, the lower limit of the binary search interval is adjusted to the binary value in the binary search, and the third fidelity is the fidelity when the dimension of the output state information in quantum entanglement purification is the binary value in the binary search.
29. An electronic device, include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 14.
30. A non-transitory computer-readable storage medium storing computer instructions, in, The computer instructions are used to cause the computer to execute the method according to any one of claims 1-14.
31. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 14.
