Quantum entanglement resource scheduling method, device and electronic equipment

By receiving quantum application requests and obtaining information in quantum entanglement purification scenarios, determining the optimal conversion rate and optimizing the quantum entanglement purification process, the problem of poor flexibility in quantum network resource scheduling is solved and the flexibility and accuracy of resource scheduling are improved.

CN117236450BActive Publication Date: 2024-08-30BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202311196888.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-15
Publication Date
2024-08-30
Estimated Expiration
2043-09-15

AI Technical Summary

Technical Problem

The resource scheduling flexibility of quantum networks in quantum application services is poor, resulting in low resource allocation efficiency and difficulty in meeting the entangled state requirements of different applications.

Method used

By receiving quantum application requests, the input state information and target error in the quantum entanglement purification scenario are obtained, the optimal conversion rate is determined, and the quantum entanglement purification process is optimized to improve the flexibility and accuracy of resource scheduling.

Benefits of technology

It improves the resource scheduling flexibility and accuracy of quantum network for quantum application services, optimizes the conversion efficiency in the entanglement purification process, and meets the entangled state requirements of different applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117236450B
    Figure CN117236450B
Patent Text Reader

Abstract

The present disclosure provides a quantum entanglement resource scheduling method, device and electronic device, which relates to the field of quantum computing technology, and specifically to the field of quantum entanglement technology. The specific implementation scheme is: receiving a quantum application request from a quantum network; based on the quantum application request, triggering a node 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 is the 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 is that the conversion error from the input state information to the maximum entangled state is less than or equal to the target error, and the conversion error is measured based on the distance between the Schmidt vectors of the quantum state in the quantum entanglement purification scenario; based on the first relationship, determining the value of the optimal conversion rate; based on the quantum application request and the value of the optimal conversion rate, performing resource scheduling for quantum application services.
Need to check novelty before this filing date? Find Prior Art

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 an optimal conversion rate of the quantum entanglement purification scenario and a dimension of the output state information under a first preset condition, the first preset condition being that a conversion error from the input state information to a maximum entangled state is less than or equal to the target error, and the conversion error is measured based on a distance between Schmidt vectors of quantum states in the quantum entanglement purification scenario;

