-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pi/2 pulse #1066
Comments
There has been already a related discussion in 28d71db#commitcomment-144903307 At the end of that, I opened #947 and #948 and qiboteam/qibocal#965. However, the solution here is an alternative, and it takes much less to be implemented, since it does not require the |
Yes, but that's just the minimal example, meaning that everything is affected in general... At some point, it was even discussed (I don't remember where) to actually calibrate the |
In Qibocal, we are planning to implement routines for calibrating the pi/2 and to discuss changing Qibolab consistently. Looking at the snippet, I am uncertain about its meaning. It performs a Ramsey experiment and looking at the two plots, it is clear that their phases are different and the amplitudes are close, so the asymmetry between the two cases is quite small. I have tried to execute it on Also in my results there is a small phase shift, but even with a high number of shots (5000) I'm not sure it is meaningful, |
Yes, it is a stark shift of the qubit frequency, caused by a combination of how Qibolab is currently generating the pi/2 pulse, the linewidth of my qubit and the power I am currently using. I think maybe your Rabi frequency is smaller than mine? I was using a pi-pulse of 46ns and drive power of about -71dBm at the qubit (IQM5Q). For the code snippet, I was mainly debugging why a Hadamard gate decomposition was giving erroneous result and decided to check the virtual Z phase control through this small experiment, which led me to see that the pi/2 pulse was the problem. |
But why should it Stark-shift differently whether it is amplitude or duration based?
Concerning this, I'm also not sure why @Edoardo-Pedicillo said that it is a Ramsey experiment, since the sweep is done on the angle of the second rotation, not on the intermediate delay (which is absent).
All-in-all, I truly wonder whether we should just calibrate the pi/2 (and not the pi, at least until #947). Though, we may have to break or abuse Qibolab... |
I would say it's more of the coupling between the driving field from the microwave and the qubit. From my very basic understanding of the classical AC stark shift, in the duration halved pi/2, we kept the power of the drive the same as the pi-pulse, so the frequency of the pulse was "correctly tuned" to the AC stark shifted frequency. However, when we cut the amplitude by half, the extent of the stark shift decreases and the frequency of the qubit is moving back towards to its actual frequency, so this leads to a larger detuning between the "current qubit frequency" and the drive frequency. (I think you see some of that in the dispersion that you linked above) |
Ah, right, I forgot that the effect of the photon occupation of the resonator on the qubit is also called the AC Stark shift. |
Ramsey-like, because if the qubit and drive frequencies are different, in terms of gates the Ramsey experiment is RX(pi/2)-RZ(theta)-RX(pi/2) that it is exactly the circuit in the script.
In this thesis (https://web.physics.ucsb.edu/~martinisgroup/theses/Chen2018.pdf) section 5.9 they calibrate both pi and pi/2 pulse. If we have just the pi/2 pulse, running a pi pulse with two pulses is inefficient. |
Yeah, it was not clear to me there was a detuning at all. Though I'm not yet sure is exactly analogous to Ramsey, since a delay has an interplay with coherence times, while a virtual Z rotation would lack that part. I guess this is part of the -like specifier...
Well, that's even correct, but in general the more native pulses we calibrate, the more efficient it is. Isn't it? qibolab/src/qibolab/compilers/default.py Lines 52 to 79 in a6049a9
(delegated to the transpiler in 0.2). So, the P.S.: from section 5.9 of the thesis, it seems to me that they are calibrating the |
I agree with the priorities, even though this could affect the RB gate fidelity, so probably Qibocal side it is a priority. Just a small comment: in the thesis, they use X and Y, as shown in sec. 6.2 |
Currently qibolab generates R(X) pulse of varying angles by changing the amplitude from a pi-pulse. By varying the amplitude/power of the pulse, the magnitude of the stark shift on the qubit frequency changes and it does not guarantee the precision of the rotation (rather, the axis of rotation also changes).
In the context of circuit execution, pi/2 pulses are generally used in place of GPI2 gates. I would suggest having an interface where we can define optimized or preferred pulses pertaining to the common gates. For example, instead of halving the amplitude, I may prefer to halve the duration instead.
The text was updated successfully, but these errors were encountered: