Exercise: Many electron tunnelling systems

Having read notebooks 1-4, you should be in a position to tackle this exercise. It is designed to test aspects from each of the topics you have learned so far. A worked solution to this exercise is provided, with a small amount of explanation of the underlying physics, but we highly encourage you to fully attempt this exercise first before consulting the solutions. There truly is no better way to check you’re up to speed with everything you ought to be than by having a go yourself!

The system of interest is going to be a double antisymmetric well, with the exact form of the potential being

\[-\frac{6}{5} exp \bigg(\frac{-1}{125}(x-10)^4\bigg) - \frac{9}{10} exp\bigg(\frac{-1}{10}(x+10)^2\bigg),\]

or in python format

[2]:
# -(6.0/5.0)*math.e**(-(1.0/125.0)*(x-10)**4)-(9.0/10.0)*math.e**(-(1.0/10.0)*(x+10)**2)

Now we’d like you to ** run iDEA, with time dependence and reverse engineering switched on for the non-interacting, exact and LDA cases.** Be sure to adjust your system parameters to suitable values to ensure convergence and to include the whole of the potential. We also recommend running the time dependence for at least $t_{max} = 10 $ a.u. to ensure you are able to see the features we’re interested in. The perturbation applied at $t = 0 $ is just the default linear electric field so there is no need to change this for the time being (but you’re more than welcome to adjust this and see what its effect is).

After iDEA has finished running, plot your ground state densities for the each of the above cases and the external potential on the same graph commenting on any differences.

[4]:
# Import iDEA and parameters



[5]:
# Adjust the parameters to answer the exercise
# NB - if your system has trouble running iDEA from the notebook, try setting pm.run.verbosity to 'low'


[6]:
# Change the external potential to that given above


[7]:
# Optional (but recommended) - check that parameters file has updated as you expected


[8]:
# Hopefully everything is good to go now, so go ahead and run iDEA


Hopefully everything has worked as expected so far. Getting to this point means you’re comfortable with the basics of running the iDEA code. If you’re having problems with this, go back and read the “Getting Started with iDEA” notebook.

[9]:
# Import matplotlib and plot each of the densities you've calculated thus far

Use this cell to comment on the differences you see in the graphs:

That’s the first part done! Now let’s have a look at why DFT has done so well. Plot the reverse engineered exact KS potential and the external potential on the same graph and comment on the major differences

[10]:
# Plot the KS potential and the external potential on the same graph



Use this cell to comment on the major differences between between the two potentials:

Now we’re ready to move onto looking at the time dependence of the system. Animate how the exact density changes over time.

[11]:
# Import the relevant packages for animations


[1]:
# Store your time dependent solution as an array
[2]:
# Set the background for the animation
[3]:
# Define the init function
[4]:
# Define the animation function
[5]:
# Display the animation

Use this cell to comment of the major features of the time-evolution. How can we tell it is a tunnelling system?

[ ]: