Parallel simulations, finite bath: Parallelising numerical simulations for the time evolution of a finite spin bath coupled to a qubit

No Thumbnail Available

Files

URL

Journal Title

Journal ISSN

Volume Title

Perustieteiden korkeakoulu | Bachelor's thesis
Electronic archive copy is available locally at the Harald Herlin Learning Centre. The staff of Aalto University has access to the electronic bachelor's theses by logging into Aaltodoc with their personal Aalto user ID. Read more about the availability of the bachelor's theses.

Date

2024-09-02

Department

Major/Subject

Quantum Technology

Mcode

SCI3103

Degree programme

Aalto Bachelor’s Programme in Science and Technology

Language

en

Pages

56

Series

Abstract

At low energies, the environment of most open quantum systems can be represented by baths of harmonic oscillators or spins. Modelling and simulating an open quantum system requires substantial computational resources, and simulations on personal computers are limited to small models. Parallel computing architectures may allow expansion of the model size and enhance simulation capabilities. This thesis aims to optimise existing simulation code of an open quantum model for parallel execution. The model consists of an open quantum system, represented by a qubit, which interacts with an environment containing a finite number of weakly and randomly coupled spins. To reduce the dimension of its Hilbert space, the environment is mapped into an oscillator bath, producing a quadratic Hamiltonian. The time evolution of all particles is tracked through exact diagonalisation. The code is written in MATLAB and good scientific computing practices are followed. Primary optimisation takes place in a local computing environment using MATLAB Parallel Computing Toolbox. The analysis of this legacy code facilitates its modular restructuring with distinct physical processes or computational tasks assigned to specific functions. The modular version, which has been vectorised, shows an approximate 35% reduction in time consumption for a small model with 1500 spins. Optimisation for parallelism continues with dividing the code further into multicore and GPU parallelisms, with the latter indicating improved performance of about 23% over the modular version. Next, the optimised code was tested in Aalto Triton supercomputing cluster, achieving an approximate 99% improvement in time performance between the modular and the GPU versions for a model of 10000 spins, as well as an enlargement of the model by a factor of 20, to 30000 spins. Having being tested in two different computational environments, the aimed optimisation is considered successful. The structure of the code makes its adaptation simple for simulation of different models, enabling further exploration of its potential.

Description

Supervisor

Raasakka, Matti

Thesis advisor

Pekola, Jukka

Keywords

finite bath, MATLAB, parallelisation, qubit, simulation, spin bath

Other note

Citation