spinqick.helper_functions.xtalk
Functions for interfacing with crosstalk parameter registers.
Functions
|
Convert generator number to crosstalk matrix index. |
|
Calculated the correct register number for the victim and perpetrator channels. |
|
Set crosstalk matrix element for a perpetrator, victim pair. The victim gate will respond to |
Module Contents
- spinqick.helper_functions.xtalk.gen_to_xtalk_ch(gen)
Convert generator number to crosstalk matrix index.
Channel 5 is the first xtalk channel.
- Parameters:
gen (int)
- spinqick.helper_functions.xtalk.perp_gen_to_perp_ch(perp_gen, victim_gen)
Calculated the correct register number for the victim and perpetrator channels.
- Parameters:
perp_gen (int) – qick generator number for the perpetrator channel
victim_gen (int) – qick generator number for the victim channel. This channel will compensate when the perpetrator channel output changes, and not the other way around.
- spinqick.helper_functions.xtalk.set_xtalk_element(perp_gate, victim_gate, xtalk, soc, hw_cfg)
Set crosstalk matrix element for a perpetrator, victim pair. The victim gate will respond to changes in the perpetrator gates voltage by xtalk*perpetrator voltage.
- Parameters:
perp_gate (spinqick.helper_functions.spinqick_enums.GateNames) – name of perpetrator gate
victim_gate (spinqick.helper_functions.spinqick_enums.GateNames) – name of victim gate
xtalk (float) – A crosstalk matrix element value between -1 and 1.
soc – XtalkSoc object. You need to initialize the qick board with the XtalkSoc class instead of the QickSoc class to be able to use this.
hw_cfg (spinqick.models.hardware_config_models.HardwareConfig)