QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: vivek-dhande on April 7, 2023, 01:54

Title: Sweeping multiple metal gates WITH offset
Post by: vivek-dhande on April 7, 2023, 01:54
I would like to sweep two distinct gates over some voltage range but want to keep a constant offset between them. This means suppose I simulate 5 bias points, they should be: [0.5, 1.5], [0.6, 1.6], [0.7, 1.7], [0.8, 1.8], and [0.9, 1.9], where the first entry is one gate voltage and the second entry is the other. Is this possible in the current Quantum-ATK version. (I have version 2019.12.980d1ca)

I am using this as my analysis where gate regions 1, 2, 5 correspond to one gate and 3, 4, 6 correspond to the other:

iv_characteristics = IVCharacteristics(
    configuration=device_configuration,
    filename=filename,
    object_id='ivcharacteristics',
    gate_regions=[1,2,5],
    gate_source_voltages=gate_source_voltages,
    drain_source_voltages=drain_source_voltages,
    energies=numpy.linspace(-0.03085, 0.03085, 61700)*eV,
    kpoints=kpoint_grid,
)
Title: Re: Sweeping multiple metal gates WITH offset
Post by: Anders Blom on April 25, 2023, 22:35
In this case I would just loop manually instead of using the IVCharacteristics object. If you set up a single point IV calculation, you will have a script that you easily can turn into a loop in Python