4. Experimental Setup
The experiment is based on Qiskit 2. 1.1 platform, and the quantum circuit simulation is completed by Aer 0.17.1 simulator. All parameters are configured through standardized interfaces. The specific implementation is as follows:
4.1. Depolarization Noise Model Construction
The depolarization noise model with a strength of 0.2 (in line with the typical noise level of NISQ devices) is constructed, and the physical authenticity of noise effect is realized by the spatio-temporal binding of quantum channel and gate operation:
-Single qubit depolarization noise: only acts on the Hadamard (H) gate operation process of q0, and the noise channel is:
-Two-qubit depolarization noise: The control non-CX gate operation acting between q0 and q1 qubits has the following noise channel:
(i,j)≠(I,I)
-Measurement noise: The measurement process acting on two qubits alone, and the depolarization intensity is set to 0.01 to avoid overlapping with the noise timing of gate operations.
4.2. Function Configuration of Simulator
According to the simulation target, two types of simulators are selected to realize the separation of measurement and state calculation functions:
-Vector simulator: directly outputs the exact complex vector representation of quantum state, which can exclude the interference of statistical noise of measurement and is used for the analytical calculation of quantum state fidelity;
-Quantum assembly simulator: simulate the measurement and counting process of real quantum devices, obtain statistical distribution through repeated measurements (shots), and verify the physical rationality of the noise model.
4.3. Quantum Circuit Design Scheme
Based on the preparation logic of the Bell state | Φ+>, three types of core circuits are designed, and the operation sequence is carried out in the order of "entanglement construction-noise suppression":
-Ideal Bell state circuit: First apply an H gate to q0 to generate the superposition state
Then the entanglement of two qubits is realized by q0 →q1 CX gate operation, and finally the target state is generated
-Dynamic decoupling circuit: On the basis of the ideal circuit, two Pauli-X gate operations are added to q0 (the timing is located after CX gate), and the accumulated phase noise of q0 is offset by symmetric pulse sequence;
-Quantum error correction circuit: For the bit flipping error of q1, two additional Pauli-X gate operations are added to q1 after the ideal circuit, and the reverse mapping of the error state is realized by using the isotropy of depolarization noise.
4.4. Standardization of Measurement Parameters
In order to ensure the repeatability and statistical significance of the simulation results, the following measurement configuration is adopted:
-Number of measurements: two-stage repeated experiments are set up. The basic statistical analysis uses 104 measurements, and the reliability verification uses 106 measurements to balance the calculation efficiency and result credibility;
-Random control: fixed random seed to eliminate statistical fluctuations and ensure the consistency of simulation results in different batches;
-Measurement range: perform full-space measurement on the two-qubit system to obtain the complete counting distribution of the computational basis ({|00〉, |01〉, |10〉, |11〉).
Technical reproduction parameters:
-Number of measurements: shots=10000 (basic statistical analysis) and shots=1000000 (repeated verification) are used respectively to balance calculation efficiency and statistical significance;
-Random seed: fixed seed_simulator=42 to eliminate the influence of random fluctuations on the results;
-Measurement method: Full qubit measurement is achieved through qc.measure_all () to obtain the complete measurement count distribution.
4.5. Measured Count Results
The analog circuit simulation execution and measurement counting acquisition process are carried out to obtain the analog output results under different measurement scales, as follows:
-Unantenna noise state: {|00〉: 3720, |01〉: 1201, |10〉: 1250, |11〉: 3829} (extracted by the measurement count method)
-Error states (|01〉, |10〉 account for: 24.51%
-After anti-jitter processing:{|00〉: 4985,|01〉: 19,|10〉: 23,|11〉: 4973}
-Error state ratio: 0.42%
-Unantenna noise state:{|00〉: 377285, |01〉: 121995, |10〉: 121935, |11〉: 378785}
-Error states (|01〉, |10〉): 24.39\%
-After anti-jitter processing:{|00〉: 499210,|01〉: 1985,|10〉: 2005,|11〉: 496800}
-Error state ratio: 0.40\%
Table 1 clearly shows the comparison of count distribution before and after disturbance in Qiskit simulation under two measurement scales. The results show that:
1. In the undisturbed state, the error state ratio remained stable at 24.39%-24.51%
Consistent with the theoretical expectation of 0.2 strength depolarization noise configured with Qiskit;
2. After processing by qubit strategy, the proportion of error states decreased from more than 24% to less than 0.4%, a decrease of 98.3%;
3. The simulation results of Qiskit with two measurement scales are highly consistent (the deviation of error state ratio is only 0.02%), which verifies the statistical stability of the strategy.
4.6. Fidelity results analysis (Qiskit calculation)
The fidelity is obtained by the quantum state fidelity calculation method, and the specific process is as follows:
-Ideal state: Select the theoretical state vector of the Bell state | Φ+>, that is
-Actual state: obtain the state vector simulated by the circuit after anti-interference (excluding statistical noise measurement and only reflecting the effect of gate operation and noise in simulation);
Furthermore, the post-interference state was validated for fidelity using a density matrix reconstruction method based on measurement count analysis. Results demonstrated a post-interference fidelity of 0.9998±0.0002 (acquired through two validation runs at 10,000 and 1,000,000 measurement scales respectively), further confirming the proposed strategy's robust stability in simulated environments.
As can be seen from
Figure 6, no matter the number of measurements simulated by Qiskit twice is 10,000 or 1 million, the Bell state fidelity under simulated noise environment remains stable at 1.0000 after processing by qubit anti-jitter strategy, indicating that the strategy has good robustness and anti-noise capability in Qiskit simulation.
Table 2 shows the comparison results of Bell state fidelity under different measurement scales (simulated twice under each measurement condition). The experimental data show that:
The fidelity of the ideal state (noise-free simulation) is 1.0000, which is taken as the theoretical benchmark value (verified by state vector simulation);
In the noisy analog environment, after the qubit anti-jitter strategy processing, the Bell state fidelity remains stable at 1.0000 (dynamic decoupling and quantum error correction both achieve this effect);
The results above verify that the qubit anti-jitter strategy can completely offset the effect of 0.2 intensity depolarization noise in the simulation environment.
4.7. Complexity Analysis
By evaluating metrics including circuit gate operations, auxiliary qubit count, and circuit depth, we conducted a comparative analysis of the proposed qubit anti-jitter strategy versus traditional approaches. The results are presented in
Table 3. The proposed strategy's circuit configuration comprises 1 H gate, 1 CX gate, and 4 X gates, requiring no additional auxiliary qubits (total system qubit count remains at 2) while increasing circuit depth by only 2. Its complexity is significantly lower than both the Surface Code Error Correction scheme (requiring 11 auxiliary qubits with total system qubit count at 13) and the XY4 dynamic decoupling scheme (necessitating 8 pulse gates).