qiskit-advocate / qamp-spring-22

Qiskit advocate mentorship program (QAMP) spring 22 cohort (Mar - Jun 2022)
13 stars 1 forks source link

Add Lanczos algorithm to Qiskit dynamics #27

Open miamico opened 2 years ago

miamico commented 2 years ago

Description

The Lanczos algorithm is a numerical method that can be used to calculate time-evolution of closed quantum system. It is a computationally efficient method for large systems and can be useful to speed up the simulation of closed-system dynamics.

Deliverables

PR to Qiskit dynamics repo to add the feature

Mentors details

Number of mentees

1

Type of mentees

rupeshknn commented 2 years ago

Here is the pdf of the presentation: Checkpoint_1-Lanczos_Algorithm_for_Qiskit_Dynamics.pdf

HuangJunye commented 2 years ago

@rupeshknn Can you please provide your checkpoint 2 updates? Instructions are given in the slack channel.

rupeshknn commented 2 years ago

Checkpoint 2

Implemented Lanczos Ground state algorithm for scipy CSR sparse matrices and fixed bugs to work with complex arrays. Runtime comparable with QuSpin and better than SciPy.sparse and NumPy. image dense-vs-sparse numpy-vs-lanczos

We are now working on time evolution using Lanczos and sparse expm.

rupeshknn commented 2 years ago

Forgot to add the final presentation. Sorry. Final-Lanczos_Algorithm_for_Qiskit_Dynamics.pdf

rupeshknn commented 2 years ago

A late update, but the PR has been merged. 🎉

https://github.com/Qiskit/qiskit-dynamics/pull/109