stanza.routines.builtins.dqd_search.routine
Module Contents
Functions
Data
logger
API
Value: getLogger(...)
Compute peak spacing by analyzing Coulomb blockade patterns in random sweeps.
Parameters:
Routine context with device and models client
Gate electrode names
Current measurement electrode
Minimum voltage scale to test (V)
Maximum voltage scale to test (V)
Points per sweep trace
Maximum sweep attempts per scale
Target successful samples per scale
Random seed for reproducibility
Logger session for telemetry
Barrier voltages to use
Returns:
Median peak spacing in volts
Raises:
ValueError: If no valid peak spacings detected
Run DQD search with fixed barrier voltages using adaptive grid sampling.
Parameters:
Routine context with device and models client
Gate electrode names
Current measurement electrode
Points in diagonal current trace
Points per axis in low-res charge stability diagram
Points per axis in high-res CSD
Maximum grid squares to sample (default: 50% of grid)
Exit after finding this many DQDs
Use 8-connected neighborhoods vs 4-connected
Random seed for reproducibility
Logger session for telemetry
Barrier voltages to use
Returns:
Dictionary with “dqd_squares” key containing list of all DQD squares found
Run peak spacing and DQD search over barrier voltage sweeps.
Sweeps outer barriers (0, 2) from global turn-on to mean transition voltage. Sweeps inner barrier (1) from transition to global turn-on voltage. Runs compute_peak_spacing and run_dqd_search_fixed_barriers at each point.
Parameters:
Routine context
Gate electrode names
Current measurement electrode
Number of sweep points for outer barriers
Number of sweep points for inner barrier
Minimum search scale for compute_peak_spacing
Maximum search scale for compute_peak_spacing
Number of DQDs for exit
Points per current trace
Logger session
Returns:
Dict with run_dqd_search results

