Monday, 17 June 2019

Visualising electron correlation (2)

Just a quick follow-up on last post. Here are some more pictures of conditional electron/hole densities taken from the computations performed in the original ChemPhotoChem paper but with some extra rendering. To get a better overview, you can check my a newest talk (starting at slide 32). What we are doing here is that we are pulling the hole through the system from left to right and we are observing how the electron behaves. For the S1 state, the adjustment is rather small.



Tuesday, 11 June 2019

Visualising electron correlation

How do you visualise the correlation between two particles? One option is to fix one of them at a specific region of space and look at the distribution of the other one. This is the principle behind a new method for visualising excitonic correlation just presented in a paper in ChemPhotoChem: Visualisation of Electronic Excited‐State Correlation in Real Space, and released within the TheoDORE 2.0 code. First, we have to interpret the excited state within the electron-hole picture as explained previously and compute the two-body electron-hole distribution. Then, we can fix one of the quasi-particles in space and observe the distribution of the other one.

Below, I am showing what this analysis looks like for a simple PPV oligomer. I am fixing the hole either at the terminal phenyl, the vinyl or the central phenyl and plot the corresponding electron distribution. In the case of the S1 state, the electron does not really care about the hole. The electron comfortably rests in the LUMO no matter what the hole does:

But for the S2 state things look completely differently. The electron now tries to actively avoid the hole as it moves through the system.
S3, for comparison, has a much more localised structure where the electron is always focussed on the centre.
S4 has a somewhat more complicated structure:


By the way, I realised that the same type of analysis has been recently performed for periodic computations as well. The difference is that in a periodic system every atom (or symmetry unit) will produce the same picture. In a finite system the picture also changes with the position of the probe.

Monday, 11 March 2019

Creating fill-in-the-blanks handouts with LaTeX beamer

For some of my lectures I wanted to create handouts with blanks to fill in for the students. latex/beamer allows you to do this in a very convenient way. But it took me a while to figure out how to do this. This is why I just wanted to write a little memo in this blog post.

The preamble looks like this
\documentclass[compress,transparent,10pt
,handout
]{beamer}

% toggle print-out to the handout for fill-in-the-blanks part
%\newcommand{\ho}{}
\newcommand{\ho}{|handout:0}
With the initial handout tag I can toggle between handout mode and normal mode in latex. With the \ho tag I can decide whether the handouts are filled in or not.

Let's look at the following code
\begin{frame}
\frametitle{Energy and waves}
\begin{block}{Planck law}
\onslide<2-\ho>{\[ E = h\nu \]}
\end{block}

\begin{block}{Speed of light}
\onslide<3-\ho>{\[ c = \nu\lambda \]}
\end{block}

\begin{description}
\item[$E$] Energy
\item[$h$] Planck constant, $h=6.626\times 10^{-34}Js$
\item[$c$] Speed of light, $c=2.997\times 10^8 m/s$
\item[$\lambda$] Wavelength of light
\end{description}

\end{frame}
This can be compiled in three different ways. For the initial student printout I am using the commands as shown above to obtain:

If I want to fill in the blanks, I just change the following:

% toggle print-out to the handout for fill-in-the-blanks part
\newcommand{\ho}{}
%\newcommand{\ho}{|handout:0}
to get

And for my lecture I uncomment the "handout" part to get three separate slides where the equations appear on click:


Friday, 21 December 2018

Benzene excimer

I created this picture to illustrate excimer formation in the benzene dimer after light irradiation. We start with a slip-stacked geometry shown on the upper left and irradiate this with light. Then, as the molecules align during the first few hundred femtoseconds, the coupling increases and we get an energy transfer from the lower to the upper benzene. As the coupling increases, an excimer is formed. In our dynamics, this excimer decays later on as there is no way to dissipate the excess energy.


The corresponding paper just appeared in PCCP (DOI: 10.1039/c8cp06354k) and we are trying to send a slightly adapted version of the above picture as a front cover to PCCP.

The pictures shown were created with PyMOL after creating cube files with Q-Chem. As a memo to myself and anyone who might want to try this out, these are the main commands for PyMOL:

1. Load all the coordinate and cube files. If you set it up in a way that all the coordinate and cube files have the same names, then everything is loaded into different frames of the same object in pymol, which is needed for step 4.
pymol S_*/plots/coord.mol S_*/plots/singlet_A_1_elec.cube
2. Create an isosurface for the density
isosurface elec, singlet_A_1_elec, 0.0015
3. Change the color of the isosurface, and for some reason it seems you have to write the command from 2. again afterwards.

4. To create the pictures of the different frames, you can use the integrated movie functionality of PyMOL
set ray_trace_frames=1
set cache_frames=0
mclear
mpng fig
That's it!

I was previously talking about how to create surfaces automatically in VMD and even created a script for that. But actually, I am quite impressed by how well this works in the current PyMOL version. And the nice thing about PyMOL is that you can have a transparent background for the structures, which adds flexibility for creating the final image.

Monday, 17 December 2018

PhD studentship at Loughborough University

A fully funded PhD studentship starting in October 2019 will be opening in my group at Loughborough University. If you are just finishing your Master's in chemistry, are interested in quantum chemistry and ambitious about learning new things, then go for it and apply!

The official announcement is shown here:

Unravelling the electronic structure properties of functional molecular materials

Functional molecular materials play an important role in modern science with applications in solar energy conversion, lighting, and data processing. Nowadays, computer simulations are an indispensable component in the study of these systems due to constant improvements in computer power. However, these computations have become so complicated that it is often a major challenge to make full sense of the results. To overcome this problem, a versatile computational analysis toolkit has been developed by Dr Plasser and co-workers, and it is the goal of this project to apply and further develop these tools. The student working on this project will develop skills in terms of applying modern quantum chemistry methods to various molecules of current scientific interest and will be given the opportunity to turn recently developed methods into high-impact scientific publications. In addition, programming skills will be developed, and the student will have the chance to work in an interdisciplinary setting with inputs from chemistry, physics and computer science.

The pictures shown pertain to a new method for visualising electron correlation in the excited state. Here, the excitation hole (red) is moved through the system and one observes how the excited electron (blue) adjusts to the position of the hole for the different excited states. I will talk about this idea some more once the underlying paper is published.

The tasks to be carried out during the project revolve around the topic of excited-state wavefunction analysis. First, we would be applying some of the recently developed tools, available within TheoDORE, Q-Chem, and Molcas. This work would be similar to this post or this post. Subsequent work will be a combination of programming and/or scripting tasks together with applications.

You can find the official announcement and guidelines here. I guess the main point to realise is that we can only pay a stipend to UK/EU graduates. Others would just get their non-UK/EU tuition fee covered and not obtain a stipend on top of that.

If you are interested, go ahead and check out my new group's homepage. Feel free to contact me if you have any specific questions about the work to be done.