Chronos-Q RFSOC Driver
Chronos-Q RFSOC Driver Documentation
T2Ramsey Class Reference

T2Ramsey class. More...

Inherits BaseExperiment.

Collaboration diagram for T2Ramsey:
Collaboration graph

Public Member Functions

bool execute (self, list[int] xy_dac, list[int] ro_dac, list[int] ro_adc, list[int] demod, **kwargs)
 Execute experiment. More...
 
bool fit (self)
 Data fit. More...
 
def plot (self, fit=False, filename=None)
 Plot experiment results. More...
 

Static Public Member Functions

def obj (x, *p)
 Model equation. More...
 

Detailed Description

Object that manages the T2 Ramsey experiment.
Note: Currently this class only support single qubit for the experiment.

Member Function Documentation

◆ execute()

execute (   self,
list[int]  xy_dac,
list[int]  ro_dac,
list[int]  ro_adc,
list[int]  demod,
**  kwargs 
)

Execute the T2 Ramsey experiment.
Note: Currently this class only support single qubit for the experiment.

Parameters
[in]xy_dacList of XY DAC channels to be used for the experiment.
[in]ro_dacList of readout DAC channels.
[in]ro_adcList of readout ADC channels.
[in]demodList of qubit/demodulator IDs.
[in]kwargsAddtional mandatory keyword based parameters required for the experiment as defined below:
Keyword argument Description
ro_duration Readout duration (in ns)
ro_amplitude Readout amplitude (between -1 to 1 inclusive)
ro_frequency Readout frequency (in Hz)
qubit_drive_amplitude Qubit drive amplitude (between -1 to 1 inclusive)
qubit_frequency Qubit frequency (in Hz) value
pi_pulse_duration Pulse duration (in ns)
detuning Tuning frequency (in Hz) steps
Here is the call graph for this function:

◆ fit()

fit (   self)

Request to cruve fitting to be executed on recent experiment results.

Returns
True if fitting was executed successfully. Else False.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ obj()

obj (   x,
p 
)
static

Model equation used during the curve fitting process on the experiment results.

Here is the caller graph for this function:

◆ plot()

plot (   self,
  fit = False,
  filename = None 
)

Plots the experiment results.
Alternatively the user can also retrieve the experiment results via results and/or results_fit to customize how the data is plotted.

Parameters
fitSet to True if the results plot includes curve fitting. Default is False.
Fitting algorithm used varies by the experiment and fit needs to be called before data is available.
filename(Optional) When set to a filename, the plot will be automatically saved to file and skips displaying.
Warning: If a file with the given filename already exists, it will be overwritten.
Here is the call graph for this function: