Reduced density matrix reconstruction method, device, equipment, medium and program product
By splitting the n-bit quantum system and judging the measurement results, only part of the Pauli matrix is measured, which solves the problems of large measurement workload and low efficiency in the existing technology, and improves the efficiency of reduced density matrix reconstruction.
Patent Information
- Application Number
- CN202210169008.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-23
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-02-23
AI Technical Summary
When the existing technology obtains the reduced density matrix of each k-bit sub-quantum system in an n-bit quantum system, the measurement workload is large, the resource consumption is large, and the efficiency is low.
By splitting the n-bit quantum system, it is judged whether the k-order Pauli matrix coefficients of each k-bit sub-quantum system can be determined by the measurement result distribution information of the n-order Pauli matrix coefficients of the n-bit quantum system. Only the required The n-order Pauli matrix is measured, and the reduced density matrix is reconstructed based on the measurement results.
The measurement work of reduced density matrix reconstruction is optimized, which improves measurement efficiency, reduces the number of times that coefficient measurement work needs to be performed, and reduces laboratory resource requirements.
Smart Images

Figure CN114579926B
Abstract
Description
Technical Field
[0001] The present application relates to the field of quantum information technology, and in particular to a reduced density matrix reconstruction method, apparatus, computer equipment, storage medium and computer program product. Background Art
[0002] The reduced density matrix refers to the description of the quantum state of a k-bit sub-quantum system in an n-bit quantum system. It is an indispensable tool for analyzing quantum systems and plays an important role in the development of quantum signals and quantum technologies.
[0003] In the prior art, when obtaining the reduced density matrix corresponding to each k-bit sub-quantum system in an n-bit quantum system, a superconducting platform is used to perform coefficient measurement on the coefficients of the k-order Pauli matrix in the reduced density matrix corresponding to each k-bit sub-quantum system.
[0004] However, using the above method, the measurement workload is huge, the laboratory resources are consumed a lot, and the measurement efficiency is low. Summary of the invention
[0005] Based on this, it is necessary to provide a reduced density matrix reconstruction method, apparatus, computer equipment, computer-readable storage medium and computer program product that can improve the measurement efficiency of the reduced density matrix reconstruction work in order to address the above technical problems.
[0006] In a first aspect, the present application provides a reduced density matrix reconstruction method. The method comprises:
[0007] Performing a splitting process on the n-bit quantum system to obtain a target sub-quantum system set, the target sub-quantum system set includes a plurality of k-bit sub-quantum systems, and the k quantum bits contained in each k-bit sub-quantum system are not completely the same;
[0008] Determine whether each coefficient corresponding to the k-order Pauli matrix of each k-bit sub-quantum system in the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the n-order Pauli matrix of the n-bit quantum system;
[0009] According to the judgment result of the target sub-quantum system set, the target n-order Pauli matrix that needs to be measured by using the superconducting platform is determined among the coefficients corresponding to the n-order Pauli matrix, and the coefficients of the target n-order Pauli matrix are measured by using the superconducting platform;
[0010] Based on the measurement results, the coefficients corresponding to each k-order Pauli matrix in the target sub-quantum system set are determined, and based on the determined coefficients, the reduced density matrix corresponding to each k-bit sub-quantum system in the target sub-quantum system set is reconstructed.
[0011] In one embodiment, determining whether each coefficient corresponding to the k-order Pauli matrix of each k-bit sub-quantum system in the target sub-quantum system set can be determined by coefficient measurement result distribution information corresponding to the n-order Pauli matrix of the n-bit quantum system includes:
[0012] For an i-th n-order Pauli matrix of an n-bit quantum system, obtaining a first set of operation component elements corresponding to the i-th n-order Pauli matrix;
[0013] For the j-th k-order Pauli matrix corresponding to the target sub-quantum system set, obtaining a second operation component element set corresponding to the j-th k-order Pauli matrix;
[0014] If the second operation component element set is a subset of the first operation component element set, the coefficient corresponding to the j-th k-order Pauli matrix can be determined by the coefficient measurement result distribution information corresponding to the i-th n-order Pauli matrix;
[0015] If the second operation component element set is not a subset of the first operation component element set, the coefficient corresponding to the j-th k-order Pauli matrix cannot be determined by the coefficient measurement result distribution information corresponding to the ith n-order Pauli matrix.
[0016] In one embodiment, the determination result of the target sub-quantum system set includes a target matrix, and the size of the target matrix is Matrix element A in the target matrix ij It is used to characterize whether the coefficients corresponding to the j-th k-th Pauli matrix corresponding to the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the i-th n-th Pauli matrix of the n-bit quantum system, and according to the judgment result of the target sub-quantum system set, the target n-th Pauli matrix that needs to be measured by the superconducting platform among the coefficients corresponding to the n-th Pauli matrix is determined, including:
[0017] According to the target matrix corresponding to the target sub-quantum system set, the target vector corresponding to the target sub-quantum system set is calculated, and the size of the target vector is 3 n ×1, the vector elements of the target vector are 0 or 1;
[0018] According to the positions of non-zero vector elements in the target vector corresponding to the target sub-quantum system set, the target n-order Pauli matrix in the coefficients corresponding to the n-order Pauli matrix that needs to be measured using the superconducting platform is determined.
[0019] In one embodiment, calculating a target vector corresponding to the target sub-quantum system set according to a target matrix corresponding to the target sub-quantum system set includes:
[0020] The target vector corresponding to the target sub-quantum system set is calculated based on the target constraint condition and the target matrix corresponding to the target sub-quantum system set; the target constraint condition includes that the target vector corresponding to the target sub-quantum system set has the least number of non-zero vector elements.
[0021] In one embodiment, the target constraint includes:
[0022]
[0023] subject to:A T x≥1and x i ={0,1},
[0024] Where x represents the target vector, x i represents the i-th vector element of the target vector x, and A represents the target matrix.
[0025] In one embodiment, determining a target n-order Pauli matrix that needs to be measured using a superconducting platform among coefficients corresponding to an n-order Pauli matrix according to positions of non-zero vector elements in a target vector corresponding to a target sub-quantum system set in the target vector includes:
[0026] According to the position of the non-zero vector element in the target vector, determine the n-bit ternary number corresponding to the non-zero vector element;
[0027] Based on the n-bit ternary number, a target n-order Pauli matrix that needs to be measured using a superconducting platform is determined among coefficients corresponding to the n-order Pauli matrix.
[0028] In a second aspect, the present application also provides a reduced density matrix device. The device comprises:
[0029] A splitting module is used to perform splitting processing on the n-bit quantum system to obtain a target sub-quantum system set, where the target sub-quantum system set includes multiple k-bit sub-quantum systems, and the k quantum bits contained in each k-bit sub-quantum system are not completely the same;
[0030] A judgment module, used to judge whether each coefficient corresponding to the k-order Pauli matrix of each k-bit sub-quantum system in the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the n-order Pauli matrix of the n-bit quantum system;
[0031] A determination module is used to determine the target n-order Pauli matrix that needs to be measured using the superconducting platform among the coefficients corresponding to the n-order Pauli matrix according to the judgment result of the target sub-quantum system set, and measure the coefficients of the target n-order Pauli matrix using the superconducting platform;
[0032] The reconstruction module is used to determine the coefficients corresponding to each k-order Pauli matrix in the target sub-quantum system set based on the measurement results, and reconstruct the reduced density matrix corresponding to each k-bit sub-quantum system in the target sub-quantum system set based on the determined coefficients.
[0033] In one embodiment, the determination module is specifically used for:
[0034] For an i-th n-order Pauli matrix of an n-bit quantum system, obtaining a first set of operation component elements corresponding to the i-th n-order Pauli matrix;
[0035] For the j-th k-order Pauli matrix of the k-bit sub-quantum system corresponding to the target sub-quantum system set, obtaining a second operation component element set corresponding to the j-th k-order Pauli matrix;
[0036] If the second operation component element set is a subset of the first operation component element set, the coefficient corresponding to the j-th k-order Pauli matrix can be determined by the coefficient measurement result distribution information corresponding to the i-th n-order Pauli matrix;
[0037] If the second operation component element set is not a subset of the first operation component element set, the coefficient corresponding to the j-th k-order Pauli matrix cannot be determined by the coefficient measurement result distribution information corresponding to the ith n-order Pauli matrix.
[0038] In one embodiment, the determination result of the target sub-quantum system set includes a target matrix, and the size of the target matrix is Matrix element A in the target matrix ij It is used to characterize whether the coefficients corresponding to the j-th k-order Pauli matrix corresponding to the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the i-th n-order Pauli matrix of the n-bit quantum system. The determination module is specifically used for:
[0039] According to the target matrix corresponding to the target sub-quantum system set, the target vector corresponding to the target sub-quantum system set is calculated, and the size of the target vector is 3 n ×1, the vector elements of the target vector are 0 or 1;
[0040] According to the positions of non-zero vector elements in the target vector corresponding to the target sub-quantum system set, the target n-order Pauli matrix in the coefficients corresponding to the n-order Pauli matrix that needs to be measured using the superconducting platform is determined.
[0041] In one embodiment, the determination module is further specifically configured to:
[0042] The target vector corresponding to the target sub-quantum system set is calculated based on the target constraint condition and the target matrix corresponding to the target sub-quantum system set; the target constraint condition includes that the target vector corresponding to the target sub-quantum system set has the least number of non-zero vector elements.
[0043] In one embodiment, the target constraint includes:
[0044]
[0045] subject to:A T x≥1and x i ={0,1},
[0046] Where x represents the target vector, x i represents the i-th vector element of the target vector x, and A represents the target matrix.
[0047] In one embodiment, the determination module is further specifically configured to:
[0048] According to the position of the non-zero vector element in the target vector, determine the n-bit ternary number corresponding to the non-zero vector element;
[0049] Based on the n-bit ternary number, a target n-order Pauli matrix that needs to be measured using a superconducting platform is determined among coefficients corresponding to the n-order Pauli matrix.
[0050] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the reduced density matrix reconstruction method as described in any one of the first aspects above is implemented.
[0051] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the reduced density matrix reconstruction method as described in any one of the first aspects above is implemented.
[0052] In a fifth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the reduced density matrix reconstruction method described in any one of the first aspects above is implemented.
[0053] The reduced density matrix reconstruction method, device, computer equipment, storage medium and computer program product perform multiple splitting processes on an n-bit quantum system to obtain a target sub-quantum system set, wherein the target sub-quantum system set includes multiple k-bit sub-quantum systems, and the k quantum bits contained in each k-bit sub-quantum system are not completely the same; determine whether each coefficient corresponding to the k-order Pauli matrix of each k-bit sub-quantum system in the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the n-order Pauli matrix of the n-bit quantum system; determine the target n-order Pauli matrix that needs to be measured using a superconducting platform among the coefficients corresponding to the n-order Pauli matrix according to the judgment result of the target sub-quantum system set, and measure the coefficients of the target n-order Pauli matrix using the superconducting platform; determine the coefficients corresponding to each k-order Pauli matrix in the target sub-quantum system set based on the measurement result, and reconstruct the reduced density matrix corresponding to each k-bit sub-quantum system in the target sub-quantum system set based on the determined coefficients. The measurement of all k-order Pauli matrix coefficients corresponding to multiple k-bit sub-quantum systems in the target subsystem set is achieved by simply selecting a set of n-order Pauli matrices. There is no need to perform measurement work on the coefficients of each k-order Pauli matrix separately, which minimizes the number of coefficient measurement operations required, optimizes the reconstruction of the reduced density matrix, and improves the efficiency of the measurement work. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 is a schematic flow chart of a reduced density matrix reconstruction method in one embodiment;
[0055] Figure 2 is a flow chart of step 102 in one embodiment;
[0056] Figure 3 is a flow chart of step 103 in one embodiment;
[0057] Figure 4 is a flow chart of step 302 in one embodiment;
[0058] Figure 5 is a schematic flow chart of a reduced density matrix reconstruction method in another embodiment;
[0059] Figure 6 is a structural block diagram of a reduced density matrix reconstruction device in one embodiment;
[0060] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0062] Quantum state reconstruction reads out partial information by continuously measuring the system and recombining it to obtain complete information about the quantum state in the quantum system. The density matrix ρ is generally used to describe the state of the quantum system. Any density matrix can be regarded as a linear combination of a set of Pauli matrices. The Pauli matrix is a set of 2×2 matrices, defined as follows:
[0063]
[0064] For an n-bit system ρ(2 n ×2 n ) is expanded as follows:
[0065]
[0066] Among them, P i is the direct product form of the Pauli matrix, here called the n-th order Pauli matrix. For an n-bit system, ν i It corresponds to P i The expansion coefficients of such unknown coefficients ν i Total 4 n -1.
[0067] As long as all the expansion coefficients are obtained through measurement, the density matrix of the quantum state of the system can be calculated according to the above formula. The process of obtaining all the coefficients through multiple measurements and calculating the density matrix is the quantum state reconstruction.
[0068] The entire information of the density matrix ρ cannot be read out through a single measurement, so it is necessary to gradually measure and read out the information of ρ through multiple different measurement experiments, and then calculate the complete density matrix ρ through subsequent processing of the experimental data. In this process, different Pauli matrix expansion coefficients are measured by modifying the experimental settings of each measurement.
[0069] The reduced density matrix refers to the description of the quantum state of a k-bit sub-quantum system in an n-bit quantum system. It is an indispensable tool for analyzing quantum systems and plays an important role in the development of quantum signals and quantum technology. In the prior art, when obtaining the reduced density matrix corresponding to each k-bit sub-quantum system in an n-bit quantum system, the expansion coefficients of the k-order Pauli matrix contained in the reduced density matrix corresponding to each k-bit sub-quantum system (that is, the measurement expectation value corresponding to the Pauli matrix as an observable operator) are measured separately with the help of a superconducting platform. In the traditional QST method, with the help of a superconducting platform, only the expansion coefficients of the k-order Pauli matrix contained in the reduced density matrix corresponding to each k-bit sub-quantum system are measured. The coefficients corresponding to the k-order Pauli matrices of the density matrix ρ can be measured separately to obtain the coefficients corresponding to all n-order Pauli matrices in the density matrix ρ. For the coefficient measurement of each k-order Pauli matrix, M measurements need to be performed. Therefore, the number of measurements required for a k-bit quantum system in an n-bit quantum system is 3 k *M times.
[0070] However, the n-bit quantum system consists of The coefficient measurement work is performed for the coefficients of the k-order Pauli matrix contained in each k-bit quantum system. The measurement workload is huge, the laboratory resources required are huge, and the measurement efficiency is low.
[0071] In view of this, an embodiment of the present application provides a reduced density matrix reconstruction method, which can improve the measurement efficiency of reduced density matrix reconstruction measurement work.
[0072] It should be noted that the reduced density matrix reconstruction method provided in the embodiment of the present application may be executed by a reduced density matrix reconstruction device, which may be implemented as part or all of a terminal through software, hardware, or a combination of software and hardware.
[0073] In the following method embodiments, the execution subject is taken as an example to illustrate, wherein the terminal can be a personal computer, a laptop computer, a media player, a smart TV, a smart phone, a tablet computer, and a portable wearable device, etc. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server.
[0074] Please refer to Figure 1 , which shows a flow chart of a reduced density matrix reconstruction method provided by an embodiment of the present application. Figure 1 As shown, the reduced density matrix reconstruction method may include the following steps:
[0075] Step 101, performing splitting processing on an n-bit quantum system to obtain a target sub-quantum system set.
[0076] Among them, the set of target sub - quantum systems includes multiple k - qubit sub - quantum systems, and the k qubits included in each k - qubit sub - quantum system are not all the same.
[0077] Optionally, determine a k (k < n), and use the method of random sampling to select k qubits from the n qubits in the n - qubit quantum system to form a k - qubit sub - quantum system, and obtain
[0078] Step 102: Determine whether each coefficient corresponding to the k - th order Pauli matrix of each k - qubit sub - quantum system in the set of target sub - quantum systems can be determined by the distribution information of the measurement results of the coefficients corresponding to the n - th order Pauli matrix of the n - qubit quantum system.
[0079] Optionally, for each k - th order Pauli matrix in a certain k - qubit sub - quantum system, determine whether the coefficient corresponding to this k - th order Pauli matrix can be obtained from the distribution information of the measurement results of the coefficients corresponding to the n - th order Pauli matrix of the n - qubit quantum system. If it can, then the coefficient corresponding to this k - th order Pauli matrix can be determined by the distribution information of the measurement results of the coefficients corresponding to the n - th order Pauli matrix of the n - qubit quantum system; otherwise, the coefficient corresponding to this k - th order Pauli matrix cannot be determined by the distribution information of the measurement results of the coefficients corresponding to the n - th order Pauli matrix of the n - qubit quantum system.
[0080] Step 103: According to the judgment result of the set of target sub - quantum systems, determine the target n - th order Pauli matrix whose coefficients need to be measured using the superconducting platform, and use the superconducting platform to measure the coefficients of the target n - th order Pauli matrix.
[0081] Optionally, the superconducting platform has an XYZ three - dimensional space, including the X - axis, Y - axis, and Z - axis. For an n - th order Pauli matrix whose corresponding set of Pauli matrix elements B = {B1, B2,..., B n}, according to the types of Pauli matrices corresponding to each element in its set of Pauli matrix elements B = {B1, B2,..., B n}, determine the direction in which each qubit in this n - th order Pauli matrix should be rotated. For example, when the type of the Pauli matrix corresponding to the i - th Pauli matrix element B i is X, rotate the i - th qubit to the X - axis; when the type of the Pauli matrix corresponding to the i - th Pauli matrix element B i is Y, rotate the i - th qubit to the Y - axis; when the type of the Pauli matrix corresponding to the i - th Pauli matrix element B i is Z, rotate the i - th qubit to the Z - axis.
[0082] The superconducting platform determines the type of pulse signal to be reflected based on the rotation direction of each qubit. Then it sends a pulse signal of this type to enable each qubit to rotate to the corresponding axis. However, the position where the qubit finally stops on each axis is random, and it may stop on the positive half axis or the negative half axis. Therefore, the final stop position of each qubit corresponding to the n-order Pauli matrix has a total of 2 n For these two situations n situations and determine the number of times each situation occurs.
[0083] Take a Pauli matrix in a 3-bit quantum system (abbreviated as T = XYZ) as an example, the possible situations include: X ↑ Y ↑ Z ↑ , X ↑ Y ↑ Z ↓ , X ↑ Y ↓ Z ↑ , X ↑ Y ↓ Z ↓ , X ↓ Y ↑ Z ↑ , X ↓ Y ↑ Z ↓ , X ↓ Y ↓ Z ↑ , X ↓ Y ↓ Z ↓ , where ↑ means the quantum bit stops at the positive half axis, and ↓ means the quantum bit stops at the negative half axis, that is, X ↑ Indicates that the quantum bit stops at the positive half axis of the X-axis.
[0084] Optionally, after determining the target n-order Pauli matrix, for each target n-order Pauli matrix, M measurement operations are performed using the superconducting platform. For each target n-order Pauli matrix, the probability distribution of various situations in the M measurement operations is statistically analyzed to obtain coefficient measurement result distribution information corresponding to the target n-order Pauli matrix.
[0085] Step 104, based on the measurement results, determine the coefficients corresponding to each k-order Pauli matrix in the target sub-quantum system set, and reconstruct the reduced density matrix corresponding to each k-bit sub-quantum system in the target sub-quantum system set based on the determined coefficients.
[0086] Optional, from 2 above nThe target situation that meets the k-order Pauli matrix measurement scenario is determined by the various situations, the number of each target situation is counted, and the coefficient corresponding to the k-order Pauli matrix is finally calculated according to the number of each target situation.
[0087] Taking the reduced density matrix of the above 3-bit quantum system to reconstruct any 2-bit sub-quantum system as an example, for a 2-order Pauli matrix corresponding to a 2-bit sub-quantum system (abbreviated as S=XY), the above 2 n The target cases that meet the k-order Pauli matrix measurement scenario include: ↑ Y ↑ Z ↑ , X ↑ Y ↑ Z ↓ , X ↑ Y ↓ Z ↑ , X ↑ Y ↓ Z ↓ , X ↓ Y ↑ Z ↑ , X ↓ Y ↑ Z ↓ , X ↓ Y ↓ Z ↑ , X ↓ Y ↓ Z ↓ Among them, for the second-order Pauli matrix XY, X appears ↑ Y ↑ The situations include: X ↑ Y ↑ Z ↑ , X ↑ Y ↑ Z ↓ Then, using the following formula, we can calculate the coefficients corresponding to the second-order Pauli matrix S=XY. The formula is expressed as follows:
[0088]
[0089] Where N is the total number of measurements; a ij The jth eigenvalue corresponding to the Pauli matrix represented by N has only two cases: 1 or -1. ij represents the number of occurrences of the corresponding eigenvalue. ij , assuming that when measuring the coefficients of a certain n-order Pauli matrix of an n-bit quantum system, the m-th quantum bit finally stops at the positive half axis of each axis, then a m =1, otherwise a m = -1. Therefore, a ij=a1*a2*…*a n .
[0090] That is, the calculation formula of the coefficients corresponding to the above second-order Pauli matrix S=XY can be converted to:
[0091]
[0092] in, Represents X ↑ Y ↑ Z ↑ The number of occurrences, Represents X ↑ Y ↑ Z ↓ The number of occurrences, Represents X ↑ Y ↓ Z ↑ The number of occurrences, Represents X ↑ Y ↓ Z ↓ The number of occurrences, Represents X ↓ Y ↑ Z ↑ The number of occurrences, Represents X ↓ Y ↑ Z ↓ The number of occurrences, Represents X ↓ Y ↓ Z ↑ The number of occurrences, Represents X ↓ Y ↓ Z ↓ Number of occurrences.
[0093] Optionally, for each k-bit sub-quantum system, coefficients corresponding to each k-order Pauli matrix contained therein are calculated, and the reduced density matrix corresponding to the k-bit sub-quantum system can be obtained based on the coefficients corresponding to each k-order Pauli matrix.
[0094] In the above-mentioned reduced density matrix reconstruction method, the n-bit quantum system is subjected to multiple splitting processes to obtain a target sub-quantum system set. By determining the target sub-quantum system set based on the judgment result of the target sub-quantum system set, the target n-order Pauli matrix that needs to be measured using a superconducting platform among the coefficients corresponding to the n-order Pauli matrix is determined, thereby achieving the purpose of selecting a group of n-order Pauli matrices for measuring all k-order Pauli matrix coefficients in the target sub-quantum system set. There is no need to perform measurement work on the coefficients of each k-order Pauli matrix separately, which reduces the number of times the coefficient measurement work needs to be performed as much as possible, optimizes the reduced density matrix work, and improves the efficiency of the measurement work.
[0095] In the implementation of this application, see Figure 2 ,based on Figure 1 In the embodiment shown, this embodiment involves step 102 of determining whether each coefficient corresponding to the k-order Pauli matrix of each k-bit sub-quantum system in the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the n-order Pauli matrix of the n-bit quantum system, including the following steps:
[0096] Step 201 : for an i-th n-order Pauli matrix of an n-bit quantum system, obtain a first set of operation component elements corresponding to the i-th n-order Pauli matrix.
[0097] Optionally, the quantum bits of the n-bit quantum system are numbered to obtain a quantum bit number set N1={D1, D2, ..., D n}, where D n represents the number of the nth quantum bit. For any n-th order Pauli matrix in Indicates the Pauli matrix type corresponding to the nth quantum bit.
[0098] Get T n The Pauli matrix element set B for direct product operation = {B1, B2, ..., B n} and the number of each quantum bit, and the number corresponding to each quantum bit and the Pauli matrix type are combined to form an element of the first operation component element set. For example, the representation form of the nth element in the first operation component element set is B n ·Dn, then the corresponding first operation component element set S1 = {B1·D1, B2·D2, ..., B n ·Dn}.
[0099] Step 202: For the j-th k-order Pauli matrix corresponding to the target sub-quantum system set, obtain a second operation component element set corresponding to the j-th k-order Pauli matrix.
[0100] Optionally, all k-order Pauli matrices contained in all k-bit sub-quantum systems in the target sub-quantum system set are combined into a k-order Pauli matrix set, and the j-th element in the k-order Pauli matrix set is used as the j-th k-order Pauli matrix.
[0101] Optionally, since the k-bit sub-quantum system is constructed by selecting k qubits from the n qubits in the n-bit quantum system, the corresponding numbers of the qubits in the k-bit sub-quantum system in the n-bit quantum system are obtained to obtain the number set N2 = {E1, E2, ..., E k},in For the k-th order Pauli matrix in Get the Pauli matrix element set C = {C1, C2, ..., C k}.
[0102] Similarly, the numbers and Pauli matrix types corresponding to the qubits of the k-bit quantum subsystem are combined to form the elements of the second operation component element set. The representation form of the kth element in the second operation component element set is B k ·E k , then the corresponding second operation component element set S1 = {B k ·E1,B2 ·E2,…,B k ·E k}.
[0103] Step 203: If the second operation component element set is a subset of the first operation component element set, the coefficients corresponding to the j-th k-order Pauli matrix can be determined by the coefficient measurement result distribution information corresponding to the ith n-order Pauli matrix.
[0104] Optionally, with the help of a character recognition algorithm, it is determined whether each element in the second operation component element set is a component element in the first operation component element set. If each element in the second operation component element set is an element in the first operation component element set, it means that the second operation component element set is a subset of the first operation component element set.
[0105] Step 204: If the second operation component element set is not a subset of the first operation component element set, the coefficients corresponding to the j-th k-order Pauli matrix cannot be determined by the coefficient measurement result distribution information corresponding to the ith n-order Pauli matrix.
[0106] Optionally, if there is an element in the second operation component element set that is not an element in the first operation component element set, it means that the second operation component element set is not a subset of the first operation component element set.
[0107] In this embodiment, by obtaining a first set of operating constituent elements corresponding to the ith n-order Pauli matrix in the n-bit quantum system and a second set of operating constituent elements corresponding to the j-th k-order Pauli matrix corresponding to the target sub-quantum system set, it is determined that the coefficients corresponding to the j-th k-order Pauli matrix can be determined by the coefficient measurement result distribution information corresponding to the ith n-order Pauli matrix when the second set of operating constituent elements is a subset of the first set of operating constituent elements, thereby realizing the judgment of whether each coefficient corresponding to the k-order Pauli matrix of each k-bit sub-quantum system in the target sub-quantum system set can be determined by the coefficient corresponding to the n-order Pauli matrix of the n-bit quantum system. The judgment method is simple and has a small amount of calculation.
[0108] In the implementation of this application, the determination result of the target sub-quantum system set includes a target matrix, and the size of the target matrix is Matrix element A in the target matrix ij It is used to characterize whether the coefficients corresponding to the j-th k-order Pauli matrix corresponding to the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the i-th n-order Pauli matrix of the n-bit quantum system. Figure 3 As shown, based on Figure 1 The embodiment shown in the figure is related to determining the target n-order Pauli matrix that needs to be measured using the superconducting platform among the coefficients corresponding to the n-order Pauli matrix according to the judgment result of the target sub-quantum system set in step 103, including the following steps:
[0109] Step 301, according to the target matrix corresponding to the target sub-quantum system set, calculate and obtain the target vector corresponding to the target sub-quantum system set.
[0110] The size of the target vector is 3 n ×1, the vector elements of the target vector are either 0 or 1.
[0111] Optional, the target matrix A ij The elements are 0 or 1. The coefficients corresponding to the j-th k-order Pauli matrix in all the k-order Pauli matrices contained in the target sub-quantum system set can be determined by the coefficients corresponding to the i-th n-order Pauli matrix, then A ij =1, otherwise A ij =0.
[0112] Optionally, when the target matrix corresponding to the target sub-quantum system set is calculated, when the number of non-zero elements in the vector corresponding to the target sub-quantum system set is less than a preset threshold, the vector is used as the target vector.
[0113] Step 302, according to the position of the non-zero vector elements in the target vector corresponding to the target sub-quantum system set, determine the target n-order Pauli matrix in the coefficients corresponding to the n-order Pauli matrix that needs to be measured using the superconducting platform.
[0114] Optionally, the terminal stores a mapping relationship table between the position of the non-zero element in the target vector and the n-order Pauli matrix. After obtaining the position of the non-zero element in the target vector, the terminal obtains the n-order Pauli matrix corresponding to the position by looking up the table, which is the target n-order Pauli matrix.
[0115] In this embodiment, the target vector corresponding to the target sub-quantum system set is calculated according to the target matrix corresponding to the target sub-quantum system set, and the target n-order Pauli matrix that needs to be measured using the superconducting platform in the coefficients corresponding to the n-order Pauli matrix is determined according to the positions of the non-zero vector elements in the target vector corresponding to the target sub-quantum system set in the target vector, thereby optimizing the reconstruction of the reduced density matrix and improving the efficiency of the measurement work.
[0116] In the embodiment of the present application, based on Figure 3 The embodiment shown in FIG. 1 is related to the implementation process of calculating the target vector corresponding to the target sub-quantum system set according to the target matrix corresponding to the target sub-quantum system set in step 301, and the implementation process includes:
[0117] The target vector corresponding to the target sub-quantum system set is calculated based on the target constraint condition and the target matrix corresponding to the target sub-quantum system set; the target constraint condition includes that the target vector corresponding to the target sub-quantum system set has the least number of non-zero vector elements.
[0118] Optionally, the target constraint includes:
[0119]
[0120] subject to:A T x≥1and x i ={0,1},
[0121] Where x represents the target vector, x i represents the i-th vector element of the target vector x, and A represents the target matrix.
[0122] In an embodiment of the present application, a target vector corresponding to a sub-quantum system set is calculated based on target constraints and a target matrix corresponding to a target sub-quantum system set, so as to obtain a minimum measurement object corresponding to the target sub-quantum system set, optimize the reduced density matrix reconstruction work, and improve the efficiency of the measurement work.
[0123] In the embodiments of the present application, Figure 4 As shown, based on Figure 3 The embodiment shown in FIG. 3 is related to the implementation process of determining the target n-order Pauli matrix that needs to be measured using the superconducting platform in the coefficients corresponding to the n-order Pauli matrix according to the positions of the non-zero vector elements in the target vector corresponding to the target sub-quantum system set in step 302. The implementation process includes:
[0124] Step 401, determining the n-bit ternary number corresponding to the non-zero vector element according to the position of the non-zero vector element in the target vector.
[0125] The position of the non-zero vector element in the target vector refers to the number of vector elements in the entire target vector that the non-zero vector element is.
[0126] Optionally, for a certain non-zero vector element, determine the nth vector element of the entire target vector that the non-zero vector element is, assuming that the non-zero vector element is the i-th vector element of the entire target vector, then subtract 1 from i, that is, obtain the k value, k=i-1, convert the k value into a ternary number, and represent the ternary number as an n-bit ternary number, where if the Lth digit of the ternary number is 0, then the Lth Pauli matrix element in the n-order Pauli matrix is taken as X; if the Lth digit of the ternary number is 1, then the Lth Pauli matrix element is taken as Y; if the Lth digit of the ternary number is 2, then the Lth Pauli matrix element is taken as Z. Determine the target coefficient that needs to be measured based on the obtained ternary number. For example, if k=1, then the converted ternary number is 0001, and the n-order Pauli matrix that needs to perform the coefficient measurement work
[0127] Step 402 : Based on the n-bit ternary number, determine a target n-order Pauli matrix that needs to be measured using a superconducting platform among coefficients corresponding to the n-order Pauli matrix.
[0128] In this embodiment, the n-bit ternary number corresponding to the non-zero vector element is determined according to the position of the non-zero vector element in the target vector, and based on the n-bit ternary number, the target n-order Pauli matrix whose coefficients correspond to the n-order Pauli matrix and need to be measured using a superconducting platform is determined, thereby achieving the determination of the n-order Pauli matrix that ultimately needs to use a superconducting platform to measure the coefficients. The method is simple and the amount of calculation is small.
[0129] In the embodiments of the present application, Figure 5 As shown, a reduced density matrix reconstruction method is provided, comprising the following steps:
[0130] Step 501: perform multiple splitting processes on an n-bit quantum system to obtain a target sub-quantum system set.
[0131] The target sub-quantum system set includes multiple k-bit sub-quantum systems, and the k quantum bits contained in each k-bit sub-quantum system are not completely the same.
[0132] Step 502: for an i-th n-order Pauli matrix of an n-bit quantum system, obtain a first set of operation component elements corresponding to the i-th n-order Pauli matrix.
[0133] Step 503: For the j-th k-order Pauli matrix corresponding to the target sub-quantum system set, obtain a second operation component element set corresponding to the j-th k-order Pauli matrix.
[0134] Step 504: If the second operation component element set is a subset of the first operation component element set, the coefficients corresponding to the j-th k-order Pauli matrix can be determined by the coefficient measurement result distribution information corresponding to the ith n-order Pauli matrix.
[0135] Step 505: If the second operation component element set is not a subset of the first operation component element set, the coefficients corresponding to the j-th k-order Pauli matrix cannot be determined by the coefficient measurement result distribution information corresponding to the ith n-order Pauli matrix.
[0136] Step 506: Generate a target matrix corresponding to the target sub-quantum system set according to the above judgment result.
[0137] The size of the target matrix is Matrix element A in the target matrix ij It is used to characterize whether the corresponding coefficients of the j-th k-order Pauli matrix corresponding to the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the i-th n-order Pauli matrix of the n-bit quantum system.
[0138] Step 507 , calculating a target vector corresponding to the target sub-quantum system set based on the target constraint condition and the target matrix corresponding to the target sub-quantum system set.
[0139] The size of the target vector is 3 n ×1, the vector elements of the target vector are 0 or 1, and the target constraints include:
[0140]
[0141] subject to:A T x≥1and x i ={0,1},
[0142] Where x represents the target vector, x i represents the i-th vector element of the target vector x, and A represents the target matrix.
[0143] Step 508: Determine the n-bit ternary number corresponding to the non-zero vector element according to the position of the non-zero vector element in the target vector.
[0144] Step 509 , based on the n-bit ternary number, determine the target n-order Pauli matrix that needs to be measured using the superconducting platform among the coefficients corresponding to the n-order Pauli matrix.
[0145] Step 510, using a superconducting platform to measure the coefficients of the target n-order Pauli matrix, and based on the measurement results, determine the coefficients corresponding to each of the k-order Pauli matrices in the target sub-quantum system set.
[0146] Step 511: reconstruct the reduced density matrix corresponding to each of the k-bit sub-quantum systems in the target sub-quantum system set based on the determined coefficients.
[0147] In the above-mentioned reduced density matrix reconstruction method, by selecting a group of n-order Pauli matrices to realize the measurement of all k-order Pauli matrix coefficients corresponding to multiple k-bit sub-quantum systems in the target sub-quantum system set, there is no need to perform measurement work on the coefficients of each k-order Pauli matrix, the number of times the coefficient measurement work needs to be performed is reduced as much as possible, the reduced density matrix work is optimized, and the efficiency of the measurement work is improved; and by calculating the target vector corresponding to the target sub-quantum system set based on the target constraint conditions and the target matrix corresponding to the target sub-quantum system set, the purpose of selecting a group of n-order Pauli matrices containing the least number of them for the measurement of all k-order Pauli matrix coefficients is achieved, the number of n-order Pauli matrices that need to perform coefficient measurement work is reduced, the reduced density matrix reconstruction work is greatly optimized, the number of measurements is further reduced, and the efficiency of the measurement work is improved.
[0148] The following is an experimental result of verifying the reduced density matrix reconstruction method of the embodiment of the present application.
[0149] This scheme can achieve the reconstruction of the reduced density matrix of any k-bit quantum system in an n-bit quantum system, while the number of measurement settings used is greatly reduced. This scheme is applied to 4-bit, 5-bit, 6-bit, 7-bit, 8-bit, 9-bit, and 10-bit systems to optimize the number of measurement settings required to reconstruct any 2-bit reduced density matrix. The results are as follows:
[0150] Number of bits 4 5 6 7 8 9 10 Traditional QST 54 90 135 189 252 324 405 This program 9 11 12 12 14 15 16
[0151] It can be seen that our method has significantly reduced the number of QST measurements compared to traditional ones.
[0152] The following example uses the reconstruction of an arbitrary 2-bit reduced density matrix in a 4-bit quantum system to illustrate the advantages of our method over the traditional QST method:
[0153] There are a total of 16 unknown coefficients that need to be measured for a 2-bit quantum state, which are:
[0154] P i ∈S p ={II,IX,IY,IZ,XI,XX,XY,XZ,YI,YX,YY,YZ,ZI,ZX,ZY,ZZ}
[0155] The measurement setup required for traditional QST is (including 9 measurements):
[0156] {XX,XY,XZ,YX,YY,YZ,ZX,ZY,ZZ}
[0157] All of the above 9 measurements must be used to measure the 16 unknown coefficients, and none of them can be missing.
[0158] If we randomly select two bits in a 4-bit quantum system, there are a total of 6 possible combinations, so a total of 54 measurements are required.
[0159] (2) After optimization, the scheme of the present application has only 9 fourth-order Pauli matrices that need to be measured for coefficient measurement, and the elements are:
[0160] {XXXZ,XYYX,XZZY,YXYY,YYZZ,YZXX,ZXZX,ZYXY,ZZYZ}
[0161] The effects are as follows:
[0162] Under the 4th-order Pauli matrix XXXZ, the coefficients of the following 6 2nd-order Pauli matrices can be measured: {X1X2, X1X3, X1Z4, X2X3, X2Z4, X3Z4};
[0163] The coefficients of the following six 2nd-order Pauli matrices can be measured under the 4th-order Pauli matrix XYYX: {X1Y2, X1Y3, X1X4, Y2Y3, Y2X4, Y3X4};
[0164] The coefficients of the following six 2nd-order Pauli matrices can be measured under the 4th-order Pauli matrix XZZY: {X1Z2, X1Z3, X1Y4, Z2Z3, Z2Y4, Z3Y4};
[0165] The coefficients of the following six 2nd-order Pauli matrices can be measured under the 4th-order Pauli matrix YXYY: {Y1X2, Y1Y3, Y1Y4, X2Y3, X2Y4, Y3Y4};
[0166] The coefficients of the following six 2nd-order Pauli matrices can be measured under the 4th-order Pauli matrix YYZZ: {Y1Y2, Y1Z3, Y1Z4, Y2Z3, Y2Z4, Z3Z4};
[0167] The coefficients of the following six 2nd-order Pauli matrices can be measured under the 4th-order Pauli matrix YZXX: {Y1Z2, Y1X3, Y1X4, Z2X3, Z2X4, X3X4};
[0168] The coefficients of the following six 2nd-order Pauli matrices can be measured under the 4th-order Pauli matrix ZXZX: {Z1X2, Z1Z3, Z1X4, X2Z3, X2X4, Z3X4};
[0169] The coefficients of the following six 2nd-order Pauli matrices can be measured under the 4th-order Pauli matrix ZYXY: {Z1Y2, Z1X3, Z1Y4, Y2X3, Y2Y4, X3Y4};
[0170] The coefficients of the following six 2nd-order Pauli matrices can be measured under the 4th-order Pauli matrix ZZYZ: {Z1Z2, Z1Y3, Z1Z4, Z2Y3, Z2Z4, Y3Z4}.
[0171] Among them, X1X2 indicates that the Pauli matrix type corresponding to the first quantum bit is X and the Pauli matrix type corresponding to the second quantum bit is X, and the rest are similar and will not be elaborated on.
[0172] The 9 4th-order Pauli matrices contain all 54 second-order Pauli matrices of the 6 2-bit reduced density matrices. It can be seen that the above 9 measurements can measure all 54 unknown coefficients and then reconstruct all 2-bit reduced density matrices.
[0173] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0174] Based on the same inventive concept, the embodiment of the present application also provides a reduced density matrix reconstruction device for implementing the reduced density matrix reconstruction method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more reduced density matrix reconstruction device embodiments provided below can refer to the limitations of the reduced density matrix reconstruction method above, and will not be repeated here.
[0175] In one embodiment, Figure 6 As shown, a reduced density matrix reconstruction device is provided, comprising: a splitting module, a judging module, a determining module and a reconstruction module, wherein:
[0176] A splitting module is used to perform splitting processing on the n-bit quantum system to obtain a target sub-quantum system set, where the target sub-system set includes multiple k-bit sub-quantum systems, and the k quantum bits contained in each k-bit sub-quantum system are not completely the same;
[0177] A judgment module, used to judge whether each coefficient corresponding to the k-order Pauli matrix of each k-bit sub-quantum system in the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the n-order Pauli matrix of the n-bit quantum system;
[0178] A determination module is used to determine the target n-order Pauli matrix that needs to be measured using the superconducting platform among the coefficients corresponding to the n-order Pauli matrix according to the judgment result of the target sub-quantum system set, and measure the coefficients of the target n-order Pauli matrix using the superconducting platform;
[0179] The reconstruction module is used to determine the coefficients corresponding to each k-order Pauli matrix in the target sub-quantum system set based on the measurement results, and reconstruct the reduced density matrix corresponding to each k-bit sub-quantum system in the target sub-quantum system set based on the determined coefficients.
[0180] In one embodiment, the determination module is specifically used for:
[0181] For an i-th n-order Pauli matrix of an n-bit quantum system, obtaining a first set of operation component elements corresponding to the i-th n-order Pauli matrix;
[0182] For the j-th k-order Pauli matrix corresponding to the target sub-quantum system set, obtaining a second operation component element set corresponding to the j-th k-order Pauli matrix;
[0183] If the second operation component element set is a subset of the first operation component element set, the coefficient corresponding to the j-th k-order Pauli matrix can be determined by the coefficient measurement result distribution information corresponding to the i-th n-order Pauli matrix;
[0184] If the second operation component element set is not a subset of the first operation component element set, the coefficient corresponding to the j-th k-order Pauli matrix cannot be determined by the coefficient measurement result distribution information corresponding to the ith n-order Pauli matrix.
[0185] In one embodiment, the determination result of the target sub-quantum system set includes a target matrix, and the size of the target matrix is Matrix element A in the target matrix ij It is used to characterize whether the coefficients corresponding to the j-th k-order Pauli matrix corresponding to the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the i-th n-order Pauli matrix of the n-bit quantum system. The determination module is specifically used for:
[0186] According to the target matrix corresponding to the target sub-quantum system set, the target vector corresponding to the target sub-quantum system set is calculated, and the size of the target vector is 3 n ×1, the vector elements of the target vector are 0 or 1;
[0187] According to the positions of non-zero vector elements in the target vector corresponding to the target sub-quantum system set, the target n-order Pauli matrix in the coefficients corresponding to the n-order Pauli matrix that needs to be measured using the superconducting platform is determined.
[0188] In one embodiment, the determination module is further specifically configured to:
[0189] The target vector corresponding to the target sub-quantum system set is calculated based on the target constraint condition and the target matrix corresponding to the target sub-quantum system set; the target constraint condition includes that the target vector corresponding to the target sub-quantum system set has the least number of non-zero vector elements.
[0190] In one embodiment, the target constraints include:
[0191]
[0192] subject to:A T x≥1and x i ={0,1},
[0193] Where x represents the target vector, x i represents the i-th vector element of the target vector x, and A represents the target matrix.
[0194] In one embodiment, the determination module is further specifically configured to:
[0195] According to the position of the non-zero vector element in the target vector, determine the n-bit ternary number corresponding to the non-zero vector element;
[0196] Based on the n-bit ternary number, a target n-order Pauli matrix that needs to be measured using a superconducting platform is determined among coefficients corresponding to the n-order Pauli matrix.
[0197] Each module in the above-mentioned reduced density matrix reconstruction device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0198] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 7As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a reduced density matrix reconstruction method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0199] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0200] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0201] Performing a splitting process on the n-bit quantum system to obtain a target sub-quantum system set, the target sub-quantum system set includes a plurality of k-bit sub-quantum systems, and the k quantum bits contained in each k-bit sub-quantum system are not completely the same;
[0202] Determine whether each coefficient corresponding to the k-order Pauli matrix of each k-bit sub-quantum system in the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the n-order Pauli matrix of the n-bit quantum system;
[0203] According to the judgment result of the target sub-quantum system set, a target n-order Pauli matrix that needs to be measured using a superconducting platform is determined among the coefficients corresponding to the n-order Pauli matrix, and the coefficients of the target n-order Pauli matrix are measured using the superconducting platform;
[0204] Based on the measurement results, the coefficients corresponding to each k-order Pauli matrix in the target sub-quantum system set are determined, and based on the determined coefficients, the reduced density matrix corresponding to each k-bit sub-quantum system in the target sub-quantum system set is reconstructed.
[0205] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0206] For the i-th n-order Pauli matrix of the n-bit quantum system, obtain a first set of operation component elements corresponding to the i-th n-order Pauli matrix; for the j-th k-order Pauli matrix corresponding to the target sub-quantum system set, obtain a second set of operation component elements corresponding to the j-th k-order Pauli matrix; if the second set of operation component elements is a subset of the first set of operation component elements, then the coefficients corresponding to the j-th k-order Pauli matrix can be determined by the coefficient measurement result distribution information corresponding to the i-th n-order Pauli matrix; if the second set of operation component elements is not a subset of the first set of operation component elements, then the coefficients corresponding to the j-th k-order Pauli matrix cannot be determined by the coefficient measurement result distribution information corresponding to the i-th n-order Pauli matrix.
[0207] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0208] According to the target matrix corresponding to the target sub-quantum system set, the target vector corresponding to the target sub-quantum system set is calculated, and the size of the target vector is 3 n ×1, the vector element of the target vector is 0 or 1, where the judgment result of the target sub-quantum system set includes a target matrix, and the size of the target matrix is Matrix element A in the target matrix ij It is used to characterize whether the corresponding coefficients of the j-th k-order Pauli matrix corresponding to the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the ith n-order Pauli matrix of the n-bit quantum system; according to the position of the non-zero vector elements in the target vector corresponding to the target sub-quantum system set in the target vector, determine the target n-order Pauli matrix that needs to be measured using the superconducting platform among the coefficients corresponding to the n-order Pauli matrix.
[0209] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0210] The target vector corresponding to the target sub-quantum system set is calculated based on the target constraint condition and the target matrix corresponding to the target sub-quantum system set; the target constraint condition includes that the target vector corresponding to the target sub-quantum system set has the least number of non-zero vector elements.
[0211] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0212] The target constraints include:
[0213]
[0214] subject to:A Tx≥1and x i ={0,1},
[0215] Where x represents the target vector, x i represents the i-th vector element of the target vector x, and A represents the target matrix.
[0216] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0217] According to the position of the non-zero vector element in the target vector, the n-bit ternary number corresponding to the non-zero vector element is determined; based on the n-bit ternary number, the coefficients corresponding to the n-order Pauli matrix are determined, and the target n-order Pauli matrix that needs to be measured using the superconducting platform is determined.
[0218] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0219] Performing a splitting process on the n-bit quantum system to obtain a target sub-quantum system set, the target sub-quantum system set includes a plurality of k-bit sub-quantum systems, and the k quantum bits contained in each k-bit sub-quantum system are not completely the same;
[0220] Determine whether each coefficient corresponding to the k-order Pauli matrix of each k-bit sub-quantum system in the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the n-order Pauli matrix of the n-bit quantum system;
[0221] According to the judgment result of the target sub-quantum system set, the target n-order Pauli matrix that needs to be measured by using the superconducting platform is determined among the coefficients corresponding to the n-order Pauli matrix, and the coefficients of the target n-order Pauli matrix are measured by using the superconducting platform;
[0222] Based on the measurement results, the coefficients corresponding to each k-order Pauli matrix in the target sub-quantum system set are determined, and based on the determined coefficients, the reduced density matrix corresponding to each k-bit sub-quantum system in the target sub-quantum system set is reconstructed.
[0223] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0224] For the i-th n-order Pauli matrix of the n-bit quantum system, obtain a first set of operation component elements corresponding to the i-th n-order Pauli matrix; for the j-th k-order Pauli matrix corresponding to the target sub-quantum system set, obtain a second set of operation component elements corresponding to the j-th k-order Pauli matrix; if the second set of operation component elements is a subset of the first set of operation component elements, then the coefficients corresponding to the j-th k-order Pauli matrix can be determined by the coefficient measurement result distribution information corresponding to the i-th n-order Pauli matrix; if the second set of operation component elements is not a subset of the first set of operation component elements, then the coefficients corresponding to the j-th k-order Pauli matrix cannot be determined by the coefficient measurement result distribution information corresponding to the i-th n-order Pauli matrix.
[0225] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0226] According to the target matrix corresponding to the target sub-quantum system set, the target vector corresponding to the target sub-quantum system set is calculated, and the size of the target vector is 3 n ×1, the vector element of the target vector is 0 or 1, where the judgment result of the target sub-quantum system set includes a target matrix, and the size of the target matrix is Matrix element A in the target matrix ij It is used to characterize whether the corresponding coefficients of the j-th k-order Pauli matrix corresponding to the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the ith n-order Pauli matrix of the n-bit quantum system; according to the position of the non-zero vector elements in the target vector corresponding to the target sub-quantum system set in the target vector, determine the target n-order Pauli matrix that needs to be measured using the superconducting platform among the coefficients corresponding to the n-order Pauli matrix.
[0227] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0228] The target vector corresponding to the target sub-quantum system set is calculated based on the target constraint condition and the target matrix corresponding to the target sub-quantum system set; the target constraint condition includes that the target vector corresponding to the target sub-quantum system set has the least number of non-zero vector elements.
[0229] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0230] The target constraints include:
[0231]
[0232] subject to:A T x≥1and x i ={0,1},
[0233] Where x represents the target vector, x i represents the i-th vector element of the target vector x, and A represents the target matrix.
[0234] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0235] According to the position of the non-zero vector element in the target vector, the n-bit ternary number corresponding to the non-zero vector element is determined; based on the n-bit ternary number, the coefficients corresponding to the n-order Pauli matrix are determined, and the target n-order Pauli matrix that needs to be measured using the superconducting platform is determined.
[0236] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0237] Performing a splitting process on the n-bit quantum system to obtain a target sub-quantum system set, the target sub-system set includes a plurality of k-bit sub-quantum systems, and the k quantum bits contained in each k-bit sub-quantum system are not completely the same;
[0238] Determine whether each coefficient corresponding to the k-order Pauli matrix of each k-bit sub-quantum system in the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the n-order Pauli matrix of the n-bit quantum system;
[0239] According to the judgment result of the target sub-quantum system set, the target n-order Pauli matrix that needs to be measured by using the superconducting platform is determined among the coefficients corresponding to the n-order Pauli matrix, and the coefficients of the target n-order Pauli matrix are measured by using the superconducting platform;
[0240] Based on the measurement results, the coefficients corresponding to each k-order Pauli matrix in the target sub-quantum system set are determined, and based on the determined coefficients, the reduced density matrix corresponding to each k-bit sub-quantum system in the target sub-quantum system set is reconstructed.
[0241] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0242] For the i-th n-order Pauli matrix of the n-bit quantum system, obtain a first set of operation component elements corresponding to the i-th n-order Pauli matrix; for the j-th k-order Pauli matrix corresponding to the target sub-quantum system set, obtain a second set of operation component elements corresponding to the j-th k-order Pauli matrix; if the second set of operation component elements is a subset of the first set of operation component elements, then the coefficients corresponding to the j-th k-order Pauli matrix can be determined by the coefficient measurement result distribution information corresponding to the i-th n-order Pauli matrix; if the second set of operation component elements is not a subset of the first set of operation component elements, then the coefficients corresponding to the j-th k-order Pauli matrix cannot be determined by the coefficient measurement result distribution information corresponding to the i-th n-order Pauli matrix.
[0243] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0244] According to the target matrix corresponding to the target sub-quantum system set, the target vector corresponding to the target sub-quantum system set is calculated, and the size of the target vector is 3 n ×1, the vector element of the target vector is 0 or 1, where the judgment result of the target sub-quantum system set includes a target matrix, and the size of the target matrix is Matrix element A in the target matrix ij It is used to characterize whether the corresponding coefficients of the j-th k-order Pauli matrix corresponding to the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the ith n-order Pauli matrix of the n-bit quantum system; according to the position of the non-zero vector elements in the target vector corresponding to the target sub-quantum system set in the target vector, determine the target n-order Pauli matrix that needs to be measured using the superconducting platform among the coefficients corresponding to the n-order Pauli matrix.
[0245] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0246] The target vector corresponding to the target sub-quantum system set is calculated based on the target constraint condition and the target matrix corresponding to the target sub-quantum system set; the target constraint condition includes that the target vector corresponding to the target sub-quantum system set has the least number of non-zero vector elements.
[0247] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0248] The target constraints include:
[0249]
[0250] subject to:A T x≥1and x i ={0,1},
[0251] Where x represents the target vector, x i represents the i-th vector element of the target vector x, and A represents the target matrix.
[0252] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0253] According to the position of the non-zero vector element in the target vector, the n-bit ternary number corresponding to the non-zero vector element is determined; based on the n-bit ternary number, the coefficients corresponding to the n-order Pauli matrix are determined, and the target n-order Pauli matrix that needs to be measured using the superconducting platform is determined.
[0254] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0255] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0256] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A reduced density matrix reconstruction method, It is characterized in that The method comprises: Performing a splitting process on an n-bit quantum system to obtain a target sub-quantum system set, wherein the target sub-quantum system set includes a plurality of k-bit sub-quantum systems, and the k quantum bits included in each of the k-bit sub-quantum systems are not completely the same; Determine whether each coefficient corresponding to the k-order Pauli matrix of each of the k-bit sub-quantum systems in the target sub-quantum system set can be obtained from coefficient measurement result distribution information corresponding to the n-order Pauli matrix of the n-bit quantum system; According to the judgment result of the target sub-quantum system set, determine the target n-order Pauli matrix that needs to be measured using the superconducting platform among the coefficients corresponding to the n-order Pauli matrix, and measure the coefficients of the target n-order Pauli matrix using the superconducting platform; Based on the measurement results, determining coefficients corresponding to each of the k-order Pauli matrices in the target sub-quantum system set, and reconstructing a reduced density matrix corresponding to each of the k-bit sub-quantum systems in the target sub-quantum system set based on the determined coefficients; The determination result of the target sub-quantum system set includes a target matrix, and the size of the target matrix is The matrix element A in the target matrix ij The method is used to characterize whether the coefficients corresponding to the j-th k-order Pauli matrix corresponding to the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the i-th n-order Pauli matrix of the n-bit quantum system, and the determination of the target n-order Pauli matrix that needs to be measured using a superconducting platform among the coefficients corresponding to the n-order Pauli matrix according to the judgment result of the target sub-quantum system set includes: According to the target matrix corresponding to the target sub-quantum system set, the target vector corresponding to the target sub-quantum system set is calculated, and the size of the target vector is 3 n ×1, the vector element of the target vector is 0 or 1; Determine, according to the position of the non-zero vector element in the target vector corresponding to the target sub-quantum system set, a target n-order Pauli matrix that needs to be measured using a superconducting platform among the coefficients corresponding to the n-order Pauli matrix; The step of calculating the target vector corresponding to the target sub-quantum system set according to the target matrix corresponding to the target sub-quantum system set includes: A target vector corresponding to the target sub-quantum system set is calculated based on a target constraint condition and a target matrix corresponding to the target sub-quantum system set; the target constraint condition includes that the target vector corresponding to the target sub-quantum system set has the least number of non-zero vector elements.
2. The method according to claim 1, It is characterized in that The determining whether each coefficient corresponding to the k-order Pauli matrix of each k-bit sub-quantum system in the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the n-order Pauli matrix of the n-bit quantum system comprises: For an i-th n-order Pauli matrix of the n-bit quantum system, obtaining a first set of operation component elements corresponding to the i-th n-order Pauli matrix; For the j-th k-order Pauli matrix corresponding to the target sub-quantum system set, obtaining a second set of operation component elements corresponding to the j-th k-order Pauli matrix; If the second set of operation component elements is a subset of the first set of operation component elements, the coefficients corresponding to the j-th k-order Pauli matrix can be determined by the coefficient measurement result distribution information corresponding to the i-th n-order Pauli matrix; If the second operation component element set is not a subset of the first operation component element set, the coefficients corresponding to the j-th k-order Pauli matrix cannot be determined by the coefficient measurement result distribution information corresponding to the ith n-order Pauli matrix.
3. The method according to claim 1, It is characterized in that The target constraints include: subject to:A T x≥1and x i ={0,1}, Where x represents the target vector, x i represents the i-th vector element of the target vector x, and A represents the target matrix.
4. The method according to claim 1, It is characterized in that The step of determining, according to the position of the non-zero vector elements in the target vector corresponding to the target sub-quantum system set, a target n-order Pauli matrix that needs to be measured using a superconducting platform in coefficients corresponding to the n-order Pauli matrix, comprises: Determine, according to the position of the non-zero vector element in the target vector, an n-bit ternary number corresponding to the non-zero vector element; Based on the n-bit ternary number, the target n-order Pauli matrix that needs to be measured using a superconducting platform is determined among the coefficients corresponding to the n-order Pauli matrix.
5. A reduced density matrix reconstruction device, It is characterized in that The device comprises: A splitting module is used to perform splitting processing on the n-bit quantum system to obtain a target sub-quantum system set, wherein the target sub-quantum system set includes multiple k-bit sub-quantum systems, and the k quantum bits contained in each of the k-bit sub-quantum systems are not completely the same; A judgment module, used to judge whether each coefficient corresponding to the k-order Pauli matrix of each k-bit sub-quantum system in the target sub-quantum system set can be obtained from the coefficient measurement result distribution information corresponding to the n-order Pauli matrix of the n-bit quantum system; A determination module, configured to determine, according to the judgment result of the target sub-quantum system set, a target n-order Pauli matrix that needs to be measured using a superconducting platform among the coefficients corresponding to the n-order Pauli matrix, and measure the coefficients of the target n-order Pauli matrix using the superconducting platform; A reconstruction module, used to determine the coefficients corresponding to each of the k-order Pauli matrices in the target sub-quantum system set based on the measurement results, and reconstruct the reduced density matrix corresponding to each of the k-bit sub-quantum systems in the target sub-quantum system set based on the determined coefficients; The determination result of the target sub-quantum system set includes a target matrix, and the size of the target matrix is The matrix element A in the target matrix ik The method is used to characterize whether the coefficients corresponding to the j-th k-order Pauli matrix corresponding to the target sub-quantum system set can be determined by the coefficient measurement result distribution information corresponding to the i-th n-order Pauli matrix of the n-bit quantum system, and the determination of the target n-order Pauli matrix that needs to be measured using a superconducting platform among the coefficients corresponding to the n-order Pauli matrix according to the judgment result of the target sub-quantum system set includes: According to the target matrix corresponding to the target sub-quantum system set, the target vector corresponding to the target sub-quantum system set is calculated, and the size of the target vector is 3 n ×1, the vector element of the target vector is 0 or 1; Determine, according to the position of the non-zero vector element in the target vector corresponding to the target sub-quantum system set, a target n-order Pauli matrix that needs to be measured using a superconducting platform among the coefficients corresponding to the n-order Pauli matrix; The step of calculating the target vector corresponding to the target sub-quantum system set according to the target matrix corresponding to the target sub-quantum system set includes: A target vector corresponding to the target sub-quantum system set is calculated based on a target constraint condition and a target matrix corresponding to the target sub-quantum system set; the target constraint condition includes that the target vector corresponding to the target sub-quantum system set has the least number of non-zero vector elements.
6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
7. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
8. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