[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 conversion error from the input state information to the maximum entangled state is less than or equal to the target error, and the conversion error is measured based on the distance between the Schmidt vectors of the quantum state in the quantum entanglement purification scenario;

[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 conversion error from the input state information to the maximum entangled state is less than or equal to the target error, and the conversion error is measured based on the distance between the Schmidt vectors of the quantum state in the quantum entanglement purification scenario.

[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. The above conversion error can be understood as limiting the quantum state after conversion to a pure state (i.e., the maximum entangled state) under ideal conditions, and the error between it and the output state information obtained by quantum entanglement purification is less than or equal to the target error.

[0070] Under the above definition of conversion error, the optimal conversion rate of quantum entanglement purification is expressed as shown in the following formula (1).

[0071]

[0072] The above formula (1) is the first relationship determined. is the first preset condition, ε is the target error, is the conversion error, 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 Calculated, n is the number of copies of the input state information, m ≥ 2, and m is a positive integer, is the maximum entangled state between quantum systems A and B, which is equivalent to log2m Bell state, that is, m is the dimension of the output state information purified by quantum entanglement.

[0073] The conversion error can be measured by the distance between the Schmidt vectors of the quantum state in the quantum entanglement purification scenario. Optionally, the conversion error is measured based on the trace norm of the Schmidt vector of the quantum state in the quantum entanglement purification scenario, which can be the 1-norm of the Schmidt vector of the quantum state in the quantum entanglement purification scenario, and the multiple can be any multiple, such as the conversion error can be 1 / 2 of the 1-norm of the Schmidt vector of the quantum state in the quantum entanglement purification scenario.

[0074] Optionally, the conversion error is expressed as:

[0075] Where T(|β>→|λ>) is the conversion error, |λ> is the maximum entangled state, |β> is the input state information in the quantum entanglement purification scenario, and p λ is the Schmidt vector of the maximum entangled state, p β is the Schmidt vector of the input state information in the quantum entanglement purification scenario, r is the Schmidt vector of the output state information in the quantum entanglement purification scenario, Prob(d) represents the set of all probability distribution vectors of dimension d, and d is the quantum system dimension of the input state information.

[0076] Right now It can be 1 / 2 of the 1-norm of the Schmidt vector of the quantum state in the quantum entanglement purification scenario. The conversion error can be expressed as shown in the following formula (2).

[0077]

[0078] ||x||1 is the 1-norm of vector x, and λ is |φ m > can be the maximum entangled state between quantum systems A and B, β is The input state information in the quantum entanglement purification scenario can be the quantum state of quantum systems A and B.

[0079] It should be noted that 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 .

[0080] For any vector p, let ||p|| (K) is the sum of the first K largest elements of vector p, that is, For any two vectors of length d, let r>p β It means that for any K∈{1,2,...,d}, the sum of the first K largest elements of vector r is greater than or equal to vector p β The sum of the first K largest elements of . Where r>p β is the condition that needs to be satisfied by the optimization function in equation (2), and For optimization function.

[0081] Step S104: Based on the first relationship, determine the value of the optimal conversion rate.

[0082] 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.

[0083] 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.

[0084] 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.

[0085] 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.

[0086] 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.

[0087] 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.

[0088] 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.

[0089] Moreover, the conversion error of the input state information to the maximum entangled state is measured based on the distance between the Schmidt vectors of the quantum state in the quantum entanglement purification scenario, 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 of quantum entanglement purification and the target error, 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.

[0090] Optionally, the step S105 specifically includes:

[0091] 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;

[0092] 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.

[0093] 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.

[0094] 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.

[0095] In this way, resource scheduling for quantum application services can be achieved based on the value of the optimal conversion rate.

[0096] Optionally, the method further includes:

[0097] 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.

[0098] 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.

[0099] Optionally, the method further includes:

[0100] 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.

[0101] 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.

[0102] 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.

[0103] Optionally, the step S104 specifically includes:

[0104] Perform Schmidt decomposition on the input state information to convert the first relationship into a second relationship and a third relationship, the second relationship being a minimum optimization function relationship between the optimal conversion rate and the first information, the first information comprising a first target norm, a target error and a first variable of a first Schmidt vector of the input state information, the first target norm being the sum of the first K largest elements of the first Schmidt vector, the third relationship being a minimum optimization function relationship between a lower bound in a target value range of the first variable and a second variable under a second preset condition, the second preset condition being that a second target norm of the first Schmidt vector is greater than the target error, and the second target norm being the sum of the first Y largest elements of the first Schmidt vector; K is the first variable, K is a positive integer, and Y is the second variable, Y is a positive integer.

[0105] Determining a target value range of the first variable based on the third relationship and the second information, wherein the second information is the number of copies of the input state information and the dimension of the quantum system;

[0106] Based on the second relationship and the target value range of the first variable, a value of the optimal conversion rate is determined.

[0107] In this implementation, the input state information in the above formula (1) can be Schmidt decomposed to convert the first relationship into the second relationship and the third relationship, that is, the above formula (1) is converted into the second relationship and the third relationship. The second relationship can be expressed by the following formula (3), and the third relationship can be expressed by the following formula (4).

[0108]

[0109]

[0110] Among them, in the above formulas (3) and (4), is the lower value function, that is, the largest integer not greater than x, is the first Schmidt vector of the input state information The first target norm of , l is the lower bound of the target value range of the first variable, is the second precondition, is the first Schmidt vector of the input state information The second objective norm of .

[0111] From the above formulas (3) and (4), it can be seen that in order to calculate You can calculate first and And the minimum optimization function in the third relationship is solved under the second preset condition to obtain the target value range of the first variable.

[0112] Optionally, determining a target value range of the first variable based on the third relationship and the second information includes:

[0113] Based on the third relationship, determining a lower limit value of the target value range;

[0114] Based on the second information, an upper limit value of the target value range is determined.

[0115] That is, the minimum optimization function in the third relationship is solved under the second preset condition to obtain the lower limit value in the target value range of the first variable, and through d n The upper limit of the target value range is calculated, so that the target value range of the first variable can be obtained.

[0116] Furthermore, calculation based on The purpose of solving the second relationship is to make the value of the optimization function in the second relationship at a minimum value within the target value range of the first variable, and this minimum value corresponds to the value of the optimal conversion rate of the quantum entanglement purification.

[0117] In this way, by converting the first relationship into the second relationship and the third relationship to determine the optimal conversion rate, the complexity of solving the optimal conversion rate can be reduced.

[0118] Optionally, determining a lower limit value of the target value range based on the third relationship includes:

[0119] Obtaining the first Schmidt vector;

[0120] Obtaining the second target norm of the first Schmidt vector in order of the second variable from small to large; when the second target norm is greater than the target error, outputting the value of the second variable;

[0121] The value of the second variable is the lower limit of the target value range.

[0122] There are many ways to obtain the first Schmidt vector. For example, the first Schmidt vector can be obtained by performing Schmidt decomposition on the input state information. For another example, the second Schmidt vector of the quantum state can be obtained by performing Schmidt decomposition on a copy of the input state information. The first Schmidt vector can be determined based on the second Schmidt vector by using the symmetry between the quantum state of the input state information and the Schmidt vector of the input state information.

[0123] When the first Schmidt vector is obtained, the second target norm of the first Schmidt vector is obtained in order of the second variable from small to large; and when the second target norm is obtained, it is determined whether the second target norm is greater than the target error, that is, whether the second preset condition is met. If so, the value of the second variable is output, which is the lower limit of the target value range of the first variable.

[0124] In this way, the optimization function in the third relationship can be solved to obtain the target value range of the first variable, so as to further solve the optimization function in the second relationship and obtain the value of the optimal conversion rate of quantum entanglement purification.

[0125] In the process of determining the first Schmidt vector, due to the quantum state The dimension is large, and as n grows exponentially, the corresponding direct calculation of the quantum state The complexity of the first Schmidt vector is relatively high. Therefore, the quantum state symmetry of the input state information can be used to determine the first Schmidt vector based on the second Schmidt vector of the quantum state of a copy of the input state information to reduce the complexity of the first Schmidt vector determination process. Optionally, the step of obtaining the first Schmidt vector includes:

[0126] Obtaining a second Schmidt vector of a quantum state of a copy of the input state information;

[0127] 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;

[0128] Based on the W allocation information, a polynomial combination is performed on the first element in the second Schmidt vector 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;

[0129] Arrange the W second elements in descending order to obtain a target vector;

[0130] The first Schmidt vector is obtained by arranging the target vector according to the number of repetitions of each second element.

[0131] Optionally, the acquiring the second target norm of the first Schmidt vector in order of the second variable from small to large; and outputting the value of the second variable when the second target norm is greater than the target error, includes:

[0132] 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, the second numbers of the elements corresponding to the first numbers in the first Schmidt vector and the first sum of the third elements in the first Schmidt vector are determined in sequence, where the third element includes the element corresponding to the second number and the element before the element corresponding to the second number;

[0133] When the first sum is greater than the target error, outputting the value of the second variable;

[0134] The value of the second variable is 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, and ε is the target error.

[0135] The specific process of efficiently calculating the first Schmidt vector and efficiently solving the lower limit of the target value range of the first variable is as follows:

[0136] Input: The second Schmidt vector p ψ =(p1,p2,...,p d ), positive integer n ≥ 1, target error ε∈[0,1];

[0137] Output:

[0138] 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.

[0139] Step 2: Based on the W allocation information, perform polynomial combination on the first element in the second Schmidt vector 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;

[0140] 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 first Schmidt vector can be obtained by arranging the target vector according to the number of repetitions of each second element, so that the first Schmidt vector can be determined based on the second Schmidt vector of the quantum state of one copy of the input state information by utilizing the quantum state symmetry of the input state information;

[0141] Step 4: Let N=0, P=0, where N and P are intermediate variables, used to record the second index of the element corresponding to the first index in the first Schmidt vector, and the first sum of the third element in the first Schmidt vector during the cyclic process of the first index of the second element in the target vector from small to large. The second index refers to the maximum index of the element corresponding to the first index in the first Schmidt vector. For example, if the first index is 1, and the number of repetitions of the second element corresponding to the first index 1 is 10, then the element corresponding to the first index in the first Schmidt vector is the element with indexes 1 to 10, and its maximum index is 10, then the second index is 10, and the first sum is the sum of the elements with indexes 1 to 10 in the first Schmidt vector;

[0142] Step 5: For each i∈{1,2,...,W}, loop:

[0143] Step 5.1: Let N = N + v i , P=P+v i s i ;

[0144] Step 5.2: If ε<P, return as output.

[0145] The output is the value of the second variable Y, and the optimization function value under this value in the third relationship is at the minimum value.

[0146] In the above step 5, at most W loops are required, that is, W is a polynomial in n, so that the minimum optimization function in the third relationship can be efficiently solved under the second preset condition to obtain the lower limit value of the target value range of the first variable.

[0147] Optionally, determining the value of the optimal conversion rate based on the second relationship and the target value range of the first variable includes:

[0148] When the lower bound of the target value range of the first variable is equal to the upper bound, the value of the first variable under the minimum optimization function value in the second relationship is determined to be the upper bound of the target value range to obtain the value of the optimal conversion rate.

[0149] The optimization function in the second relationship can be shown as follows (5).

[0150]

[0151] When the target value range of the first variable is only one value, its value is the value of the first variable when the optimization function is at the minimum optimization function value, and the value of the optimal conversion rate is (log2f(d n )) / n, that is, the value of the output optimal conversion rate is

[0152] In this way, the determination of the value for achieving the optimal conversion rate can be achieved efficiently.

[0153] Optionally, determining the value of the optimal conversion rate based on the second relationship and the target value range of the first variable includes:

[0154] When the lower bound of the target value range of the first variable is not equal to the upper bound, obtaining a first target norm of the first Schmidt vector, and obtaining a gradient function of the optimization function in the second relationship, where the gradient function is a function of the first information;

[0155] Based on the target value range of the gradient function and the first variable, the value of the first variable of the optimization function at the minimum optimization function value is determined to obtain the value of the optimal conversion rate.

[0156] The gradient function of the optimization function can be shown as follows (6).

[0157]

[0158] It can be seen from the above formula (6) that it is related to the first target norm, and the gradient function can be obtained by calculating the first target norm.

[0159] Afterwards, based on the gradient function, the extreme value point of the optimization function within the target value range of the first variable can be solved, that is, the variable value when the gradient function value is zero can be determined. The extreme value point is the value of the first variable of the optimization function under the minimum optimization function value, and the value of the optimal conversion rate can be obtained. In this way, the determination of the optimal conversion rate of quantum entanglement purification can be achieved.

[0160] The first target norm can be directly obtained based on the first Schmidt vector of the input state information, or can be obtained based on the second Schmidt vector of the quantum state of a copy of the input state information. Optionally, obtaining the first target norm of the first Schmidt vector includes:

[0161] Obtain a target vector, wherein the target vector is obtained by arranging the W second elements in descending order, the W second elements are obtained by performing a polynomial combination on the first element in the second Schmidt vector of the quantum state under a copy in the input state information based on the W allocation information, one allocation information includes an allocation result and the number of repetitions of the allocation result, the W allocation information is obtained by performing allocation processing on the number of copies of the input state information based on the quantum system dimension of the input state information, the first Schmidt vector is obtained by arranging the target vector according to the number of repetitions of each second element, and the number of repetitions of the second element is the number of repetitions of the allocation result corresponding to the second element;

[0162] A first target norm of the first Schmidt vector is determined based on the target vector and the number of repetitions of the second element in the target vector.

[0163] The quantum state symmetry of the input state information can be utilized to determine the first Schmidt vector based on the second Schmidt vector of the quantum state of one copy of the input state information, so as to reduce the complexity of the process of determining the first Schmidt vector.

[0164] Then, based on the target vector and the number of repetitions of the second element in the target vector, the first target norm of the first Schmidt vector is determined. In this way, the first target norm of the first Schmidt vector of the input state information can be efficiently solved, reducing the complexity of solving the optimal conversion rate.

[0165] Optionally, determining a first target norm of the first Schmidt vector based on the target vector and the number of repetitions of the second element in the target vector includes:

[0166] 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, the second numbers of the elements corresponding to the first numbers in the first Schmidt vector and the first sum of the third elements in the first Schmidt vector are determined in sequence, where the third element includes the element corresponding to the second number and the element before the element corresponding to the second number;

[0167] When the first variable is less than the second index, outputting a first target norm of the first Schmidt vector;

[0168] Among them, the first target norm is s i *(KN)+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.

[0169] It efficiently computes the first objective norm The specific process is as follows:

[0170] Input: The second Schmidt vector p ψ =(p1,p2,...,p d ), positive integer n≥1, m≥1;

[0171] Output:

[0172] 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.

[0173] Step 2: Based on the W allocation information, perform polynomial combination on the first element in the second Schmidt vector 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;

[0174] 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 first Schmidt vector can be obtained by arranging the target vector according to the number of repetitions of each second element, so that the first Schmidt vector can be determined based on the second Schmidt vector of the quantum state of one copy of the input state information by utilizing the quantum state symmetry of the input state information;

[0175] Step 4: Let N = 0, P = 0, where N and P are intermediate variables, used to record the second index of the element corresponding to the first index in the first Schmidt vector, and the first sum of the third element in the first Schmidt vector during the loop process of the first index of the second element in the target vector from small to large. The second index refers to the maximum index of the element corresponding to the first index in the first Schmidt vector;

[0176] Step 5: For each i∈{1,2,...,W}, loop:

[0177] Step 5.1: Let N = N + v i , P=P+v i s i ;

[0178] Step 5.2: If K < N, return s i *(KN)+P as output.

[0179] This output is the first target norm.

[0180] The above algorithm needs to perform at most W loops in step 5, where W is a polynomial order with respect to n. If storage space for the new polynomial is allowed, the number of loops can be reduced to a logarithmic number with respect to n by binary search. Optionally, determining the first target norm of the first Schmidt vector based on the target vector and the number of repetitions of the second element in the target vector includes:

[0181] Determine W second indices of elements corresponding to the W first indices in the first Schmidt vector based on the W first indices of the W second elements in the target vector and the number of repetitions of the second elements in the target vector;

[0182] Performing a binary search on the first variable, and outputting a first target norm of the first Schmidt vector when the search shows that the first variable is within a target interval;

[0183] 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 *(KN 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, Nc is the second index of the element corresponding to the first index c in the first Schmidt vector, P c It is the second sum of the fourth elements in the first Schmidt vector, 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.

[0184] The specific process of using binary search to efficiently solve the first target norm is as follows:

[0185] Input: The second Schmidt vector p ψ =(p1,p2,...,p d ), positive integer n≥1, m≥1;

[0186] Output:

[0187] 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.

[0188] Step 2: Based on the W allocation information, perform polynomial combination on the first element in the second Schmidt vector 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;

[0189] 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 first Schmidt vector can be obtained by arranging the target vector according to the number of repetitions of each second element, so that the first Schmidt vector can be determined based on the second Schmidt vector of the quantum state of one copy of the input state information by utilizing the quantum state symmetry of the input state information;

[0190] Step 4: Let N0 = 0, P0 = 0, where N0 and P0 are intermediate variables, used to record the second index of the element corresponding to the first index in the first Schmidt vector, and the first sum of the third element in the first Schmidt vector during the loop process of the first index of the second element in the target vector from small to large. The second index refers to the maximum index of the element corresponding to the first index in the first Schmidt vector;

[0191] Step 5: For any j∈{1,2,...,W}, calculate and

[0192] Step 6: Set the lower bound of the binary search a = 0 and the upper bound b = W;

[0193] Step 7: Loop as follows until the output is returned:

[0194] Step 7.1: Binary value

[0195] Step 7.2: If N c ≤K≤N c+1 , then return s c+1 *(KN c )+P c As output, the output is the first target norm;

[0196] Step 7.3: If K < N c , then let b=c;

[0197] Step 7.4: If K>N c+1 , then let a=c+1.

[0198] Optionally, determining the value of the first variable of the optimization function at the minimum optimization function value based on the gradient function and the target value range of the first variable to obtain the value of the optimal conversion rate includes:

[0199] When the first objective gradient function value is greater than or equal to zero, determine the value of the first variable of the optimization function at the minimum optimization function value as the lower bound of the target value range, and obtain the value of the optimal conversion rate, and the first objective gradient function value is the value of the gradient function when the value of the first variable is the lower bound of the target value range;

[0200] When the second objective gradient function value is less than or equal to zero, the value of the first variable of the optimization function under the minimum optimization function value is determined to be the upper limit of the target value range, and the value of the optimal conversion rate is obtained. The second objective gradient function value is the value of the first variable d n -1, d is the quantum system dimension of the input state information, and n is the number of copies of the input state information;

[0201] 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 limit of the target value range and the first objective value, and when the upper limit of the binary search interval is less than or equal to the second objective value, the value of the first variable of the optimization function under the minimum optimization function value is determined as the upper limit of the binary search interval to obtain the value of the optimal conversion rate, and the first objective value is d n -1, the second target value is the lower bound of the binary search interval plus 1;

[0202] Among them, in the binary search, when the third target 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 target 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 target gradient function value is the value of the gradient function when the value of the first variable is the binary value in the binary search.

[0203] The specific process of efficiently calculating the optimal conversion rate is as follows:

[0204] Input: The second Schmidt vector p ψ =(p1,p2,...,p d ), positive integer n ≥ 1, target error ε∈[0,1];

[0205] Output:

[0206] Step 1: Calculate the lower bound of the target range of the first variable Denoted as l;

[0207] Step 2: If l = d n ,return As output;

[0208] Step 3: Calculate the gradient function value when the value of the first variable is l (i.e., the first target gradient function value), expressed as g(l);

[0209] Step 4: g(l)≥0, return As output;

[0210] Step 5: Calculate the value of the first variable as d n The gradient function value at -1 (i.e., the second target gradient function value) indicates that g(d n -1);

[0211] Step 6: If g(d n -1)≤0, return As output;

[0212] Step 7: If g(l)<0, and g(dn -1)>0, let the lower bound of binary search a=l, and the upper bound b=d n -1;

[0213] Step 8: If the loop condition b>a+1 is met, the following loop is performed:

[0214] Step 8.1: Let the binary value

[0215] Step 8.2: If the third objective gradient function value g(c)≥0, let b=c; otherwise, let a=c;

[0216] Step 9: If the loop condition is not met, return as output.

[0217] 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.

[0218] 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.

[0219] 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.9,0.1), the error threshold ε=0.1, and the number of quantum state copies n ranges from 1 to 500.

[0220] 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 (1) requires a calculation and storage length of 2 500The vector of , far exceeds the computing power of existing supercomputers. Therefore, the efficient calculation method of the optimal conversion rate of quantum entanglement purification has important practical value.

[0221] Second embodiment

[0222] like Figure 3 As shown, the present disclosure provides a quantum entanglement resource scheduling device 300, comprising:

[0223] 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;

[0224] 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;

[0225] 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 conversion error from the input state information to the maximum entangled state is less than or equal to the target error, and the conversion error is measured based on the distance between the Schmidt vectors of the quantum state in the quantum entanglement purification scenario;

[0226] A second determination module 304 is used to determine a value of the optimal conversion rate based on the first relationship;

[0227] 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.

[0228] Optionally, the resource scheduling module 305 is specifically used to:

[0229] 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;

[0230] 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.

[0231] Optionally, the device further comprises:

[0232] 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.

[0233] Optionally, the device further comprises:

[0234] 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.

[0235] Optionally, the device further comprises:

[0236] The quantum application service includes any of the following:

[0237] Quantum key distribution application services;

[0238] Communication application services;

[0239] Distributed quantum computing application services.

[0240] Optionally, the second determining module 304 includes:

[0241] a conversion submodule, configured to perform Schmidt decomposition on the input state information to convert the first relationship into a second relationship and a third relationship, wherein the second relationship is a minimum optimization function relationship between the optimal conversion rate and the first information, the first information includes a first target norm, a target error and a first variable of a first Schmidt vector of the input state information, the first target norm is the sum of the first K largest elements of the first Schmidt vector, the third relationship is a minimum optimization function relationship between a lower bound in a target value range of the first variable and a second variable under a second preset condition, the second preset condition is that the second target norm of the first Schmidt vector is greater than the target error, the second target norm is the sum of the first Y largest elements of the first Schmidt vector, K is the first variable, K is a positive integer, and Y is the second variable, Y is a positive integer;

[0242] A first determination submodule, configured to determine a target value range of the first variable based on the third relationship and second information, wherein the second information is the number of copies of the input state information and the dimension of the quantum system;

[0243] The second determination submodule is used to determine the value of the optimal conversion rate based on the second relationship and the target value range of the first variable.

[0244] Optionally, the first determining submodule includes:

[0245] A first determining unit, configured to determine a lower limit value of the target value range based on the third relationship;

[0246] A second determining unit is used to determine an upper limit value of the target value range based on the second information.

[0247] Optionally, the first determining unit is specifically configured to:

[0248] Obtaining the first Schmidt vector;

[0249] Obtaining the second target norm of the first Schmidt vector in order of the second variable from small to large; when the second target norm is greater than the target error, outputting the value of the second variable;

[0250] The value of the second variable is the lower limit of the target value range.

[0251] Optionally, the first determining unit is specifically configured to:

[0252] Obtaining a second Schmidt vector of a quantum state of a copy of the input state information;

[0253] 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;

[0254] Based on the W allocation information, a polynomial combination is performed on the first element in the second Schmidt vector 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;

[0255] Arrange the W second elements in descending order to obtain a target vector;

[0256] The first Schmidt vector is obtained by arranging the target vector according to the number of repetitions of each second element.

[0257] Optionally, the first determining unit is specifically configured to:

[0258] 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, the second numbers of the elements corresponding to the first numbers in the first Schmidt vector and the first sum of the third elements in the first Schmidt vector are determined in sequence, where the third element includes the element corresponding to the second number and the element before the element corresponding to the second number;

[0259] When the first sum is greater than the target error, outputting the value of the second variable;

[0260] The value of the second variable is N is the second index, P is the first sum, s iis the second element corresponding to the first index i in the target vector, and ε is the target error.

[0261] Optionally, the second determining submodule includes:

[0262] The third determination unit is used to determine the value of the first variable under the minimum optimization function value in the second relationship as the upper limit in the target value range when the lower limit in the target value range of the first variable is equal to the upper limit, so as to obtain the value of the optimal conversion rate.

[0263] Optionally, the second determining submodule includes:

[0264] an acquiring unit, configured to acquire a first target norm of the first Schmidt vector when a lower bound is not equal to an upper bound in a target value range of the first variable, and obtain a gradient function of the optimization function in the second relationship, wherein the gradient function is a function of the first information;

[0265] The fourth determination unit is used to determine the value of the first variable of the optimization function at the minimum optimization function value based on the gradient function and the target value range of the first variable, so as to obtain the value of the optimal conversion rate.

[0266] Optionally, the acquisition unit is specifically used to:

[0267] Obtain a target vector, wherein the target vector is obtained by arranging the W second elements in descending order, the W second elements are obtained by performing a polynomial combination on the first element in the second Schmidt vector of the quantum state under a copy in the input state information based on the W allocation information, one allocation information includes an allocation result and the number of repetitions of the allocation result, the W allocation information is obtained by performing allocation processing on the number of copies of the input state information based on the quantum system dimension of the input state information, the first Schmidt vector is obtained by arranging the target vector according to the number of repetitions of each second element, and the number of repetitions of the second element is the number of repetitions of the allocation result corresponding to the second element;

[0268] A first target norm of the first Schmidt vector is determined based on the target vector and the number of repetitions of the second element in the target vector.

[0269] Optionally, the acquisition unit is specifically used to:

[0270] 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, the second numbers of the elements corresponding to the first numbers in the first Schmidt vector and the first sum of the third elements in the first Schmidt vector are determined in sequence, where the third element includes the element corresponding to the second number and the element before the element corresponding to the second number;

[0271] When the first variable is less than the second index, outputting a first target norm of the first Schmidt vector;

[0272] Among them, the first target norm is s i *(KN)+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.

[0273] Optionally, the acquisition unit is specifically used to:

[0274] Determine W second indices of elements corresponding to the W first indices in the first Schmidt vector based on the W first indices of the W second elements in the target vector and the number of repetitions of the second elements in the target vector;

[0275] Performing a binary search on the first variable, and outputting a first target norm of the first Schmidt vector when the search shows that the first variable is within a target interval;

[0276] 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 *(KN 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 first Schmidt vector, P c It is the second sum of the fourth elements in the first Schmidt vector, 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.

[0277] Optionally, the fourth determining unit is specifically configured to:

[0278] When the first objective gradient function value is greater than or equal to zero, determine the value of the first variable of the optimization function at the minimum optimization function value as the lower bound of the target value range, and obtain the value of the optimal conversion rate, and the first objective gradient function value is the value of the gradient function when the value of the first variable is the lower bound of the target value range;

[0279] When the second objective gradient function value is less than or equal to zero, the value of the first variable of the optimization function under the minimum optimization function value is determined to be the upper limit of the target value range, and the value of the optimal conversion rate is obtained. The second objective gradient function value is the value of the first variable d n -1, d is the quantum system dimension of the input state information, and n is the number of copies of the input state information;

[0280] 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 limit of the target value range and the first objective value, and when the upper limit of the binary search interval is less than or equal to the second objective value, the value of the first variable of the optimization function under the minimum optimization function value is determined as the upper limit of the binary search interval to obtain the value of the optimal conversion rate, and the first objective value is d n -1, the second target value is the lower bound of the binary search interval plus 1;

[0281] Among them, in the binary search, when the third target 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 target 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 target gradient function value is the value of the gradient function when the value of the first variable is the binary value in the binary search.

[0282] Optionally, the conversion error is measured based on the trace norm of the Schmidt vector of the quantum state in the quantum entanglement purification scenario.

[0283] Optionally, the conversion error is expressed as:

[0284] Where T(|β>→|λ>) is the conversion error, |λ> is the maximum entangled state, |β> is the input state information in the quantum entanglement purification scenario, and p λ is the Schmidt vector of the maximum entangled state, p β is the Schmidt vector of the input state information in the quantum entanglement purification scenario, r is the Schmidt vector of the output state information in the quantum entanglement purification scenario, Prob(d) represents the set of all probability distribution vectors of dimension d, and d is the quantum system dimension of the input state information.

[0285] 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.

[0286] 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.

[0287] 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.

[0288] 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.

[0289] 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.

[0290] 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.

[0291] 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).

[0292] 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.

[0293] 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.

[0294] 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.

[0295] 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).

[0296] 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.

[0297] 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.

[0298] 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.

[0299] 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, comprising: 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 an optimal conversion rate of the quantum entanglement purification scenario and a dimension of the output state information under a first preset condition, the first preset condition being that a conversion error from the input state information to a maximum entangled state is less than or equal to the target error, and the conversion error is measured based on a distance between Schmidt vectors of quantum states in the quantum entanglement purification scenario; The determining the value of the optimal conversion rate based on the first relationship includes: Performing Schmidt decomposition on the input state information to convert the first relationship into a second relationship and a third relationship, wherein the second relationship is a minimum optimization function relationship between the optimal conversion rate and the first information, and the first information includes a first target norm, a target error, and a first variable of a first Schmidt vector of the input state information, wherein the first target norm is the sum of the first K largest elements of the first Schmidt vector, and the third relationship is a minimum optimization function relationship between a lower bound in a target value range of the first variable and a second variable under a second preset condition, wherein the second preset condition is that the second target norm of the first Schmidt vector is greater than the target error, and the second target norm is the sum of the first Y largest elements of the first Schmidt vector, K is the first variable, K is a positive integer, and Y is the second variable, Y is a positive integer; Determining a target value range of the first variable based on the third relationship and the second information, wherein the second information is the number of copies of the input state information and the dimension of the quantum system; Determining a value of the optimal conversion rate based on the second relationship and a target value range of the first variable; 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, wherein: 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: 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: 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, wherein: 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, wherein: The determining, based on the third relationship and the second information, a target value range of the first variable includes: Based on the third relationship, determining a lower limit value of the target value range; Based on the second information, an upper limit value of the target value range is determined.

7. The method according to claim 6, wherein: The determining, based on the third relationship, a lower limit value of the target value range includes: Obtaining the first Schmidt vector; Obtaining the second target norm of the first Schmidt vector in order of the second variable from small to large; when the second target norm is greater than the target error, outputting the value of the second variable; The value of the second variable is the lower limit of the target value range.

8. The method according to claim 7, wherein: The obtaining of the first Schmidt vector comprises: Obtaining a second Schmidt vector of a 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 second Schmidt vector 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 first Schmidt vector is obtained by arranging the target vector according to the number of repetitions of each second element.

9. The method according to claim 8, wherein: The second target norm of the first Schmidt vector is obtained in sequence according to the order of the second variables from small to large; When the second target norm is greater than the target error, outputting the value of the second variable comprises: 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, the second numbers of the elements corresponding to the first numbers in the first Schmidt vector and the first sum of the third elements in the first Schmidt vector are determined in sequence, where the third element includes the element corresponding to the second number and the element before the element corresponding to the second number; When the first sum is greater than the target error, outputting the value of the second variable; The value of the second variable is 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, and ε is the target error.

10. The method according to claim 1, wherein: The determining the value of the optimal conversion rate based on the second relationship and the target value range of the first variable includes: When the lower bound of the target value range of the first variable is equal to the upper bound, the value of the first variable under the minimum optimization function value in the second relationship is determined to be the upper bound of the target value range to obtain the value of the optimal conversion rate.

11. The method according to claim 1, wherein: The determining the value of the optimal conversion rate based on the second relationship and the target value range of the first variable includes: When the lower bound of the target value range of the first variable is not equal to the upper bound, obtaining a first target norm of the first Schmidt vector, and obtaining a gradient function of the optimization function in the second relationship, where the gradient function is a function of the first information; Based on the target value range of the gradient function and the first variable, the value of the first variable of the optimization function at the minimum optimization function value is determined to obtain the value of the optimal conversion rate.

12. The method according to claim 11, wherein: The obtaining of a first target norm of the first Schmidt vector includes: Obtain a target vector, wherein the target vector is obtained by arranging the W second elements in descending order, the W second elements are obtained by performing a polynomial combination on the first element in the second Schmidt vector of the quantum state under a copy in the input state information based on the W allocation information, one allocation information includes an allocation result and the number of repetitions of the allocation result, the W allocation information is obtained by performing allocation processing on the number of copies of the input state information based on the quantum system dimension of the input state information, the first Schmidt vector is obtained by arranging the target vector according to the number of repetitions of each second element, and the number of repetitions of the second element is the number of repetitions of the allocation result corresponding to the second element; A first target norm of the first Schmidt vector is determined based on the target vector and the number of repetitions of the second element in the target vector.

13. The method according to claim 12, wherein: The determining, based on the target vector and the number of repetitions of the second element in the target vector, a first target norm of the first Schmidt vector comprises: 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, the second numbers of the elements corresponding to the first numbers in the first Schmidt vector and the first sum of the third elements in the first Schmidt vector are determined in sequence, where the third element includes the element corresponding to the second number and the element before the element corresponding to the second number; When the first variable is less than the second index, outputting a first target norm of the first Schmidt vector; Among them, the first target norm is s i *(KN)+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.

14. The method according to claim 12, wherein: The determining, based on the target vector and the number of repetitions of the second element in the target vector, a first target norm of the first Schmidt vector comprises: Determine W second indices of elements corresponding to the W first indices in the first Schmidt vector based on the W first indices 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 first variable, and outputting a first target norm of the first Schmidt vector when the search shows that the first variable is within a target interval; 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 *(KN 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 first Schmidt vector, P c It is the second sum of the fourth elements in the first Schmidt vector, 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.

15. The method according to claim 11, wherein: The step of determining the value of the first variable of the optimization function at the minimum optimization function value based on the gradient function and the target value range of the first variable to obtain the value of the optimal conversion rate includes: When the first objective gradient function value is greater than or equal to zero, determine the value of the first variable of the optimization function at the minimum optimization function value as the lower bound of the target value range, and obtain the value of the optimal conversion rate, and the first objective gradient function value is the value of the gradient function when the value of the first variable is the lower bound of the target value range; When the second objective gradient function value is less than or equal to zero, the value of the first variable of the optimization function under the minimum optimization function value is determined to be the upper limit of the target value range, and the value of the optimal conversion rate is obtained. The second objective gradient function value is the value of the first variable d n -1, 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 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 limit of the target value range and the first objective value, and when the upper limit of the binary search interval is less than or equal to the second objective value, the value of the first variable of the optimization function under the minimum optimization function value is determined as the upper limit of the binary search interval to obtain the value of the optimal conversion rate, and the first objective value is d n -1, the second target value is the lower bound of the binary search interval plus 1; Among them, in the binary search, when the third target 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 target 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 target gradient function value is the value of the gradient function when the value of the first variable is the binary value in the binary search.

16. The method according to claim 1, wherein: The conversion error is measured based on the trace norm of the Schmidt vector of the quantum state in the quantum entanglement purification scenario.

17. The method according to claim 16, wherein: The conversion error is expressed as: Where T(|β>→|λ>) is the conversion error, |λ> is the maximum entangled state, |β> is the input state information in the quantum entanglement purification scenario, and p λ is the Schmidt vector of the maximum entangled state, p β is the Schmidt vector of the input state information in the quantum entanglement purification scenario, r is the Schmidt vector of the output state information in the quantum entanglement purification scenario, Prob(d) represents the set of all probability distribution vectors of dimension d, and d is the quantum system dimension of the input state information.

18. A quantum entanglement resource scheduling device, comprising: 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 conversion error from the input state information to the maximum entangled state is less than or equal to the target error, and the conversion error is measured based on the distance between the Schmidt vectors of the quantum state in the quantum entanglement purification scenario; a conversion submodule, configured to perform Schmidt decomposition on the input state information to convert the first relationship into a second relationship and a third relationship, wherein the second relationship is a minimum optimization function relationship between the optimal conversion rate and the first information, the first information includes a first target norm, a target error and a first variable of a first Schmidt vector of the input state information, the first target norm is the sum of the first K largest elements of the first Schmidt vector, the third relationship is a minimum optimization function relationship between a lower bound in a target value range of the first variable and a second variable under a second preset condition, the second preset condition is that the second target norm of the first Schmidt vector is greater than the target error, the second target norm is the sum of the first Y largest elements of the first Schmidt vector, K is the first variable, K is a positive integer, and Y is the second variable, Y is a positive integer; A first determination submodule, configured to determine a target value range of the first variable based on the third relationship and second information, wherein the second information is the number of copies of the input state information and the dimension of the quantum system; a second determination submodule, configured to determine a value of the optimal conversion rate based on the second relationship and a target value range of the first variable; 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.

19. The device according to claim 18, wherein: 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.

20. The apparatus according to claim 19, further comprising: 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.

21. The apparatus according to claim 19, further comprising: 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.

22. The apparatus of claim 18, further comprising: The quantum application service includes any of the following: Quantum key distribution application services; Communication application services; Distributed quantum computing application services.

23. The device according to claim 18, wherein The first determining submodule includes: A first determining unit, configured to determine a lower limit value of the target value range based on the third relationship; A second determining unit is used to determine an upper limit value of the target value range based on the second information.

24. The device according to claim 23, wherein: The first determining unit is specifically configured to: Obtaining the first Schmidt vector; Obtaining the second target norm of the first Schmidt vector in order of the second variable from small to large; when the second target norm is greater than the target error, outputting the value of the second variable; The value of the second variable is the lower limit of the target value range.

25. The device according to claim 24, wherein: The first determining unit is specifically configured to: Obtaining a second Schmidt vector of a 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 second Schmidt vector 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 first Schmidt vector is obtained by arranging the target vector according to the number of repetitions of each second element.

26. The device according to claim 25, wherein The first determining unit is specifically configured to: 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, the second numbers of the elements corresponding to the first numbers in the first Schmidt vector and the first sum of the third elements in the first Schmidt vector are determined in sequence, where the third element includes the element corresponding to the second number and the element before the element corresponding to the second number; When the first sum is greater than the target error, outputting the value of the second variable; The value of the second variable is 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, and ε is the target error.

27. The device according to claim 18, wherein The second determining submodule includes: The third determination unit is used to determine the value of the first variable under the minimum optimization function value in the second relationship as the upper limit in the target value range when the lower limit in the target value range of the first variable is equal to the upper limit, so as to obtain the value of the optimal conversion rate.

28. The apparatus of claim 18, wherein: The second determining submodule includes: an acquiring unit, configured to acquire a first target norm of the first Schmidt vector when a lower bound is not equal to an upper bound in a target value range of the first variable, and obtain a gradient function of the optimization function in the second relationship, wherein the gradient function is a function of the first information; The fourth determination unit is used to determine the value of the first variable of the optimization function at the minimum optimization function value based on the gradient function and the target value range of the first variable, so as to obtain the value of the optimal conversion rate.

29. The device according to claim 28, wherein The acquisition unit is specifically used for: Obtain a target vector, wherein the target vector is obtained by arranging the W second elements in descending order, the W second elements are obtained by performing a polynomial combination on the first element in the second Schmidt vector of the quantum state under a copy in the input state information based on the W allocation information, one allocation information includes an allocation result and the number of repetitions of the allocation result, the W allocation information is obtained by performing allocation processing on the number of copies of the input state information based on the quantum system dimension of the input state information, the first Schmidt vector is obtained by arranging the target vector according to the number of repetitions of each second element, and the number of repetitions of the second element is the number of repetitions of the allocation result corresponding to the second element; A first target norm of the first Schmidt vector is determined based on the target vector and the number of repetitions of the second element in the target vector.

30. The device according to claim 29, wherein: The acquisition 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, the second numbers of the elements corresponding to the first numbers in the first Schmidt vector and the first sum of the third elements in the first Schmidt vector are determined in sequence, where the third element includes the element corresponding to the second number and the element before the element corresponding to the second number; When the first variable is less than the second index, outputting a first target norm of the first Schmidt vector; Among them, the first target norm is s i *(KN)+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.

31. The device according to claim 29, wherein: The acquisition unit is specifically used for: Determine W second indices of elements corresponding to the W first indices in the first Schmidt vector based on the W first indices 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 first variable, and outputting a first target norm of the first Schmidt vector when the search shows that the first variable is within a target interval; 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 *(KN 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 first Schmidt vector, P c It is the second sum of the fourth elements in the first Schmidt vector, 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.

32. The apparatus of claim 28, wherein: The fourth determining unit is specifically configured to: When the first objective gradient function value is greater than or equal to zero, determine the value of the first variable of the optimization function at the minimum optimization function value as the lower bound of the target value range, and obtain the value of the optimal conversion rate, and the first objective gradient function value is the value of the gradient function when the value of the first variable is the lower bound of the target value range; When the second objective gradient function value is less than or equal to zero, the value of the first variable of the optimization function under the minimum optimization function value is determined to be the upper limit of the target value range, and the value of the optimal conversion rate is obtained. The second objective gradient function value is the value of the first variable d n -1, 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 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 limit of the target value range and the first objective value, and when the upper limit of the binary search interval is less than or equal to the second objective value, the value of the first variable of the optimization function under the minimum optimization function value is determined as the upper limit of the binary search interval to obtain the value of the optimal conversion rate, and the first objective value is d n -1, the second target value is the lower bound of the binary search interval plus 1; Among them, in the binary search, when the third target 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 target 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 target gradient function value is the value of the gradient function when the value of the first variable is the binary value in the binary search.

33. The apparatus of claim 18, wherein: The conversion error is measured based on the trace norm of the Schmidt vector of the quantum state in the quantum entanglement purification scenario.

34. The device according to claim 33, wherein The conversion error is expressed as: Where T(|β>→|λ>) is the conversion error, |λ> is the maximum entangled state, |β> is the input state information in the quantum entanglement purification scenario, and p λ is the Schmidt vector of the maximum entangled state, p β is the Schmidt vector of the input state information in the quantum entanglement purification scenario, r is the Schmidt vector of the output state information in the quantum entanglement purification scenario, Prob(d) represents the set of all probability distribution vectors of dimension d, and d is the quantum system dimension of the input state information.

35. An electronic device comprising: 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 17.

36. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-17.

37. 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 17.

Citation Information

Patent Citations

  • Hardware-efficient variational quantum eigenvalue solver for quantum computing machines

    CN111095307A

  • Entangled quantum state purification method and device, equipment, storage medium and product

    CN112529199A

  • Entangled quantum state purification method and device, equipment, storage medium and product

    CN112529200A

  • Entangled quantum state conversion method and device, equipment, storage medium and product

    CN112529201A

  • Quantum entanglement detection method and device, electronic equipment and storage medium

    CN112541590A