Skip to content
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

Readout with the board RFSoC4x2 #89

Closed
JavierSerranoGarcia opened this issue Oct 21, 2022 · 5 comments
Closed

Readout with the board RFSoC4x2 #89

JavierSerranoGarcia opened this issue Oct 21, 2022 · 5 comments

Comments

@JavierSerranoGarcia
Copy link

I am trying to characterize a qubit using the notebook for the qubit demo. The demo suggests doing the readout with a mixer and LO (on a ZCU111) but considering that the RFSoc4x2 board has a sampling frequency of 10Gsps I am trying to do it without mixer. But I am not getting any nice results.

Is it possible to do readouts on this board without mixers? or should I use mixer and LO?

@meeg
Copy link
Collaborator

meeg commented Oct 21, 2022

Yes, the RFSoC4x2 and ZCU216 are both suitable for qubit readout without mixers, and people have had good results. If you can share more details on your setup and results, I'm happy to give some thoughts.

@JavierSerranoGarcia
Copy link
Author

Thank you so much for you help. So, we are using the " Single tone (Resonator) Spectroscopy" in the 06_qubit_demo to caracterize one of the phisical qubits we have. The config file we are using is

hw_cfg={"res_ch":0,
"qubit_ch":0,
"storage_ch":1
}

readout_cfg={
"readout_length":soccfg.us2cycles(3.0, gen_ch=0), # [Clock ticks]
"f_res": 7294.641000, #99.775 +0.18, # [MHz]
"res_phase": 96.73, #151.16, # 96.73,
"adc_trig_offset": 1000, # [Clock ticks]
"res_gain":30000
}
qubit_cfg={
"sigma":soccfg.us2cycles(0.025, gen_ch=1),
"pi_gain": 11500,
"pi2_gain":11500//2,
"f_ge":5886.748538, # 4743.041802067813,
"relax_delay":500
}
expt_cfg={"reps":1000, "relax_delay":10,
"start":7000, "step":1, "expts":1500

We know where the resonator frequency is (around 7.29 Ghz) , but we are getting results that do not match, in the next plot we got something that does not looks like a good spectroscopy

image

Do we have a good config setup? Can you detect anything wrong?

@meeg
Copy link
Collaborator

meeg commented Oct 26, 2022

The amplitude seems very small. A few ideas:

  • Your adc_trig_offset parameter, at 1000 clock ticks, is oddly large and round. How did you arrive at this value? I don't have the 4x2 firmware's clock frequencies on hand, but I think you will find that soccfg.clocks2us(1000) tells you that is ~3 us. Do you really have that much cable delay from your DAC to your ADC? If you don't, you are probably acquiring data only after the end of your readout pulse. The adc_trig_offset parameter should be set by looking at decimated waveforms and identifying the parameter value that puts the start of your readout pulse at (or slightly before) your readout window - what the demo notebook calls a TOF measurement. The goal is to only acquire data while the readout pulse is at the ADC, not before or after.
  • If you can't see the pulse in the TOF measurement, you could try a direct loopback from the DAC to the ADC - make sure the cabling to the fridge is not the problem and that you have the correct channel numbers.
  • Maybe you need more amplification to boost the signal going into the ADC?

@JavierSerranoGarcia
Copy link
Author

Thank you so much for your advice. Now I can do the resonator and qubit spectroscopy and the Rabi oscillation

@meeg
Copy link
Collaborator

meeg commented Nov 2, 2022

Good to hear!

@meeg meeg closed this as completed Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants