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

[WIP] tracking Pagani detached #699

Open
wants to merge 65 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
efba8ac
Two-qubit gate calibration routines (Jorge)
MiguelSMoreira Apr 21, 2022
c843b79
Two-qubit gate calibration routines (2) (Jorge)
MiguelSMoreira Apr 21, 2022
4106b13
Changes in Pagani setup
MiguelSMoreira Jun 16, 2022
06f3116
Surface-17 changes in pagani
MiguelSMoreira Jun 23, 2022
cc65fdf
Routine commit (Jorge)
MiguelSMoreira Jul 7, 2022
8c249e5
Changes in pagani setup + New optimal RO weights analysis
MiguelSMoreira Sep 5, 2022
79595e5
Changes for 2nd state readout and LRU gate
jorgemfm27 Sep 22, 2022
008025d
Git police (Sean) :(
jorgemfm27 Sep 22, 2022
bb24d91
Correction of errors in RO analysis
jorgemfm27 Sep 26, 2022
ebb61b1
Introducing LRU routines!
jorgemfm27 Sep 26, 2022
5deb5e0
SSRO bug correction
jorgemfm27 Sep 26, 2022
68dc623
Pagani sync (Introducing LRU routines and gate process tomography)
jorgemfm27 Oct 5, 2022
6dd625d
Fixes to mw lutman virtual phases; flipping function for ef
jorgemfm27 Oct 10, 2022
5314caf
Fix to the ef flipping (again)
jorgemfm27 Oct 10, 2022
9591546
Routine commit
jorgemfm27 Oct 18, 2022
69af882
LRU flux lutman
Oct 18, 2022
2ebae3e
Routine commit
jorgemfm27 Oct 31, 2022
829df7a
Pagani routine commit (Added LRU related functionalty)
jorgemfm27 Dec 1, 2022
42a38d7
Routine commit pagani
jorgemfm27 Jan 13, 2023
03ed2ec
SSRO analysis now saves qois in hdf5 file
Jan 20, 2023
494708a
Routine commit (Added S17GBT functionality)
jorgemfm27 Jun 2, 2023
ad07ccc
Merge branch 'pagani_detached' of https://github.com/DiCarloLab-Delft…
jorgemfm27 Jun 2, 2023
ce7a38a
Pagani further GBT updates
jorgemfm27 Jul 4, 2023
27a4144
Routine commit
jorgemfm27 Jul 31, 2023
5c0d38d
Changes for unipolar and asymmetric pulses for TLS avoidance
jorgemfm27 Aug 24, 2023
d22ac8e
Routine commit
jorgemfm27 Sep 18, 2023
05f8896
Routine commit (stable long cryoscope)
jorgemfm27 Oct 5, 2023
55c168e
Added optional second excited state preparation for Chevron oql program
MiniSean Nov 2, 2023
68d3ff7
Fixed array to None comparison to use 'is' instead of '=='.
MiniSean Nov 2, 2023
18c9f79
Fixed color visibility in 'Ramsey_curves_plotfn'
MiniSean Nov 7, 2023
264ea10
Updated `apply_parking_settings` part of AB and Tmid calibration wrap…
MiniSean Nov 8, 2023
c6a1590
Updated fix addressing amplitude (from frequency) conversion calculat…
MiniSean Nov 10, 2023
b77a952
Updated (temporarily) switched back to calibrating parity check in is…
MiniSean Nov 10, 2023
e2c7ac7
Fixed bug in repeated parity tomography. Preparing with resonator com…
MiniSean Nov 13, 2023
f77c686
Updated pycqed __init__.py to make sure it raises a warning instead o…
MiniSean Nov 22, 2023
a22fead
Added functionality from QCoExtended repository. Allows for organizin…
MiniSean Nov 22, 2023
df9c2fb
Added method for obtaining all data qubit ID's that are part of ancil…
MiniSean Nov 22, 2023
59f7a23
Updated defect rate analysis by properly passing down data-qubits arg…
MiniSean Nov 24, 2023
c5b385e
Updated defect rate measurement function to include schedule for repe…
MiniSean Nov 24, 2023
d5bf479
Updated config file for distance-9 repetition code.
MiniSean Nov 27, 2023
85723eb
Fixed missing reference to 'qubits'
jorgemfm27 Dec 28, 2023
f099acb
Updated fixed typo in rx180 operation name
MiniSean Jan 3, 2024
24ea12e
Added standalone measurement function for repetition code.
MiniSean Jan 3, 2024
0b66e15
Added W.I.P. measurement function for fluxed echo, in preparation for…
MiniSean Jan 24, 2024
774c383
Working distance-3 repetition code conditions (Z4-Z2). Includes 0 rou…
MiniSean Feb 2, 2024
85aa67d
Added tqdm enumerators for base analysis processes
MiniSean Feb 3, 2024
6bc8a7f
Added missing __init__ for module
MiniSean Feb 3, 2024
41cb995
Added upgraded analysis for repeated stabilizer measurements that can…
MiniSean Feb 3, 2024
d9ea548
Fixes long standing bug of 'resonator jumping', caused by reversed or…
MiniSean Feb 27, 2024
3aa73e0
Added argument for disabling metadata storage for spectroscopy methods.
MiniSean Feb 27, 2024
4c436d0
updated Chevron measurement label
MiniSean Mar 15, 2024
f72016f
Added measurement function for (2qubit conditional oscillation) leaka…
MiniSean Mar 22, 2024
a64d4da
Added measurement function and analysis for new DC-flux sweetspot cal…
MiniSean Mar 25, 2024
59d6233
Added more detailed analysis to the (flux) voltage-to-frequency calib…
MiniSean Mar 25, 2024
3ff9f7f
Refactored moved qubit (D4 #15) from mw_3 (slot 9) to mw_1 (slot 4)
MiniSean Mar 26, 2024
54ac2c5
Added missing parameter update check
MiniSean Mar 26, 2024
efb26b3
Updated measure_flux_arc_dc_conditional_oscillation to run metadata s…
MiniSean Mar 27, 2024
fcc8352
Updated improvements to parking pulse generation (readability).
MiniSean Mar 27, 2024
42649f6
Updated W.I.P. changes
MiniSean Mar 27, 2024
ffbac35
Fixes multi-qubit calibration points
MiniSean Mar 27, 2024
50dbeab
Updated improvements to repetition code analysis and plotting
MiniSean Mar 27, 2024
5e62abe
Updated W.I.P. changes
MiniSean Mar 27, 2024
bf176f4
Updated long-time changes accumulated. Ready for setup transition
MiniSean Mar 27, 2024
962bb9f
Updated minor changes left and right.
MiniSean Mar 27, 2024
4280108
Added custom driver for HDAWG error injection
MiniSean Mar 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion pycqed/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from pycqed.version import __version__
import sys
import warnings

if 1: # FIXME: hack should be removed
module_name = "qcodes"
Expand All @@ -13,7 +14,12 @@
"NB: Any `qcodes` submodule must also be imported after pycqed.")
# We need to import this here so that any later imports of `QtPlot` from qcodes
# KEEP ABOVE any QtPlot import!!!
from pycqed.measurement import qcodes_QtPlot_monkey_patching
warnings.warn(message="Attempts to apply qcodes QtPlot monkey patch.")
try:
from qcodes import plots
from pycqed.measurement import qcodes_QtPlot_monkey_patching
except ImportError as e:
warnings.warn(message="Failed to apply qcodes QtPlot monkey patch.")

# from pycqed import measurement
# from pycqed import analysis
Expand Down
38 changes: 10 additions & 28 deletions pycqed/analysis/measurement_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -2539,8 +2539,8 @@ def run_default_analysis(self, print_fit_results=False,

verbose = kw.get('verbose', False)
# Get old values for qubit frequency
instr_set = self.data_file['Instrument settings']
try:
instr_set = self.data_file['Instrument settings']
if self.for_ef:
self.qubit_freq_spec = \
float(instr_set[self.qb_name].attrs['f_ef_qubit'])
Expand Down Expand Up @@ -4705,24 +4705,11 @@ def run_default_analysis(self, show=False, close_file=False, **kw):

units = SI_prefix_and_scale_factor(val=max(abs(self.ax.get_xticks())),
unit=self.sweep_unit[0])[1]
# Get old values
instr_set = self.data_file['Instrument settings']
try:
if self.for_ef:
T1_old = float(
instr_set[self.qb_name].attrs['T1_ef']) * 1e6
else:
T1_old = float(instr_set[self.qb_name].attrs['T1']) * 1e6
old_vals = '\nold $T_1$ = {:.5f} '.format(T1_old) + units
except (TypeError, KeyError, ValueError):
logging.warning('qb_name is None. Old parameter values will '
'not be retrieved.')
old_vals = ''

textstr = ('$T_1$ = {:.5f} '.format(T1_micro_sec) +
units +
' $\pm$ {:.5f} '.format(T1_err_micro_sec) +
units + old_vals)
units)

self.fig.text(0.5, -0.2, textstr, transform=self.ax.transAxes,
fontsize=self.font_size,
Expand Down Expand Up @@ -4786,7 +4773,8 @@ class Ramsey_Analysis(TD_Analysis):
Most kw parameters for Rabi_Analysis are also used here.
"""

def __init__(self, label='Ramsey', phase_sweep_only=False, **kw):
def __init__(self, label='Ramsey', phase_sweep_only=False,
**kw):
kw['label'] = label
kw['h5mode'] = 'r+'
self.phase_sweep_only = phase_sweep_only
Expand Down Expand Up @@ -4978,15 +4966,17 @@ def run_default_analysis(self, print_fit_results=False,
close_main_figure=True, save_fig=False, **kw)

verbose = kw.get('verbose', False)
# Get old values for qubit frequency
instr_set = self.data_file['Instrument settings']
try:
if self.for_ef:
# Get old values for qubit frequency
instr_set = self.data_file['Instrument settings']
self.qubit_freq_spec = \
float(instr_set[self.qb_name].attrs['f_ef_qubit'])
elif 'freq_qubit' in kw.keys():
self.qubit_freq_spec = kw['freq_qubit']
else:
# Get old values for qubit frequency
instr_set = self.data_file['Instrument settings']
try:
self.qubit_freq_spec = \
float(instr_set[self.qb_name].attrs['f_qubit'])
Expand Down Expand Up @@ -6345,16 +6335,8 @@ def run_default_analysis(self, print_fit_results=False,

scale = SI_prefix_and_scale_factor(val=max(abs(ax.get_xticks())),
unit=self.sweep_unit[0])[0]

instr_set = self.data_file['Instrument settings']
try:
old_RO_freq = float(instr_set[self.qb_name].attrs['f_RO'])
old_vals = '\n$f_{\mathrm{old}}$ = %.5f GHz' % (
old_RO_freq * scale)
except (TypeError, KeyError, ValueError):
logging.warning('qb_name is None. Old parameter values will '
'not be retrieved.')
old_vals = ''

old_vals = ''

if ('hanger' in fitting_model) or ('complex' in fitting_model):
if kw['custom_power_message'] is None:
Expand Down
Loading
Loading