Quantum entanglement resource scheduling method, device and electronic equipment
By receiving quantum application requests in the quantum network and determining the optimal conversion rate, optimizing quantum entanglement resource scheduling solves the problem of poor flexibility in quantum network resource scheduling and improves resource utilization and entanglement preparation efficiency.
Patent Information
- Application Number
- CN202311199614.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-15
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2043-09-15
AI Technical Summary
The resource scheduling flexibility of quantum networks in quantum application services is poor, resulting in low resource allocation efficiency and difficulty in meeting the needs of different quantum information tasks.
By receiving quantum application requests, we obtain output state information and target errors, determine the minimum optimization function relationship between the optimal conversion rate and the dimension of the maximum entangled state in the quantum entanglement preparation scenario, optimize entanglement resource scheduling, and improve resource utilization.
The resource scheduling flexibility and accuracy of quantum network for quantum application services are improved, and the conversion efficiency and resource management during the entanglement preparation process are optimized.
Smart Images

Figure CN117236452B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of quantum computing technology, in particular to the field of quantum entanglement technology, and specifically to a quantum entanglement resource scheduling method, device and electronic equipment. Background Art
[0002] Quantum networks can be used to provide quantum application services. For example, quantum communication systems can deploy quantum key distribution application services to use quantum entangled states to achieve secure information transmission. For another example, quantum networks can deploy communication application services to effectively allocate entanglement resources to various nodes in the quantum network for communication.
[0003] Quantum entanglement is a very special and unique phenomenon in quantum mechanics, in which two or more quantum systems enter a closely related composite state in which the quantum state of each system cannot be defined separately, but needs to be considered in conjunction with all other systems as a whole.
[0004] In order to ensure the actual effect of quantum entanglement application, before it is actually put into use, certain operations are required to convert the given Bell state into the quantum entangled state required for the application. This operation is called quantum entanglement preparation.
[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 preparation 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] Obtaining expected output state information of the quantum network in a quantum entanglement conversion scenario from the quantum application request, and obtaining a target error;
[0010] Based on the output state information and the target error, determining a first relationship, the first relationship being a minimum optimization function relationship between an optimal conversion rate of the quantum entanglement preparation scenario and a dimension of a maximum entangled state under a first preset condition, the first preset condition being that a conversion error from the maximum entangled state input in the quantum entanglement preparation scenario to the output state information 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 preparation 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, used to obtain expected output state information of the quantum network in the quantum entanglement conversion scenario from the quantum application request, and to obtain a target error;
[0016] A first determination module is used to determine a first relationship based on the output state information and the target error, wherein the first relationship is a minimum optimization function relationship between the optimal conversion rate of the quantum entanglement preparation scenario and the dimension of the maximum entangled state under a first preset condition, wherein the first preset condition is that the conversion error from the maximum entangled state input in the quantum entanglement preparation scenario to the output state information 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 preparation 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 flow chart 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 preparation;
[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 entangled resources prepared by quantum entanglement at the underlying service support layer to achieve secure information transmission. In another scenario, distributed quantum computing application services can dispatch entangled resources prepared by quantum entanglement at the underlying service support layer to execute complex algorithms, such as distributed quantum computing.
[0044] A quantum application request may carry a service identifier, the number of entangled resources, and entangled resource characteristics. The quantum application service needs to use the quantum state indicated by the entangled resource characteristics to implement the corresponding service. The quantum state indicated by the entangled resource characteristics needs to be prepared through the maximum entangled state.
[0045] Step S102: obtaining expected output state information of the quantum network in a quantum entanglement conversion scenario from the quantum application request, and obtaining a target error.
[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] In quantum information processing, different tasks may require different types of quantum entangled states. Although maximally entangled states (such as Bell states) are the two-body states with the highest degree of entanglement and are useful in many applications, not all quantum information tasks require or are best suited to using maximally entangled states. For example, in specific quantum computing algorithms, certain entangled states may be required as the initial or intermediate states of the calculation. In some protocols of quantum communication, non-maximally entangled states may be required to achieve more efficient or secure information transmission. In quantum sensing and quantum measurement, specific entangled states may provide better performance or higher accuracy than maximally entangled states. Although maximally entangled states are useful in many cases, considering the conversion of maximally entangled states into other entangled states is an important issue in quantum information processing, which is critical to achieving a wider range of and more efficient quantum information tasks.
[0052] In order to ensure the actual effect of quantum entanglement application, before it is actually put into use, certain operations are required to convert the given quantum entangled state (usually an ideal Bell state) into the quantum entangled state required for the application. This operation is called quantum entanglement preparation.
[0053] In step S102, the output state information refers to the quantum state expected to be output by the quantum entanglement preparation process, that is, the quantum state to be prepared, which is obtained by performing a tensor product of n pairs of target quantum states. The target quantum state is a quantum state on two quantum systems, the dimensions of the two quantum systems can be the same, and the dimension of one quantum system can be d, and n is the number of copies of the output state information. For any quantum state |ψ> on the AB quantum system AB , the output state information can be expressed as
[0054] Ideally, the quantum state obtained by preparing quantum entanglement through Bell states is required to be the same as the desired output quantum state. Since this conversion requirement is often too strict, the conversion rate (or cost) will be very high. Therefore, in practical applications, it is usually required that the error between the quantum state obtained by preparing quantum entanglement through Bell states and the desired output quantum state meet a given error threshold. This error threshold is the target error. When the conversion error from the Bell state input to the desired output quantum state is less than or equal to the target error, that is, the error between the quantum state obtained by preparing quantum entanglement through Bell states and the desired output quantum state is less than or equal to the error threshold, it means that the error between the quantum state obtained by preparing quantum entanglement through Bell states and the desired output quantum state meets the error threshold.
[0055] When a quantum application request is obtained, the expected output state information of the quantum network in the quantum entanglement conversion scenario can be obtained from the quantum application request based on the entanglement resource characteristics and the number of entanglement resources carried by the quantum application request. Among them, when the expected output state information is not the maximum entangled state, the quantum network can start the quantum entanglement preparation scenario to prepare the entanglement resources to obtain the entanglement resources required for the quantum application service.
[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 output state information and the target error, determine a first relationship, wherein the first relationship is a minimum optimization function relationship between the optimal conversion rate of the quantum entanglement preparation scenario and the dimension of the maximum entangled state under a first preset condition, and the first preset condition is that the conversion error from the maximum entangled state input to the output state information in the quantum entanglement preparation scenario 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 states in the quantum entanglement preparation scenario.
[0058] The basic idea of quantum entanglement preparation is to convert one or more pairs of Bell states into specified quantum entangled states through a series of local quantum operations and classical communications (LOCC), hoping that the initial Bell states consumed by the conversion are as few as possible, and to ensure that the difference between the converted quantum state and the specified quantum state is less than a given error threshold ε. If m pairs of Bell states can be converted into n pairs of specified quantum entangled states through a certain LOCC operation scheme, then the entanglement preparation conversion rate (or cost) of the scheme is m / n, that is, on average, m / n pairs of Bell states are consumed for each pair of specified quantum entangled states.
[0059] For example, if 5 pairs of initial Bell states are required to be converted into 10 pairs of specified quantum entangled states, then the conversion rate of this entanglement preparation process can be said to be 5 / 10 or 0.5. Therefore, the lower the conversion rate (or cost), the more efficient the entanglement preparation process is and the fewer Bell states are consumed.
[0060] The calculation of the quantum entanglement preparation conversion rate, as a key parameter to measure the efficiency of the entanglement preparation 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 the entanglement preparation conversion rate can help manage these resources more efficiently to obtain the best system performance.
[0061] Secondly, comparing the conversion rates of different entanglement preparation 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 preparation is a means of reducing these effects, and its conversion rate can reflect the preparation effect and indicate whether further error correction is needed.
[0062] In addition, the optimal conversion rate of entanglement preparation 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 preparation protocol, maximizing the efficiency of quantum entanglement preparation operations, which has very important practical value.
[0063] In specific product needs and application scenarios, the use of calculating the conversion rate of quantum entanglement preparation is particularly important.
[0064] 1. When designing and building quantum computers, high-quality entangled states need to be generated and manipulated to execute complex quantum algorithms. In this process, the quantum entanglement preparation conversion rate provides an important efficiency indicator. For example, if a certain entanglement preparation protocol is found to have a high conversion rate (or cost), it may be necessary to find more efficient protocols or improve existing entanglement generation and preparation technologies. In addition, comparing theoretical expectations and actual 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 preparation 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 preparation 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 preparation 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 preparation, 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 of quantum entanglement preparation under any given limited resource quantum entanglement 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 preparation 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 preparation and schedule the entangled resources in the process of quantum entanglement preparation.
[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 of the input of the quantum entanglement preparation to a pure state (i.e., the maximum entangled state), and the quantum state is obtained by quantum entanglement preparation through the maximum entangled state. The error between the quantum state and the output state information expected to be obtained by the quantum entanglement preparation is less than or equal to the target error.
[0070] Under the above definition of conversion error, the optimal conversion rate of quantum entanglement preparation 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, The minimum dimension of the quantum state required for quantum entanglement preparation can be equivalent to the optimal conversion rate, which can be obtained by Calculated, n is the number of copies of the output 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 states, that is, m is the dimension of the quantum state of the input for quantum entanglement preparation.
[0073] The conversion error can be measured by the distance between the Schmidt vectors of the quantum state in the quantum entanglement preparation scenario. Optionally, the conversion error is measured based on the trace norm of the Schmidt vector of the quantum state in the quantum entanglement preparation scenario, which can be the 1-norm of the Schmidt vector of the quantum state in the quantum entanglement preparation 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 preparation scenario.
[0074] Optionally, the conversion error is expressed as:
[0075] Where T(|β>→|λ>) is the conversion error, |β> is the maximum entangled state, |λ> is the expected output state information in the quantum entanglement preparation scenario, and p λ is the Schmidt vector of the output state information |λ>, p β is the Schmidt vector of the maximum entangled state |β>, r is the Schmidt vector of the quantum state output in the quantum entanglement preparation scenario, Prob(d) represents the set of all probability distribution vectors of dimension d, and d is the quantum system dimension of the output state information.
[0076] Right now The 1-norm of the Schmidt vector of the quantum state in the quantum entanglement preparation scenario can be 1 / 2, and the conversion error can be expressed as shown in the following formula (2).
[0077]
[0078] ||x||1 is the 1-norm of vector x, β is |φ m > can be the maximum entangled state between quantum systems A and B, λ is The desired output state information in the quantum entanglement preparation scenario can be prepared, and the quantum state 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 the above formula (2), and For optimization function.
[0081] Step S104: Based on the first relationship, determine the value of the optimal conversion rate.
[0082] Among them, the value of the optimal conversion rate is used to optimize the conversion efficiency in the process of quantum entanglement preparation, or to schedule entanglement resources in the process of quantum entanglement preparation.
[0083] While providing the expected output state information and target error in the quantum entanglement preparation scenario, the dimension of the quantum state of the quantum entanglement preparation input can be solved under the first preset conditions through relevant computing software, so that the value of the optimization function in the first relationship is at the minimum value, and this minimum value is the value of the optimal conversion rate of the quantum entanglement preparation.
[0084] On the premise of obtaining the value of the optimal conversion rate of quantum entanglement preparation, 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 preparation algorithm debugging applications, distributed quantum computing applications, etc. In these applications, the conversion efficiency in the quantum entanglement preparation process can be optimized based on the optimal conversion rate, and the entanglement resources in the quantum entanglement preparation 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 expected number of output state information is the largest, and the cost required for quantum entanglement preparation, that is, the maximum number of entangled states, is also greater, in order to prepare and generate more entangled resources for scheduling. However, the cost of quantum entanglement preparation 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 maximum entangled state obtained by the nodes in the quantum network is usually limited. A node can refer to a quantum device or a module in a quantum computer, which is not specifically defined here.
[0087] The maximum number of entangled resources that can be prepared at the corresponding cost of quantum entanglement preparation 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 prepared 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 preparation operation can be performed, the entangled resources can be prepared accordingly, and they can be scheduled to the upper layer for quantum application services.
[0088] In the case where the maximum number of entangled resources that can be prepared is less than the number of entangled resources in the quantum application request, there is no need to perform the quantum entanglement preparation operation and the quantum application request can be directly rejected.
[0089] In this embodiment, a quantum application request from a quantum network is received; based on the quantum application request, the nodes in the quantum network are triggered to obtain the desired output state information and target error in the quantum entanglement preparation scenario; and based on the output state information and the target error, an optimization function is constructed to determine the optimal conversion rate of the quantum entanglement preparation scenario; 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 preparation 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.
[0090] Moreover, by measuring the conversion error of the maximum entangled state to the output state information based on the distance between the Schmidt vectors of the quantum state in the quantum entanglement preparation scenario, and constructing the minimum optimization function relationship between the optimal conversion rate of quantum entanglement preparation under the first preset condition and the dimension of the maximum entangled state of the quantum entanglement preparation input based on the output state information and the target error of the quantum entanglement preparation, and then solving the minimum optimization function relationship to obtain the value of the optimal conversion rate of quantum entanglement preparation. This can be applied to the determination of the optimal conversion rate of quantum entanglement preparation under any given limited resource quantum entangled state and error threshold, thereby improving the flexibility of determining the optimal conversion rate of quantum entanglement preparation, more in line with the needs of actual application scenarios, and thus more accurately optimizing the conversion efficiency in the quantum entanglement preparation process and scheduling the entanglement resources in the quantum entanglement preparation process.
[0091] Optionally, the step S105 specifically includes:
[0092] Based on the value of the optimal conversion rate, determining the entangled resources that can be prepared in the quantum entanglement preparation scenario of the quantum network;
[0093] In a case where the obtainable entangled resources are greater than or equal to the entangled resources requested by the quantum application request, resource scheduling is performed on the quantum application service.
[0094] Based on the value of the optimal conversion rate and the cost of quantum entanglement preparation, the entangled resources that can be prepared in the quantum entanglement preparation scenario of the quantum network can be determined. Afterwards, the entangled resources that can be prepared 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.
[0095] When the entangled resources that can be prepared 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.
[0096] In this way, resource scheduling for quantum application services can be achieved based on the value of the optimal conversion rate.
[0097] Optionally, the method further includes:
[0098] In a case where the obtainable entangled resources are less than the entangled resources requested by the quantum application request, refusing to respond to the quantum application request.
[0099] In this way, by simulating the entangled resources that can be prepared by quantum entanglement 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 preparation operation, and the response to the quantum application request can be directly rejected, thereby reducing unnecessary operations.
[0100] Optionally, the method further includes:
[0101] In a case where the entangled resources that can be prepared are less than the entangled resources requested by the quantum application request, based on the value of the optimal conversion rate, the maximum entangled state input in the quantum entanglement preparation scenario of the quantum network is adjusted to increase the entangled resources that can be prepared in the quantum entanglement preparation scenario.
[0102] In the case where the entangled resources that can be prepared are less than the entangled resources requested by the quantum application request, the minimum cost required for quantum entanglement preparation can be determined based on the value of the optimal conversion rate and the number of entangled resources in the quantum application request to ensure secure information transmission. Adjusting the cost of quantum entanglement preparation scenarios of quantum networks, such as increasing the cost of quantum entanglement preparation scenarios of quantum networks to prepare quantum entanglement, can obtain more entangled resources for resource scheduling, which can further improve the flexibility and accuracy of quantum entanglement resource scheduling.
[0103] 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.
[0104] Optionally, the step S104 specifically includes:
[0105] Performing Schmidt decomposition on the output state information to convert the first relationship into a second relationship and a third relationship, wherein the second relationship is the relationship between the optimal conversion rate and the first variable, and the third relationship is the minimum optimization function relationship between the first variable and the dimension of the maximum entangled state under a second preset condition, wherein the second preset condition is that a first target norm of a Schmidt vector of the output state information is greater than or equal to a first target value, the first target value is 1 minus the target error, the first target norm is the sum of the first m largest elements of the Schmidt vector of the output state information, m is the dimension of the maximum entangled state input to the quantum entanglement preparation scenario, and m is an integer greater than or equal to 2;
[0106] Based on the third relationship, determining a value of the first variable;
[0107] Based on the second relationship and the value of the first variable, a value of the optimal conversion rate is determined.
[0108] In this implementation, the output 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).
[0109]
[0110]
[0111] Among them, in the above formulas (3) and (4), is the first variable, is the Schmidt vector of the output state information The first objective norm of is the second preset condition.
[0112] From the above formulas (3) and (4), it can be seen that in order to calculate You can calculate first Then, the minimum optimization function in the third relationship is solved under the second preset condition to obtain the first variable , substituting the value of the first variable into the second relation, we get This allows the optimal conversion rate for quantum entanglement preparation to be obtained.
[0113] 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.
[0114] Optionally, determining the value of the first variable based on the third relationship includes:
[0115] Obtaining a Schmidt vector of the output state information;
[0116] The first target norms of the Schmidt vector of the output state information are obtained in order from small to large m; when the first target norm of the Schmidt vector of the output state information is greater than or equal to 1 minus the target error, the value of the first variable is output.
[0117] There are many ways to obtain the Schmidt vector of the output state information. For example, the Schmidt vector of the output state information can be obtained by performing Schmidt decomposition on the output state information. For another example, the Schmidt vector of the first quantum state can be obtained by performing Schmidt decomposition on the first quantum state of a copy of the output state information. The Schmidt vector of the output state information can be determined based on the Schmidt vector of the first quantum state by using the symmetry between the quantum state indicated by the output state information and the Schmidt vector of the output state information.
[0118] When the Schmidt vector of the output state information is obtained, the first target norm of the Schmidt vector of the output state information is obtained in order of m from small to large; and when the first target norm is obtained, it is determined whether the first target norm is greater than or equal to 1 minus the target error, that is, whether the second preset condition is met, and if so, the value of the first variable is output.
[0119] In this way, the optimization function in the third relationship can be solved to obtain the value of the first variable, so as to further solve the second relationship and obtain the value of the optimal conversion rate prepared by quantum entanglement.
[0120] In the process of determining the Schmidt vector of the output state information, due to the quantum state The dimension is large, and as n grows exponentially, the corresponding direct calculation of the quantum state The Schmidt vector complexity is relatively high. Therefore, the symmetry between the quantum state indicated by the output state information and the Schmidt vector of the output state information can be utilized to determine the Schmidt vector of the output state information based on the Schmidt vector of the first quantum state under one copy in the output state information, so as to reduce the complexity of the Schmidt vector determination process of the output state information.
[0121] Optionally, obtaining the Schmidt vector of the output state information includes:
[0122] Obtaining a Schmidt vector of a first quantum state of a copy of the output state information;
[0123] Based on the quantum system dimension of the output state information, the number of copies of the output 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;
[0124] Based on the W allocation information, a polynomial combination is performed on the first element in the Schmidt vector of the first quantum state to obtain W second elements corresponding to the W allocation results and the number of repetitions of each second element, where the number of repetitions of the second element is the number of repetitions of the allocation result corresponding to the second element;
[0125] Arrange the W second elements in descending order to obtain a target vector;
[0126] The Schmidt vector of the output state information is obtained by arranging the target vector according to the number of repetitions of each second element.
[0127] In this way, the symmetry of the output state information can be utilized to efficiently determine the Schmidt vector of the output state information based on the target vector and the number of repetitions of the second element in the target vector, so that the first target norm of the Schmidt vector of the output state information can be efficiently calculated, reducing the complexity of solving the optimal conversion rate.
[0128] Optionally, the acquiring, in order of m from small to large, the first target norm of the Schmidt vector of the output state information; and outputting the value of the first variable when the first target norm of the Schmidt vector of the output state information is greater than or equal to 1 minus the target error, comprises:
[0129] According to the order of the first numbers of the second elements in the target vector from small to large, based on the number of repetitions of the second elements, sequentially determine the second numbers of the elements corresponding to the first numbers in the Schmidt vector of the output state information, and the first sum of the third elements in the Schmidt vector of the output state information, wherein the third element includes the element corresponding to the second number and the element before the element corresponding to the second number;
[0130] If the first sum is greater than or equal to 1 minus the target error, outputting the value of the first variable;
[0131] Among them, the value of the first variable is 2 and The largest value in, 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.
[0132] The specific process of efficiently calculating the Schmidt vector of the output state information and efficiently solving the value of the first variable is as follows:
[0133] Input: Schmidt vector p of the first quantum state ψ =(p1,p2,...,p d ), positive integer n ≥ 1, target error ε∈[0,1];
[0134] Output:
[0135] Step 1: Based on the quantum system dimension of the output state information, distribute the number of copies of the output state information. 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.
[0136] Step 2: Based on the W allocation information, perform polynomial combination on the first element in the Schmidt vector of the first quantum state to calculate Different polynomials The value of , obtains W second elements corresponding to W kinds of allocation results and the number of repetitions of each second element;
[0137] Step 3: Arrange the W second elements in descending order to obtain the target vector (s1, s2, ..., s W ), and record the second element s i The corresponding number of repetitions is v i , the Schmidt vector of the output state information can be obtained by arranging the target vector according to the number of repetitions of each second element, so that the Schmidt vector of the output state information can be determined based on the Schmidt vector of the first quantum state under one copy of the output state information by utilizing the symmetry between the quantum state indicated by the output state information and its Schmidt vector;
[0138] Step 4: Let N=0, P=0, where N and P are intermediate variables, used to record the second number of the element corresponding to the first number in the Schmidt vector of the output state information, and the first sum of the third element in the Schmidt vector of the output state information during the cyclic process of the first number of the second element in the target vector from small to large. The second number refers to the maximum number of the element corresponding to the first number in the Schmidt vector of the output state information. For example, if the first number is 1, and the number of repetitions of the second element corresponding to the first number 1 is 10, then the element corresponding to the first number in the Schmidt vector of the output state information is the element with numbers 1 to 10, and its maximum number is 10, then the second number is 10, and the first sum is the sum of the elements with numbers 1 to 10 in the Schmidt vector of the output state information;
[0139] Step 5: For each i∈{1,2,...,W}, loop:
[0140] Step 5.1: Let N = N + v i , P=P+v i s i ;
[0141] Step 5.2: If 1-ε≤P, return As output, is the ceiling function (i.e. the smallest integer not less than x); otherwise, continue the loop.
[0142] This output is the first variable The value of can be output accordingly. for
[0143] 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 value of the first variable and the value of the optimal conversion rate of quantum entanglement preparation.
[0144] If additional storage space for the polynomial is allowed, the number of loops can be reduced to a logarithmic number with respect to n by binary search. Optionally, the first target norm of the Schmidt vector of the output state information is obtained in order from small to large m; when the first target norm of the Schmidt vector of the output state information is greater than or equal to 1 minus the target error, the value of the first variable is output, including:
[0145] 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, determine W second sums corresponding to the W first indices one by one, the second sum being the sum of the fourth element in the Schmidt vector of the output state information, the fourth element including the element corresponding to the first indices and the element before the element corresponding to the first indices;
[0146] Performing a binary search on the first target value, and outputting the value of the first variable when the search shows that the first target value is within a target interval;
[0147] Wherein, the target interval is (P c ,P c+1 ], the value of the first variable is 2 and The largest value in the binary search, c is the binary value in the binary search, s c+1 is the second element corresponding to the first index c+1 in the target vector, N c+1 is the second index of the element corresponding to the first index c+1 in the Schmidt vector of the output state information, P c is the second sum corresponding to the first label c, P c+1 It is the second sum corresponding to the first label c+1.
[0148] Optionally, in the binary search, when the first target value is less than or equal to the second sum corresponding to the first label c, the upper limit of the binary search interval is adjusted to the binary value in the binary search; when the first target value is greater than the second sum corresponding to the first label c+1, the lower limit of the binary search interval is adjusted to the second target value, and the second target value is the binary value in the binary search plus 1.
[0149] The specific process of using the binary search to efficiently calculate the Schmidt vector of the output state information and efficiently solving the value of the first variable is as follows:
[0150] Input: Schmidt vector p of the first quantum state ψ =(p1,p2,...,p d ), positive integer n ≥ 1, target error ε∈[0,1];
[0151] Output:
[0152] Step 1: Based on the quantum system dimension of the output state information, distribute the number of copies of the output state information. 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.
[0153] Step 2: Based on the W allocation information, perform polynomial combination on the first element in the Schmidt vector of the first quantum state to calculate Different polynomials The value of , obtains W second elements corresponding to W kinds of allocation results and the number of repetitions of each second element;
[0154] Step 3: Arrange the W second elements in descending order to obtain the target vector (s1, s2, ..., s W ), and record the second element s i The corresponding number of repetitions is v i , the Schmidt vector of the output state information can be obtained by arranging the target vector according to the number of repetitions of each second element, so that the Schmidt vector of the output state information can be determined based on the Schmidt vector of the first quantum state under one copy of the output state information by utilizing the symmetry between the quantum state indicated by the output state information and its Schmidt vector;
[0155] Step 4: Let N0=0, P0=0, where N0 and P0 are intermediate variables, used to record the second number of the element corresponding to the first number in the Schmidt vector of the output state information, and the second sum of the fourth element in the Schmidt vector of the output state information during the cycle from small to large of the first number of the second element in the target vector. The second number refers to the maximum number of the element corresponding to the first number in the Schmidt vector of the output state information, and the fourth element includes the element corresponding to the first number in the Schmidt vector of the output state information and the element before the element corresponding to the first number;
[0156] Step 5: For any j∈{1,2,...,W}, calculate the second label and the second sum
[0157] Step 6: Set the lower bound of the binary search a = 0 and the upper bound b = W;
[0158] Step 7: Loop as follows until the output is returned:
[0159] Step 7.1: Binary value in is the floor function;
[0160] Step 7.2: If P c <1-ε≤P c+1 , then return As output, the output is the value of the first variable;
[0161] Step 7.3: If 1-ε≤P c , then let b=c;
[0162] Step 7.4: If 1-ε>P c+1 , then let a=c+1.
[0163] Accordingly, we can output for
[0164] The scheme for determining the optimal conversion rate of quantum entanglement preparation of this embodiment can be applied 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 quantum state that needs to be prepared, which is very efficient in actual use scenarios. In addition, when the error threshold is zero or the number of copies of the quantum state that needs to be prepared is large enough, the determination of the optimal conversion rate of quantum entanglement preparation under ideal conditions can also be covered. Therefore, while ensuring efficient calculation, the use scenarios are greatly expanded and are more in line with actual application needs.
[0165] The following is a specific example to illustrate the practical effect of this embodiment. Consider the quantum state to be prepared 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 1000.
[0166] 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 preparation, 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 10 seconds. In contrast, directly solving the optimal conversion rate of quantum entanglement preparation based on the above formula (1) requires a calculation and storage length of 2 1000 The vector of , far exceeds the computing power of existing supercomputers. Therefore, the efficient calculation method of the optimal conversion rate of quantum entanglement preparation has important practical value.
[0167] Second embodiment
[0168] like Figure 3 As shown, the present disclosure provides a quantum entanglement resource scheduling device 300, comprising:
[0169] 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;
[0170] An acquisition module 302 is used to obtain expected output state information of the quantum network in the quantum entanglement conversion scenario from the quantum application request, and to obtain a target error;
[0171] A first determination module 303 is used to determine a first relationship based on the output state information and the target error, wherein the first relationship is a minimum optimization function relationship between the optimal conversion rate of the quantum entanglement preparation scenario and the dimension of the maximum entangled state under a first preset condition, wherein the first preset condition is that the conversion error from the maximum entangled state input to the output state information in the quantum entanglement preparation scenario 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 states in the quantum entanglement preparation scenario;
[0172] A second determination module 304 is used to determine a value of the optimal conversion rate based on the first relationship;
[0173] 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.
[0174] Optionally, the resource scheduling module 305 is specifically used to:
[0175] Based on the value of the optimal conversion rate, determining the entangled resources that can be prepared in the quantum entanglement preparation scenario of the quantum network;
[0176] In a case where the obtainable entangled resources are greater than or equal to the entangled resources requested by the quantum application request, resource scheduling is performed on the quantum application service.
[0177] Optionally, the device further comprises:
[0178] A rejection response module is used to refuse to respond to the quantum application request when the entanglement resources that can be prepared are less than the entanglement resources requested by the quantum application request.
[0179] Optionally, the device further comprises:
[0180] An adjustment module is used to adjust the maximum entangled state input in the quantum entanglement preparation scenario of the quantum network based on the value of the optimal conversion rate when the entangled resources that can be prepared are less than the entangled resources requested by the quantum application request, so as to increase the entangled resources that can be prepared in the quantum entanglement preparation scenario.
[0181] Optionally, the quantum application service includes any of the following:
[0182] Quantum key distribution application services;
[0183] Communication application services;
[0184] Distributed quantum computing application services.
[0185] Optionally, the second determining module 304 includes:
[0186] A conversion submodule, used to perform Schmidt decomposition on the output state information to convert the first relationship into a second relationship and a third relationship, wherein the second relationship is the relationship between the optimal conversion rate and the first variable, and the third relationship is the minimum optimization function relationship between the first variable and the dimension of the maximum entangled state under a second preset condition, and the second preset condition is that the first target norm of the Schmidt vector of the output state information is greater than or equal to a first target value, the first target value is 1 minus the target error, and the first target norm is the sum of the first m largest elements of the Schmidt vector of the output state information, m is the dimension of the maximum entangled state input to the quantum entanglement preparation scenario, and m is an integer greater than or equal to 2;
[0187] A first determining submodule, configured to determine a value of the first variable based on the third relationship;
[0188] The second determining submodule is used to determine the value of the optimal conversion rate based on the second relationship and the value of the first variable.
[0189] Optionally, the first determining submodule includes:
[0190] An acquisition unit, used for acquiring a Schmidt vector of the output state information;
[0191] An output unit is used to obtain the first target norm of the Schmidt vector of the output state information in order from small to large m; when the first target norm of the Schmidt vector of the output state information is greater than or equal to 1 minus the target error, output the value of the first variable.
[0192] Optionally, the acquisition unit is specifically used to:
[0193] Obtaining a Schmidt vector of a first quantum state of a copy of the output state information;
[0194] Based on the quantum system dimension of the output state information, the number of copies of the output 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;
[0195] Based on the W allocation information, a polynomial combination is performed on the first element in the Schmidt vector of the first quantum state to obtain W second elements corresponding to the W allocation results and the number of repetitions of each second element, where the number of repetitions of the second element is the number of repetitions of the allocation result corresponding to the second element;
[0196] Arrange the W second elements in descending order to obtain a target vector;
[0197] The Schmidt vector of the output state information is obtained by arranging the target vector according to the number of repetitions of each second element.
[0198] Optionally, the output unit is specifically used to:
[0199] According to the order of the first numbers of the second elements in the target vector from small to large, based on the number of repetitions of the second elements, sequentially determine the second numbers of the elements corresponding to the first numbers in the Schmidt vector of the output state information, and the first sum of the third elements in the Schmidt vector of the output state information, wherein the third element includes the element corresponding to the second number and the element before the element corresponding to the second number;
[0200] If the first sum is greater than or equal to 1 minus the target error, outputting the value of the first variable;
[0201] Among them, the value of the first variable is 2 and The largest value in, 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.
[0202] Optionally, the output unit is specifically used to:
[0203] 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, determine W second sums corresponding to the W first indices one by one, the second sum being the sum of the fourth element in the Schmidt vector of the output state information, the fourth element including the element corresponding to the first indices and the element before the element corresponding to the first indices;
[0204] Performing a binary search on the first target value, and outputting the value of the first variable when the search shows that the first target value is within a target interval;
[0205] Wherein, the target interval is (P c ,P c+1 ], the value of the first variable is 2 and The largest value in the binary search, c is the binary value in the binary search, s c+1 is the second element corresponding to the first index c+1 in the target vector, N c+1 is the second index of the element corresponding to the first index c+1 in the Schmidt vector of the output state information, P c is the second sum corresponding to the first label c, P c+1 It is the second sum corresponding to the first label c+1.
[0206] Optionally, in the binary search, when the first target value is less than or equal to the second sum corresponding to the first label, the upper limit of the binary search interval is adjusted to the binary value in the binary search; when the first target value is greater than the second sum corresponding to the first label, the lower limit of the binary search interval is adjusted to the second target value, and the second target value is the binary value in the binary search plus 1.
[0207] Optionally, the conversion error is measured based on the trace norm of the Schmidt vector of the quantum state in the quantum entanglement preparation scenario.
[0208] Optionally, the conversion error is expressed as:
[0209] Where T(|β>→|λ>) is the conversion error, |β> is the maximum entangled state, |λ> is the expected output state information in the quantum entanglement preparation scenario, and p λ is the Schmidt vector of the output state information |λ>, p β is the Schmidt vector of the maximum entangled state |β>, r is the Schmidt vector of the quantum state output in the quantum entanglement preparation scenario, Prob(d) represents the set of all probability distribution vectors of dimension d, and d is the quantum system dimension of the output state information.
[0210] 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.
[0211] 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.
[0212] 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.
[0213] 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.
[0214] 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.
[0215] 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.
[0216] 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).
[0217] 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.
[0218] 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.
[0219] 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.
[0220] 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).
[0221] 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.
[0222] 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.
[0223] 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.
[0224] 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; Obtaining expected output state information of the quantum network in a quantum entanglement conversion scenario from the quantum application request, and obtaining a target error; Based on the output state information and the target error, determining a first relationship, the first relationship being a minimum optimization function relationship between an optimal conversion rate of the quantum entanglement preparation scenario and a dimension of a maximum entangled state under a first preset condition, the first preset condition being that a conversion error from the maximum entangled state input in the quantum entanglement preparation scenario to the output state information 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 preparation scenario; Performing Schmidt decomposition on the output state information to convert the first relationship into a second relationship and a third relationship, wherein the second relationship is the relationship between the optimal conversion rate and the first variable, and the third relationship is the minimum optimization function relationship between the first variable and the dimension of the maximum entangled state under a second preset condition, wherein the second preset condition is that a first target norm of a Schmidt vector of the output state information is greater than or equal to a first target value, the first target value is 1 minus the target error, the first target norm is the sum of the first m largest elements of the Schmidt vector of the output state information, m is the dimension of the maximum entangled state input to the quantum entanglement preparation scenario, and m is an integer greater than or equal to 2; Based on the third relationship, determining a value of the first variable; determining a value of the optimal conversion rate based on the second relationship and the value 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 prepared in the quantum entanglement preparation scenario of the quantum network; In a case where the obtainable entangled resources 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 obtainable entangled resources are less than the entangled resources requested by the quantum application request, refusing to respond to the quantum application request.
4. The method according to claim 2, further comprising: In a case where the entangled resources that can be prepared are less than the entangled resources requested by the quantum application request, based on the value of the optimal conversion rate, the maximum entangled state input in the quantum entanglement preparation scenario of the quantum network is adjusted to increase the entangled resources that can be prepared in the quantum entanglement preparation 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 the value of the first variable based on the third relationship includes: Obtaining a Schmidt vector of the output state information; The first target norms of the Schmidt vector of the output state information are obtained in order from small to large m; when the first target norm of the Schmidt vector of the output state information is greater than or equal to 1 minus the target error, the value of the first variable is output.
7. The method according to claim 6, wherein: The obtaining of the Schmidt vector of the output state information comprises: Obtaining a Schmidt vector of a first quantum state of a copy of the output state information; Based on the quantum system dimension of the output state information, the number of copies of the output state information is distributed to obtain W distribution information, where each distribution information includes a distribution result and the number of repetitions of the distribution result; Based on the W allocation information, a polynomial combination is performed on the first element in the Schmidt vector of the first quantum state to obtain W second elements corresponding to the W allocation results and the number of repetitions of each second element, where the number of repetitions of the second element is the number of repetitions of the allocation result corresponding to the second element; Arrange the W second elements in descending order to obtain a target vector; The Schmidt vector of the output state information is obtained by arranging the target vector according to the number of repetitions of each second element.
8. The method according to claim 7, wherein: The step of sequentially acquiring the first target norm of the Schmidt vector of the output state information in the order of m from small to large; and outputting the value of the first variable when the first target norm of the Schmidt vector of the output state information is greater than or equal to 1 minus the target error, 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, sequentially determine the second numbers of the elements corresponding to the first numbers in the Schmidt vector of the output state information, and the first sum of the third elements in the Schmidt vector of the output state information, wherein the third element includes the element corresponding to the second number and the element before the element corresponding to the second number; If the first sum is greater than or equal to 1 minus the target error, outputting the value of the first variable; Among them, the value of the first variable is 2 and The largest value in, 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.
9. The method according to claim 7, wherein: The step of sequentially acquiring the first target norm of the Schmidt vector of the output state information in the order of m from small to large; and outputting the value of the first variable when the first target norm of the Schmidt vector of the output state information is greater than or equal to 1 minus the target error, comprises: 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, determine W second sums corresponding to the W first indices one by one, the second sum being the sum of the fourth element in the Schmidt vector of the output state information, the fourth element including the element corresponding to the first indices and the element before the element corresponding to the first indices; Performing a binary search on the first target value, and outputting the value of the first variable when the search shows that the first target value is within a target interval; Wherein, the target interval is (P c ,P c+1 ], the value of the first variable is 2 and The largest value in the binary search, c is the binary value in the binary search, s c+1 is the second element corresponding to the first index c+1 in the target vector, N c+1 is the second index of the element corresponding to the first index c+1 in the Schmidt vector of the output state information, P c is the second sum corresponding to the first label c, P c+1 is the second sum corresponding to the first label c+1, and ε is the target error.
10. The method according to claim 9, wherein: In the binary search, when the first target value is less than or equal to the second sum corresponding to the first label c, the upper limit of the binary search interval is adjusted to the binary value in the binary search. When the first target value is greater than the second sum corresponding to the first label c+1, the lower limit of the binary search interval is adjusted to the second target value, and the second target value is the binary value in the binary search plus 1.
11. 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 preparation scenario.
12. The method according to claim 11, wherein: The conversion error is expressed as: Wherein, T(|β〉→|λ〉) is the conversion error, |β〉 is the maximum entangled state, |λ〉 is the expected output state information in the quantum entanglement preparation scenario, and p λ is the Schmidt vector of the output state information |λ〉, p β is the Schmidt vector of the maximum entangled state |β〉, r is the Schmidt vector of the quantum state output in the quantum entanglement preparation scenario, Prob(d) represents the set of all probability distribution vectors with dimension d, and d is the quantum system dimension of the output state information.
13. 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, used to obtain expected output state information of the quantum network in the quantum entanglement conversion scenario from the quantum application request, and to obtain a target error; A first determination module is used to determine a first relationship based on the output state information and the target error, wherein the first relationship is a minimum optimization function relationship between the optimal conversion rate of the quantum entanglement preparation scenario and the dimension of the maximum entangled state under a first preset condition, wherein the first preset condition is that the conversion error from the maximum entangled state input in the quantum entanglement preparation scenario to the output state information 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 preparation scenario; A conversion submodule, used to perform Schmidt decomposition on the output state information to convert the first relationship into a second relationship and a third relationship, wherein the second relationship is the relationship between the optimal conversion rate and the first variable, and the third relationship is the minimum optimization function relationship between the first variable and the dimension of the maximum entangled state under a second preset condition, and the second preset condition is that the first target norm of the Schmidt vector of the output state information is greater than or equal to a first target value, the first target value is 1 minus the target error, and the first target norm is the sum of the first m largest elements of the Schmidt vector of the output state information, m is the dimension of the maximum entangled state input to the quantum entanglement preparation scenario, and m is an integer greater than or equal to 2; A first determining submodule, configured to determine a value of the first variable based on the third relationship; a second determining submodule, configured to determine a value of the optimal conversion rate based on the second relationship and a value 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.
14. The device according to claim 13, 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 prepared in the quantum entanglement preparation scenario of the quantum network; In a case where the obtainable entangled resources are greater than or equal to the entangled resources requested by the quantum application request, resource scheduling is performed on the quantum application service.
15. The apparatus according to claim 14, further comprising: A rejection response module is used to refuse to respond to the quantum application request when the entanglement resources that can be prepared are less than the entanglement resources requested by the quantum application request.
16. The apparatus according to claim 14, further comprising: An adjustment module is used to adjust the maximum entangled state input in the quantum entanglement preparation scenario of the quantum network based on the value of the optimal conversion rate when the entangled resources that can be prepared are less than the entangled resources requested by the quantum application request, so as to increase the entangled resources that can be prepared in the quantum entanglement preparation scenario.
17. The device according to claim 13, wherein: The quantum application service includes any of the following: Quantum key distribution application services; Communication application services; Distributed quantum computing application services.
18. The device according to claim 13, wherein: The first determining submodule includes: An acquisition unit, used for acquiring a Schmidt vector of the output state information; An output unit is used to obtain the first target norm of the Schmidt vector of the output state information in order from small to large m; when the first target norm of the Schmidt vector of the output state information is greater than or equal to 1 minus the target error, output the value of the first variable.
19. The device according to claim 18, wherein: The acquisition unit is specifically used for: Obtaining a Schmidt vector of a first quantum state of a copy of the output state information; Based on the quantum system dimension of the output state information, the number of copies of the output state information is distributed to obtain W distribution information, where each distribution information includes a distribution result and the number of repetitions of the distribution result; Based on the W allocation information, a polynomial combination is performed on the first element in the Schmidt vector of the first quantum state to obtain W second elements corresponding to the W allocation results and the number of repetitions of each second element, where the number of repetitions of the second element is the number of repetitions of the allocation result corresponding to the second element; Arrange the W second elements in descending order to obtain a target vector; The Schmidt vector of the output state information is obtained by arranging the target vector according to the number of repetitions of each second element.
20. The device according to claim 19, wherein The output unit is specifically used for: According to the order of the first numbers of the second elements in the target vector from small to large, based on the number of repetitions of the second elements, sequentially determine the second numbers of the elements corresponding to the first numbers in the Schmidt vector of the output state information, and the first sum of the third elements in the Schmidt vector of the output state information, wherein the third element includes the element corresponding to the second number and the element before the element corresponding to the second number; If the first sum is greater than or equal to 1 minus the target error, outputting the value of the first variable; Among them, the value of the first variable is 2 and The largest value in, 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.
21. The device according to claim 19, wherein The output unit is specifically used for: 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, determine W second sums corresponding to the W first indices one by one, the second sum being the sum of the fourth element in the Schmidt vector of the output state information, the fourth element including the element corresponding to the first indices and the element before the element corresponding to the first indices; Performing a binary search on the first target value, and outputting the value of the first variable when the search shows that the first target value is within a target interval; Wherein, the target interval is (P c ,P c+1 ], the value of the first variable is 2 and The largest value in the binary search, c is the binary value in the binary search, s c+1 is the second element corresponding to the first index c+1 in the target vector, N c+1 is the second index of the element corresponding to the first index c+1 in the Schmidt vector of the output state information, P c is the second sum corresponding to the first label c, P c+1 is the second sum corresponding to the first label c+1, and ε is the target error.
22. The device according to claim 21, wherein In the binary search, when the first target value is less than or equal to the second sum corresponding to the first label c, the upper limit of the binary search interval is adjusted to the binary value in the binary search. When the first target value is greater than the second sum corresponding to the first label c+1, the lower limit of the binary search interval is adjusted to the second target value, and the second target value is the binary value in the binary search plus 1.
23. The device according to claim 13, wherein: The conversion error is measured based on the trace norm of the Schmidt vector of the quantum state in the quantum entanglement preparation scenario.
24. The device according to claim 23, wherein: The conversion error is expressed as: Wherein, T(|β〉→|λ〉) is the conversion error, |β〉 is the maximum entangled state, |λ〉 is the expected output state information in the quantum entanglement preparation scenario, and p λ is the Schmidt vector of the output state information |λ〉, p β is the Schmidt vector of the maximum entangled state |β〉, r is the Schmidt vector of the quantum state output in the quantum entanglement preparation scenario, Prob(d) represents the set of all probability distribution vectors with dimension d, and d is the quantum system dimension of the output state information.
25. 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 12.
26. 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-12.
27. 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 12.
