Qiskit-Pulse-based solution for the IBM Quantum Awards 2021, see:
https://ibmquantumawards.bemyapp.com/#/event \
In the attached jupyter notebook I explain in detail how I approached the challenge.
Due to very low accessability of the IBM Jakarta system, the solution has not yet been run.
This might be the case for anyone who tries to optimize pulses on this system.
The solution was mostly inspired by :
B. K. Mitchell, R. K. Naik, A. Morvan, A. Hashim, J. M. Kreikebaum, B. Marinelli, W. Lavrijsen, K. Nowrouzi, D. I. Santiago, and I. Siddiqi Phys. Rev. Lett. 127, 200502(2021)
The objective of the IBM Open Science Prize was to increase the fidelity of simulation of the Heisenberg Hamiltonian on the IBM Jakarta backend. The Heisenberg model of ferromagnetism is defined through the following Hamiltonian:
where
is a coupling between spins. In this case, the objective was to simulate a chain of five spins. The results would be evaluated based on the evolution of the quantum state under the given Hamiltonian.
I approached the problem by assuming the trotteriaztion of steps, and optimizing the controlled phase (ZZ) interaction using Qiskit Pulse. This interactions is often hardware-efficient in interactions such as the Cross-Resonance interaction, and can be easily translated into XX and YY operations with single-qubit gates. Additional phase shifts were applied on both qubits, which is the keystone of the algorithm. In the case of 4 Trotter steps, this interaction is employed 24 times.
- S. Sheldon, E. Magesan, J. M. Chow, J. M. Gambetta, Phys. Rev. A 93, 060302(R) (2016
- N. Sundaresan, I. Lauer, E. Pritchett, E. Magesan, P. Jurcevic, J. M. Gambetta, PRX Quantum 1, 020318 (2020)
The idea was to use the CR Gate while trying to maximize the
The available degrees of freedom were:
- Control amplitude
- Control phase
- Overall signal length
- Rotary rate
The experiments were performed on the IBMq Santiago System, as the Jakarta system was unavailable for a long time. The results were unsatisfactory, as no ZZ gate fidelity above 0.4 could be reproduced.
- B. K. Mitchell, R. K. Naik, A. Morvan, A. Hashim, J. M. Kreikebaum, B. Marinelli, W. Lavrijsen, K. Nowrouzi, D. I. Santiago, and I. Siddiqi, Phys. Rev. Lett. 127, 200502 (2021)
It is possible to activate the ZZ interaction by driving both coupled, fixed-frequency qubits at a frequency between the
IBM Jakarta access was granted late, and a single job waiting time was about a week. Other backends do not support advanced Qiskit Pulse functionalities. Despite high effort, the later part of the code could not be tested and may contain bugs.
See provided Jupyter Notebook for details.
Identify the frequencies of qubits 1, 3, and 5 on the Jakarta system.
- Perform parameter sweeps and retain the value resulting in the highest fidelity.
- Conduct a refined frequency sweep around the best frequency with a smaller step size.
- Use Hamiltonian process tomography to identify gate fidelity.
- Define parameter sweeps for pulse length optimization.
- Run Hamiltonian tomography to find the pulse length that matches the desired conditional phase shift.
- Construct the Trotter step with the optimized parameters.
- Append the Trotter gate to the quantum circuit.
- Prepare the initial state.
- Simulate time evolution under the H_heis3 Hamiltonian.
- Evaluate the simulation at the target time.
- Generate state tomography circuits and evaluate fidelity.
The implemented approach optimized the controlled-phase interaction using Qiskit Pulse, resulting in improved gate fidelity. Despite some challenges with backend availability, the optimization process provided a significant improvement over the initial attempts.