Waveform processing method, measurement and control system, quantum computer, medium and equipment
By separating and processing transmission waveform instructions and scanning data in a quantum computing measurement and control system, generating output waveform instructions and compiling them into actual waveform data, the problem of excessive memory usage during compilation is solved, and memory compression and smooth execution of experimental tasks are achieved.
Patent Information
- Application Number
- CN202410984501.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2044-07-22
AI Technical Summary
Quantum computing measurement and control systems suffer from excessive memory consumption during compilation, which can easily lead to task failure, especially in high-bit-count and high-depth experimental tasks.
By receiving and transmitting waveform commands and scanning data, processing the transmitted waveform commands with the scanning data to generate multiple output waveform commands, and compiling them into actual waveform data, the scanning data and transmitted waveform commands are separated for transmission and processing, reducing memory usage.
It significantly reduces memory consumption during the compilation process, lowers the risk of task failure, enhances the flexibility and practicality of quantum computing measurement and control experiments, and ensures the smooth execution of high-bit-count and high-depth experimental tasks.
Smart Images

Figure CN121390342A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of quantum computing measurement and control technology, and in particular to waveform processing methods, quantum computing measurement and control systems, quantum computers, computer-readable storage media, and computer devices. Background Technology
[0002] Related quantum computing measurement and control systems require storing a large number of spliced waveform instructions when executing measurement and control experiments, leading to excessive memory consumption during compilation. This problem is particularly severe in high-bit-count and high-depth experimental tasks, potentially causing task failure.
[0003] Based on this, this application provides a waveform processing method, a quantum computing measurement and control system, a quantum computer, a computer-readable storage medium, and a computer device to improve related technologies. Summary of the Invention
[0004] The purpose of this application is to provide waveform processing methods, quantum computing measurement and control systems, quantum computers, computer-readable storage media, and computer equipment, which effectively reduce the memory used in the compilation process and ensure the smooth progress of measurement and control experimental tasks.
[0005] The objective of this application is achieved through the following technical solution:
[0006] In a first aspect, this application provides a waveform processing method, the method comprising:
[0007] Receive and transmit waveform commands and scan data;
[0008] The transmitted waveform instructions are processed using the scan data to obtain multiple output waveform instructions;
[0009] The output waveform instructions are compiled into actual waveform data, which is used to control or measure qubits in quantum computing measurement and control experiments.
[0010] In some embodiments, the static timing data in the transmitted waveform instruction includes transmission parameter values of at least one scan parameter of at least one waveform, the scan data includes multiple output parameter values of a target scan parameter of a target waveform, the at least one waveform includes the target waveform, and the at least one scan parameter includes the target scan parameter;
[0011] The process of using the scan data to process the transmission waveform command to obtain multiple output waveform commands includes:
[0012] Each time, an output parameter value of the target scan parameter of the target waveform in the scan data is used to replace the corresponding transmission parameter value in the transmission waveform instruction to obtain an output waveform instruction.
[0013] In some embodiments, the at least one scanning parameter includes one or more of amplitude, frequency, phase, duration, and bias voltage.
[0014] In some embodiments, receiving the transmitted waveform command and scan data includes:
[0015] It receives transmission waveform instructions from the first storage module and scan data from the second storage module.
[0016] Secondly, this application provides a quantum computing measurement and control system, the quantum computing measurement and control system comprising:
[0017] The first server is used to compile control commands into transmission waveform commands and scan data;
[0018] The second server is used to receive transmission waveform instructions and scan data from the first server; process the transmission waveform instructions using the scan data to obtain multiple output waveform instructions; and compile the output waveform instructions into actual waveform data, which is used to control or measure the qubit in a quantum computing measurement and control experiment.
[0019] In some embodiments, the second server includes:
[0020] The first storage module is used to receive and store the transmission waveform command;
[0021] The second storage module is used to receive and store the scan data;
[0022] A compilation module is used to process the transmitted waveform instructions using the scanned data to obtain multiple output waveform instructions; and to compile the output waveform instructions into actual waveform data, which is used to control or measure qubits in quantum computing measurement and control experimental tasks.
[0023] In some embodiments, the static timing data in the transmitted waveform instruction includes transmission parameter values of at least one scan parameter of at least one waveform, the scan data includes multiple output parameter values of a target scan parameter of a target waveform, the at least one waveform includes the target waveform, and the at least one scan parameter includes the target scan parameter;
[0024] The compilation module processes the transmitted waveform instructions using the scan data in the following manner to obtain multiple output waveform instructions:
[0025] Each time, an output parameter value of the target scan parameter of the target waveform in the scan data is used to replace the corresponding transmission parameter value in the transmission waveform instruction to obtain an output waveform instruction.
[0026] In some embodiments, the transmission waveform instructions are stored using a Python dictionary data structure; and / or,
[0027] The multiple output parameter values of the target scanning parameters of the target waveform are stored in array form.
[0028] In some embodiments, the first storage module includes one or more of an XY control unit, a Z control unit, a DC control unit, and a read control unit;
[0029] One or more of the XY control unit, the Z control unit, the DC control unit, and the read control unit store the transmission waveform instructions in a list format.
[0030] In some embodiments, the first server uses a separate transmission method to transmit the transmission waveform command and the scan data to the second server.
[0031] Thirdly, this application provides a quantum computer, said quantum computer comprising:
[0032] A quantum chip has one or more qubits.
[0033] An environmental support system is used to provide the environment required to process the qubits;
[0034] A quantum operating system, used to receive control commands;
[0035] Any of the above quantum computing measurement and control systems.
[0036] Fourthly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements any of the methods described above.
[0037] Fifthly, this application provides a computer device, the computer device including a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement any of the methods described above.
[0038] This application provides a waveform processing method, a quantum computing measurement and control system, a quantum computer, a computer-readable storage medium, and a computer device. First, it receives and transmits waveform instructions and scan data. Then, it uses the scan data to process the transmitted waveform instructions, generating output waveform instructions under different scan parameter conditions. Subsequently, the output waveform instructions are compiled into actual waveform data, enabling precise control or measurement of qubits in quantum computing measurement and control experiments. The above embodiments allow for the separate transmission and processing of scan data and transmitted waveform instructions, achieving memory compression. On the one hand, during the compilation process, less data needs to be stored in memory, resulting in less memory usage. This advantage becomes more pronounced with more scan points, significantly improving memory shortage problems, reducing the risk of task failure, and promoting the smooth completion of quantum computing measurement and control experiments. On the other hand, different servers of the quantum computer only need to transmit scan data and transmitted waveform instructions, without needing to transmit a large number of output waveform instructions, reducing parsing time. Furthermore, allowing different servers to transmit scan data and transmitted waveform instructions separately, rather than simultaneously, facilitates users to adjust the scan parameters required for the experiment individually, improving the flexibility and practicality of quantum computing measurement and control experiments. The above embodiments significantly reduce memory consumption, ensuring smooth execution of experimental tasks, especially those with high bit counts and high depth. Furthermore, by dynamically generating actual waveform data during compilation, it better meets the specific experimental needs of different application scenarios. From a user perspective, it simplifies waveform splicing and other operations, allowing users more freedom and flexibility in defining experimental processes, or adding a new way to define experiments. From an engineering perspective, it not only compresses the amount of data transmitted in quantum computing measurement and control experiments (especially important in high-bit-count scenarios), but also establishes a set of behavioral guidelines as a unified execution protocol for the measurement and control system server, and decouples experiments and hardware, achieving cross-platform compatibility. Attached Figure Description
[0039] This application will be further described below with reference to the accompanying drawings and specific embodiments.
[0040] Figure 1 This is a schematic flowchart of a waveform processing method provided in an embodiment of this application.
[0041] Figure 2 This is a memory view during the compilation process provided in an embodiment of this application.
[0042] Figure 3 This is a structural block diagram of a quantum computing measurement and control system provided in an embodiment of this application.
[0043] Figure 4 This is a structural block diagram of a computer device provided in an embodiment of this application. Detailed Implementation
[0044] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0045] In the description of the embodiments of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0046] With the continuous updating and iteration of quantum computing measurement and control technology, more and more experimental needs will be developed, and the scale of quantum chips is also constantly increasing. The "compilation process" of each experiment has become an issue that must be considered. The compilation process is to convert the parameters to be compiled, which represent quantum tasks in classical computers, into quantum instructions that quantum hardware can recognize or use. In this process, it is necessary to parse the parameters to be compiled. The more parameters to be compiled, the faster the memory consumption of the parsing hardware will be. As the number of qubits expands, the number of parameters to be compiled also increases, which in turn further increases the memory requirements.
[0047] During testing of related technologies, instances occurred where server memory reached its limit, leading to task failures. For example, after deploying the services required for quantum computing measurement and control experiments on a server with 128GB of memory, and enabling waveform parallel computing, a task with 65 bits, 350 depths, and 200 loop counts failed due to insufficient server memory. It should be noted that depth refers to the depth of the quantum circuit, which is the maximum number of quantum logic gates that need to be executed in series within the quantum circuit. The number of loop counts refers to the number of times the quantum circuit of the set depth is executed.
[0048] As can be seen, the relevant technologies suffer from time-consuming parsing and a serious "memory crisis" risk. Regarding the parsing time, it is hoped that the direct transmission protocol from monster to qstream can be optimized to near zero; however, regarding the memory crisis, this direct transmission protocol still struggles to change the memory it occupies, requiring a modification to the protocol itself. Monster, for example, is the underlying software framework of a quantum computing measurement and control system, which can contain many experiments. qstream, for example, is the server-side software of the same system. As an example, users can directly use control commands to describe the experimental process. These control commands refer to the quantum programming language used by the user to describe the experimental process. Monster is responsible for compiling the control commands into waveform instructions, i.e., FakePulse; qstream is responsible for compiling the waveform instructions into actual waveform data, encoding it into the binary packets required by the FPGA, and finally synthesizing and outputting it via hardware or in real-time.
[0049] Beyond protocol format compression (e.g., serialization schemes to replace JSON), there are also business-related aspects that can be compressed. For example, the static timing of FakePulse (i.e., waveform instructions) can be stored in the channels of each unit in the measure_aio module (also known as the measurement simulation module, which is a software-level abstraction of the measurement and control integrated machine hardware, used to describe the specific information of the measurement and control integrated machine hardware), while the scan parameters are stored in the sweep module (also known as the scan module). Related technologies require storing the completed waveform splicing FakePulse in the sweep module, which means that at least the parameters of each waveform segment and the spliced waveform (i.e., Composite Pulse) at each scan point must be stored in memory. In the improved version, the waveform shape and scan parameters are stored separately, and then the waveform splicing is performed in the Compile process by establishing a mapping relationship between the two, thus achieving memory compression.
[0050] The implementation methods of this application will be described in detail below.
[0051] See Figure 1 , Figure 1 This is a schematic flowchart of a waveform processing method provided in an embodiment of this application.
[0052] This application provides a waveform processing method, which includes steps S101 to S103.
[0053] Step S101: Receive the transmission waveform command and scan data.
[0054] Step S102: Process the transmission waveform command using the scan data to obtain multiple output waveform commands.
[0055] Step S103: Compile the output waveform instruction into actual waveform data, which is used to control or measure the qubit in the quantum computing measurement and control experiment.
[0056] In some embodiments, the method may further include: encoding the actual waveform data into binary data corresponding to the actual waveform; synthesizing and outputting the actual waveform using the binary data, or outputting the actual waveform in real time using the binary data.
[0057] In the above embodiments, the waveform processing method is used to process the actual waveform data to obtain the control signal or readout signal. The control signal is used to control the qubit, and includes, for example, XY control signals (e.g., on the order of GHz) and Z control signals (e.g., on the order of MHz). The readout signal is used to measure the qubit, and its frequency is, for example, on the order of GHz.
[0058] It should be noted that in this paper, waveform instructions are compiled from control instructions, such as FakePulse objects. Control instructions can be directly addressed to the user. Transmitted waveform instructions are, for example, waveform instructions transmitted between different servers, which can be server hardware or server software. Output waveform instructions refer to processed waveform instructions used to generate the actual waveform data required for the experiment. In this paper, transmitted waveform instructions and output waveform instructions may be the same or different, depending on the specific needs of the application. "Transmitted" and "Output" in "Transmitted Waveform Instructions" and "Output Waveform Instructions" are prefixes used to distinguish between waveform instructions during transmission and waveform instructions used to control the actual waveform. Scan data refers to the relevant data of scan parameters that need to be adjusted in quantum computing measurement and control experiments, such as amplitude, frequency, and duration. Actual waveform data is, for example, the control waveform or readout waveform actually used in the experiment to perform control or measurement operations on the qubits.
[0059] The above embodiment first receives transmission waveform instructions and scan data, then processes the transmission waveform instructions using the scan data to obtain multiple output waveform instructions. Subsequently, the output waveform instructions are compiled into actual waveform data. Specifically, the transmission waveform instructions, for example, contain basic waveform information required for controlling or measuring the qubit, such as static timing data, while the scan data provides output parameter values for the scan parameters that need to be adjusted in the experiment. During the compilation process, the scan data is combined with the basic waveform information to generate output waveform instructions under different scan parameter conditions. Afterward, the output waveform instructions are compiled into actual waveform data for precise control or measurement of the qubit in quantum computing measurement and control experiments.
[0060] The above embodiments allow for the separate transmission of scan data and waveform instructions, achieving memory compression. On one hand, during compilation, less data needs to be stored in memory, resulting in less memory usage. This advantage becomes more pronounced with more scan points, significantly improving memory shortages, reducing the risk of task failure, and facilitating the successful completion of quantum computing measurement and control experiments. On the other hand, different servers of the quantum computer only need to transmit scan data and waveform instructions, rather than transmitting a large number of output waveform instructions, reducing parsing time. Furthermore, allowing separate transmission of scan data and waveform instructions between different servers, rather than simultaneous transmission, facilitates users in individually adjusting the scan parameters required for the experiment, enhancing the flexibility and practicality of quantum computing measurement and control experiments. These embodiments significantly reduce memory consumption, ensuring the smooth execution of experimental tasks, especially high-bit-count and high-depth experiments. Moreover, dynamically generating actual waveform data during compilation better meets the specific experimental needs of different application scenarios. From the user's perspective, simplifying waveform splicing and other operations allows users to define the experimental process more freely and flexibly, or in other words, adds another way to define experiments. From an engineering perspective, this not only reduces the amount of data transmitted in quantum computing measurement and control experiments (which is especially important in scenarios with large numbers of bits), but also establishes a set of behavioral guidelines as a unified execution protocol for the measurement and control system server, and decouples the experiment and hardware to achieve "cross-platform" compatibility.
[0061] In some embodiments, the static timing data in the transmitted waveform instruction may include transmission parameter values of at least one scan parameter of at least one waveform, the scan data includes multiple output parameter values of a target scan parameter of a target waveform, the at least one waveform includes the target waveform, and the at least one scan parameter includes the target scan parameter. Processing the transmitted waveform instruction using the scan data to obtain multiple output waveform instructions may include: replacing a corresponding transmission parameter value in the transmitted waveform instruction with an output parameter value of the target scan parameter of the target waveform in the scan data each time to obtain one output waveform instruction.
[0062] In some embodiments, processing the transmission waveform command using the scan data to obtain multiple output waveform commands may include: for each channel in the quantum telemetry and control link, performing the following processing: each time, replacing the corresponding transmission parameter value in the transmission waveform command corresponding to the channel with an output parameter value of the target scan parameter of the target waveform in the scan data corresponding to the channel, to obtain an output waveform command. That is, performing corresponding waveform processing for each channel.
[0063] Static time-series data includes, for example, waveform shape data within a specific time period (e.g., stored using a `waveshape` field), which may include parameters such as waveform shape, name, amplitude, and duration. Scan parameters are parameters that need to be adjusted during the experiment, such as amplitude, frequency, and duration. Transmission parameter values are predefined parameter values in the transmission waveform command, which can be replaced by output parameter values from the scan data during the experiment. The scan data includes the specific parameter values used to replace the transmission parameter values in the experiment, referred to as output parameter values in this document. The output waveform command contains dynamically replaced output parameter values used to generate the actual waveform data.
[0064] In the above embodiments, the static timing data in the transmitted waveform instruction includes transmission parameter values of at least one scan parameter of at least one waveform, while the scan data includes multiple output parameter values of the target scan parameter of the target waveform. Specifically, the method includes the following steps: receiving a transmitted waveform instruction and scan data, and replacing the corresponding transmission parameter value in the transmitted waveform instruction with an output parameter value of the target scan parameter of the target waveform in the scan data each time to generate an output waveform instruction. Multiple output waveform instructions are generated in this way. The output waveform instructions are then compiled into actual waveform data for use in quantum measurement and control experiments to control or measure qubits. By separating the static timing data and scan parameters, the above method effectively reduces memory usage, especially when dealing with high-qubit-count and highly complex experimental tasks, significantly reducing the risk of task failure. By dynamically replacing transmission parameter values to generate output waveform instructions, different experimental requirements can be flexibly addressed, ensuring the accuracy of waveform data and the smooth execution of experimental tasks.
[0065] See Figure 2 , Figure 2 This is a memory view during the compilation process provided in an embodiment of this application. The upper part is the memory view corresponding to N waveform instructions, and the lower part is the memory view corresponding to one waveform transmission instruction and scan data. In the figure, amp is an abbreviation for amplitude; pulse 1 is the first waveform, pulse 2 is the second waveform, pulse 3 is the third waveform, pulse 4 is the fourth waveform, pulse 5 is the fifth waveform, pulse n is the nth waveform, and so on; Composite Pulse 1 is the first composite waveform, Composite Pulse 2 is the second composite waveform, Composite Pulse 3 is the third composite waveform, Composite Pulse N is the Nth composite waveform, and so on; Sweep amp is an array used to store multiple output parameter values of amplitude; n and N are integers greater than 1.
[0066] As an example, suppose a quantum computing measurement and control experiment needs to be carried out N times with amplitudes of 0.00, 0.01, 0.02, 0.03, 0.04, 0.05, 0.06, ... Then the scanning parameter is the amplitude, the amplitude corresponds to N output parameter values, and each output parameter value corresponds to a scanning point, for a total of N scanning points.
[0067] like Figure 2 As shown in the upper part, in related technologies, a waveform instruction with completed waveform splicing is generated for each scan point (i.e., one FakePulse object is generated for each scan point). The sweep module stores N waveform instructions with completed waveform splicing (i.e., N FakePulse objects). During compilation, at least the output parameter values corresponding to N scan points, as well as the spliced waveforms under N scan points (i.e., N spliced waveforms, CompositePulse 1 to CompositePulse N), must be stored in memory. The N FakePulse objects are then directly converted into N RealPulses (i.e., actual waveform data). Therefore, related technologies not only have high parsing time but also consume a large amount of memory during the compilation process of converting waveform instructions into actual waveform data. Even if a direct transmission protocol can be used to optimize the parsing time to near zero, it is difficult to change the memory size occupied by the protocol, which can easily lead to task failure.
[0068] like Figure 2 As shown in the lower part, when using the above waveform processing method, the transmitted waveform command and the scan data are stored separately, and only one waveform command with completed waveform splicing is generated (i.e., a total of 1 FakePulse object is generated). The `measure_aio` module stores one transmitted waveform command (corresponding to one FakePulse object), and the `sweep` module stores the scan data (e.g., including N output parameter values of the amplitude). During compilation, one spliced waveform (i.e., Composite Pulse) and N output parameter values of the amplitude (e.g., stored using a Sweep amp array) can be stored in memory. Each output parameter value of the amplitude is retrieved from the Sweep amp array and used to replace the transmitted parameter value of the amplitude in the same FakePulse object, resulting in N output waveform commands. These N output waveform commands are then compiled into N RealPulses. Compared with related technologies, the number of spliced waveforms stored in memory is reduced from N to 1. Since the amount of scanned data is small, the memory space occupied during the compilation process is greatly reduced.
[0069] In some embodiments, the at least one scanning parameter may include one or more of amplitude, frequency, phase, duration, and bias voltage.
[0070] In some embodiments, receiving the transmission waveform command and scan data may include: receiving the transmission waveform command from the first storage module, and receiving the scan data from the second storage module.
[0071] See Figure 3 , Figure 3 This is a structural block diagram of a quantum computing measurement and control system provided in an embodiment of this application.
[0072] This application also provides a quantum computing measurement and control system, which includes a first server and a second server. The first server is used to compile control commands into transmission waveform commands and scan data. The second server is used to receive transmission waveform commands and scan data from the first server; process the transmission waveform commands using the scan data to obtain multiple output waveform commands; and compile the output waveform commands into actual waveform data, which is used to control or measure the qubits in quantum computing measurement and control experimental tasks.
[0073] The quantum computing measurement and control system is the peripheral control system for quantum computing. Quantum computing refers to a new type of computing that uses qubits for information processing and storage, and runs quantum algorithms. A quantum algorithm is an algorithm based on quantum computing to solve computational problems. As an example, the first server is the Monster server software, and the second server is the QStream server software.
[0074] In some embodiments, the first server may use a separate transmission method to transmit the transmission waveform command and the scan data to the second server.
[0075] In some embodiments, the second server may include a first storage module, a second storage module, and a compilation module. The first storage module is used to receive and store the transmission waveform instructions. The second storage module is used to receive and store the scan data. The compilation module is used to process the transmission waveform instructions using the scan data to obtain multiple output waveform instructions; and to compile the output waveform instructions into actual waveform data, which is used to control or measure qubits in quantum computing measurement and control experiments.
[0076] As an example, the first storage module is, for example, the measure_aio module, and the second storage module is, for example, the sweep module.
[0077] In some embodiments, the static timing data in the transmitted waveform instruction may include transmitted parameter values of at least one scan parameter of at least one waveform, the scan data includes multiple output parameter values of a target scan parameter of a target waveform, the at least one waveform includes the target waveform, and the at least one scan parameter includes the target scan parameter. The compilation module processes the transmitted waveform instruction using the scan data to obtain multiple output waveform instructions by replacing a corresponding transmitted parameter value in the transmitted waveform instruction with an output parameter value of the target scan parameter of the target waveform in the scan data each time, thereby obtaining one output waveform instruction.
[0078] In some embodiments, the at least one scanning parameter may include one or more of amplitude, frequency, phase, duration, and bias voltage. It should be noted that these scanning parameters are waveform parameters; that is, amplitude is the amplitude parameter of the waveform, frequency is the frequency parameter of the waveform, and phase is the phase parameter of the waveform. The waveform corresponds one-to-one with the analog signal directly acting on the qubit, and the analog signal directly acting on the qubit has a frequency shift compared to the waveform signal. The waveform is an identifier describing the signal from its source. For example, the waveforms corresponding to the control signal and the read signal are different, and the identifiers of the signals used to generate the control signal and the read signal are different. The bias voltage is, for example, the static voltage applied to the qubit.
[0079] In some embodiments, the multiple output parameter values of the target scanning parameters of the target waveform can be stored in array form. Array-based storage refers to storing multiple output parameter values sequentially in an array for quick access and processing, such as... Figure 2 The lower half is shown. Besides arrays, other storage methods can also be used, such as message queues, and the above embodiments do not impose limitations on this.
[0080] In some embodiments, the first storage module may include one or more of an XY control unit (XY_control), a Z control unit (Z_flux_control), a DC control unit (Z_dc_control), and a readout control unit (Readout_control). The first storage module is, for example, a measure_aio module. As an example, the corresponding field table for the measure_aio module is shown in Table 1.
[0081] Table 1
[0082]
[0083] In Table 1, `int` represents an integer, `list` represents a list, and `dict` is an abbreviation for Python Dictionary. AWG stands for Arbitrary Waveform Generator. The DA board is a digital-to-analog converter board. The ADDA-DA and ADDA-AD modules are both data acquisition and conversion modules.
[0084] In some embodiments, one or more of the XY control unit, the Z control unit, the DC control unit, and the read control unit may store the transmission waveform instructions in a list format. Besides a list format, other formats may also be used, such as message queues, and the above embodiments do not impose limitations on this.
[0085] In some embodiments, the transmitted waveform instructions can be stored using a Python dictionary data structure. A Python dictionary data structure is a key-value pair data structure used in the Python programming language for storing and quickly retrieving data, allowing for efficient storage and retrieval of waveform instructions.
[0086] As an example, a quantum computing measurement and control system includes a quantum measurement and control link. This link comprises one or more of the following: an XY control signal link (corresponding to the XY control unit), a Z control signal link (corresponding to the Z control unit), a DC control signal link (corresponding to the DC control unit), a read signal link (corresponding to the read control unit), and a read feedback signal link. Each signal link corresponds to one channel. The XY control signal link can be simply referred to as the XY line, the Z control signal link as the Z line, and the read signal link as the read line.
[0087] Each qubit can correspond to one XY control signal link and one Z control signal link, and one or more qubits can correspond to one read signal link and one read feedback signal link. The XY control unit, Z control unit, DC control unit, and read control unit can store the corresponding transmission waveform commands for each channel in the quantum measurement and control link in a list format, and each channel can use a Python dictionary data structure to store the relevant data.
[0088] Taking the Z-control unit (Z_flux_control) as an example, the waveshape field in the following code can be used to represent the static timing data of the Z-control unit, as shown below:
[0089] {
[0090] "channel":1,
[0091] "output_frequency":XXX,
[0092] "intermediate_frequency":XXX,
[0093] "pulse_power":-XXXXX,
[0094] "waveshape":[
[0095] {"name":"Constant","time":XXX,"amp":XXX},
[0096] {'name":"SquareEnvelop","time":XXX,"amp":XXX,"offset":XXX},
[0097] {'name":"Constant","time":XXX,"amp":XXX} ]
[0099] }
[0100] Wherein, XXX represents specific parameter values. Those skilled in the art can set specific numbers as needed. For ease of description, the numerical values of different parameters are all represented by XXX. `channel` refers to the channel, `output_frequency` to the output frequency, `intermediate_frequency` to the intermediate frequency, `pulse_power` to the pulse source voltage, `waveshape` to the waveform shape, `name` to the name, `time` to the duration, `offset` to the bias voltage, `Constant` to a square wave with a constant output value, and `SquareEnvelop` to the square envelope. `"channel l":1` can be identified as the static timing data of the Z control unit of the first channel.
[0101] Correspondingly, in the sweep module, the "func" and "key" fields in the code below can be used to determine the cells and waveforms that need to be scanned in the measure_aio module. "channel":1 indicates that the waveform of the first channel needs to be scanned, "key":"amp" indicates that the target scan parameter is amplitude, and combined with "func":"Z_flux_control:waveform:0" it indicates that the "amp" of "waveform:0" (the first waveform) of "Z_flux_control" (Z control unit) needs to be scanned, i.e., "amp" in {"name":"Constant","time":XXX,"amp":XXX}, the target waveform is the first waveform, and the four output parameters of "amp" are xxxxxx, xxx, and xxx. "channel":2 corresponds to the second channel, and so on.
[0102] "sweep_control":[
[0103] {
[0104] "channel":1,
[0105] "func":"Z_flux_control:waveform:0",
[0106] "key":"amp",
[0107] "points":[xxx,xxx,xxx,xxx]
[0108] },
[0109] {
[0110] "channel":2,
[0111] "func":"Z_flux_control:waveform:0",
[0112] "key":"amp",
[0113] "points":[xxx,xxx,xxx,xxx]
[0114] } ]
[0116] This application also provides a quantum computer, which includes a quantum chip, an environmental support system, a quantum operating system, and a quantum computing measurement and control system. The quantum chip has one or more qubits. The environmental support system provides the environment required to process the qubits. The quantum operating system receives control commands.
[0117] As an example, a quantum computer can be a superconducting quantum computer or a semiconductor quantum computer, a quantum chip can be a superconducting quantum chip or a semiconductor quantum chip, and a qubit can be a superconducting qubit or a semiconductor qubit.
[0118] The above embodiments do not limit the number of qubits on the quantum chip, which can be, for example, 6, 12, 24, 65, 72, 128, 256, etc.
[0119] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements any of the above methods.
[0120] This application also provides a computer program product, which includes a computer program that, when executed by a processor, implements any of the methods described above.
[0121] The computer program product may be in the form of a portable compact disc read-only memory (CD-ROM) and include program code, and may run on a terminal device, such as a personal computer. However, the computer program product of this application is not limited thereto, and the computer program product may be in any combination of one or more computer-readable media.
[0122] This application also provides a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement any of the methods described above.
[0123] In some embodiments, the computer equipment may employ a distributed architecture.
[0124] See Figure 4 , Figure 4 This is a structural block diagram of a computer device provided in an embodiment of this application.
[0125] The computer device may include: a memory 110, a processor 120, and a communication interface 130. The memory 110, the processor 120, and the communication interface 130 are connected through internal connection paths.
[0126] The memory 110 is used to store computer programs, which in some implementations may include code for implementing the methods of the embodiments of this application.
[0127] The processor 120 executes the computer program stored in the memory 110 to control the communication interface 130 to receive input data and information, and output operation results and other data. In some implementations, when the solutions of the embodiments of this application are implemented by software or firmware, the computer program used to implement the solutions of the embodiments of this application can be stored in the processor 120 and executed by the processor 120.
[0128] The memory 110 may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory may be random access memory (RAM). It should be noted that the memory 110 described herein is intended to include, but is not limited to, any memory of these and other suitable types. As an example, the memory 110 includes random access memory (RAM), cache memory, and read-only memory (ROM). The memory 110 stores a computer program that can be executed by processor 120, causing processor 120 to implement the steps of any of the methods described above.
[0129] The processor 120 can be a central processing unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor, or the processor 120 can be any conventional processor.
[0130] In implementation, each step of the above method can be completed by the integrated logic circuitry of the hardware in the processor 120 or by instructions in software form. The method disclosed in the embodiments of this application can be directly implemented by the hardware processor, or by a combination of hardware and software modules in the processor 120. The software modules can be located in mature storage media in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in the memory 110, and the processor 120 reads the information in the memory 110 and, in conjunction with its hardware, completes the steps of the above method. To avoid repetition, detailed descriptions are not provided here.
[0131] In some implementations, in addition to the hardware units described above, computer devices may also include software modules, such as operating systems, basic input / output systems (BIOS), and application software.
[0132] An operating system is used to manage the hardware and / or software resources of a computer device; it is the kernel and foundation of the computer. The operating system handles fundamental tasks such as managing and configuring memory, determining the priority of system resource allocation, controlling input and output devices, operating the network, and managing the file system. To facilitate user operation, most operating systems provide a user interface for interaction with the system.
[0133] The BIOS is used to perform hardware initialization during the power-on boot phase and to provide runtime services for the operating system and applications. In some implementations, the BIOS can also monitor and display processor temperature and execute temperature protection strategies.
[0134] Application software, also known as an application program, can be understood as software written for a specific user application purpose, and is one of the main categories of computer software. For example, application software can be a program used to achieve purposes such as power control and temperature management.
[0135] It is understood that the specific examples in this specification are only intended to help those skilled in the art better understand the implementation of this application, and are not intended to limit the scope of protection of this application.
[0136] It is understood that in the various embodiments of this specification, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of this application.
[0137] It is understood that the various implementation methods described in this specification can be implemented individually or in combination, and this application does not limit them.
[0138] Unless otherwise stated, all technical and scientific terms used in this specification have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of this specification. The term "and / or" as used in this specification includes any and all combinations of one or more of the associated listed items. The singular forms "a," "the," and "the" as used in this specification and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0139] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this specification.
[0140] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the embodiments described above can be referred to the corresponding processes in other embodiments, and will not be repeated here.
[0141] In the several embodiments provided in this specification, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0142] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the technical solution in this application, depending on actual needs.
[0143] In addition, the functional units in the various embodiments of this specification can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0144] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this specification, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this specification. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0145] The above are merely specific embodiments described in this specification, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this specification should be included within the scope of protection of this specification. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A waveform processing method, characterized in that, The method includes: Receive and transmit waveform commands and scan data; The transmitted waveform instructions are processed using the scan data to obtain multiple output waveform instructions; The output waveform instructions are compiled into actual waveform data, which is used to control or measure qubits in quantum computing measurement and control experiments.
2. The waveform processing method according to claim 1, characterized in that, The static timing data in the transmitted waveform instruction includes transmission parameter values of at least one scan parameter of at least one waveform, the scan data includes multiple output parameter values of the target scan parameter of the target waveform, the at least one waveform includes the target waveform, and the at least one scan parameter includes the target scan parameter; The process of using the scan data to process the transmission waveform command to obtain multiple output waveform commands includes: Each time, an output parameter value of the target scan parameter of the target waveform in the scan data is used to replace the corresponding transmission parameter value in the transmission waveform instruction to obtain an output waveform instruction.
3. The waveform processing method according to claim 2, characterized in that, The at least one scanning parameter includes one or more of amplitude, frequency, phase, duration, and bias voltage.
4. The waveform processing method according to claim 1, characterized in that, The receiving and transmitting waveform instructions and scan data includes: It receives transmission waveform instructions from the first storage module and scan data from the second storage module.
5. A quantum computing measurement and control system, characterized in that, The quantum computing measurement and control system includes: The first server is used to compile control commands into transmission waveform commands and scan data; The second server is used to receive transmission waveform instructions and scan data from the first server; process the transmission waveform instructions using the scan data to obtain multiple output waveform instructions; and compile the output waveform instructions into actual waveform data, which is used to control or measure the qubit in a quantum computing measurement and control experiment.
6. The quantum computing measurement and control system according to claim 5, characterized in that, The second server includes: The first storage module is used to receive and store the transmission waveform command; The second storage module is used to receive and store the scan data; A compilation module is used to process the transmitted waveform instructions using the scanned data to obtain multiple output waveform instructions; and to compile the output waveform instructions into actual waveform data, which is used to control or measure qubits in quantum computing measurement and control experimental tasks.
7. The quantum computing measurement and control system according to claim 6, characterized in that, The static timing data in the transmitted waveform instruction includes transmission parameter values of at least one scan parameter of at least one waveform, the scan data includes multiple output parameter values of the target scan parameter of the target waveform, the at least one waveform includes the target waveform, and the at least one scan parameter includes the target scan parameter; The compilation module processes the transmitted waveform instructions using the scan data in the following manner to obtain multiple output waveform instructions: Each time, an output parameter value of the target scan parameter of the target waveform in the scan data is used to replace the corresponding transmission parameter value in the transmission waveform instruction to obtain an output waveform instruction.
8. The quantum computing measurement and control system according to claim 7, characterized in that, The transmitted waveform instructions are stored using a Python dictionary data structure; and / or, The multiple output parameter values of the target scanning parameters of the target waveform are stored in array form.
9. The quantum computing measurement and control system according to claim 6, characterized in that, The first storage module includes one or more of the following: an XY control unit, a Z control unit, a DC control unit, and a read control unit; One or more of the XY control unit, the Z control unit, the DC control unit, and the read control unit store the transmission waveform instructions in a list format.
10. The quantum computing measurement and control system according to claim 5, characterized in that, The first server uses a separate transmission method to transmit the transmission waveform command and the scan data to the second server.
11. A quantum computer, characterized in that, The quantum computer includes: A quantum chip has one or more qubits. An environmental support system is used to provide the environment required to process the qubits; A quantum operating system, used to receive control commands; The quantum computing measurement and control system according to any one of claims 5 to 10.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method of any one of claims 1 to 4.
13. A computer device, characterized in that, The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the method of any one of claims 1 to 4.
Citation Information
Patent Citations
Processor and instruction set for flexible qubit control with low memory overhead
CN112990469A
Quantum bit measuring device, quantum bit measuring method and quantum computer
CN116070704A
Waveform-specific transmission parts
US20220330252A1
Techniques for control of quantum systems and related systems and methods
WO2017139683A1
