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

[BUG] - SG: Realtime frequency sweep with two oscillators not working #31

Closed
1 of 2 tasks
GlaserN opened this issue Mar 23, 2023 · 6 comments
Closed
1 of 2 tasks
Assignees
Labels
bug Something isn't working fix released fix to the issue / enhancement has been released jira Sync the issue to ZI LabOneQ internal issue tracker.

Comments

@GlaserN
Copy link

GlaserN commented Mar 23, 2023

Describe the bug
For measuring the anharmonicity of the qubit we need the perform to pulses with different frequencies via the SHFSG.
For finding the resonance we want to sweep only the e-f transition but not the g-e transition.
Using realtime sweeps for the logical_signal_line with the g-e transition breaks however the behaviour of the outcome measured on the oscilloscope:
The first defined oscillator (for us the g-e) frequency is swept with the range defined for the LinearSweep of the e-f frequency, however around the g-e frequency. The pulse for the e-f frequency is played with the oscillator frequency 0, e.g., at the lo_frequency.

To Reproduce
Compare the output on channel 5 for the both experiments in neartime or realtime on the oscilloscope.
The neartime experiment produces the expected outcome, however being significantly slower.
realtime.zip
neartime.zip

Realtime:
grafik
Sweep between 50-150MHz on wrong pulse
Second pulse: at lo frequency: 600MHz.

Neartime:
grafik
Correct behaviour

Expected behavior
The realtime sweep should only sweep the oscillator connected to the associated logical signal line.

Versions used:

  • laboneq: 2.2
  • zhinst-core: 23.02

Context

  • Do you know a workaround for the issue? If yes, please provide a short description.
  • Does the issue block your experiments?
@polwel
Copy link
Contributor

polwel commented Mar 23, 2023

Hi Niklas!

This is a known limitation: when using the oscillator switching in combination with oscillator sweeping, the only oscillator that can be swept is the one with the alphabetically first UID.

For example, if you have two oscillators, named osc1 and osc2, only osc1 can be swept in the real time loop.

Can you, as a workaround, rename one of the oscillators to force the sorting?

We'll be working on a proper fix in the future.

@kshirer kshirer added bug Something isn't working enhancement New feature or request and removed bug Something isn't working enhancement New feature or request labels Mar 27, 2023
@QuantumClemens
Copy link
Collaborator

@GlaserN can you confirm if the workaround proposed by @polwel is working for you?

@QuantumClemens QuantumClemens added the question Further information is requested label Apr 5, 2023
@QuantumClemens
Copy link
Collaborator

@GlaserN could you please confirm of the workaround is working for you or if you need additional information?

@GlaserN
Copy link
Author

GlaserN commented Apr 18, 2023

We can make use of the this workaround. For the general application it would however be useful to have the flexibility to arbitrarily name the oscillators, especially as they are, in our setup, initialized in the order of usage.

@QuantumClemens QuantumClemens removed the question Further information is requested label Apr 19, 2023
@mforoozandeh mforoozandeh added the jira Sync the issue to ZI LabOneQ internal issue tracker. label Jun 20, 2023
@polw-zi
Copy link
Contributor

polw-zi commented Jul 28, 2023

Hi @GlaserN, you can expect a better solution for this issue coming in version 2.12 next week.

@kshirer kshirer added the fix released fix to the issue / enhancement has been released label Aug 10, 2023
@kshirer
Copy link
Collaborator

kshirer commented Aug 10, 2023

Hi @GlaserN , with the release of 2.12, I'm closing this issue.

@kshirer kshirer closed this as completed Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fix released fix to the issue / enhancement has been released jira Sync the issue to ZI LabOneQ internal issue tracker.
Projects
None yet
Development

No branches or pull requests

6 participants