qiskit-advocate / qamp-spring-22

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

Improve performance and usability of BasicAer #37

Open kevinsung opened 2 years ago

kevinsung commented 2 years ago

Description

Qiskit includes a Numpy simulator backend called BasicAer. It suffers from issues in several areas, including performance, usability, and documentation. This project aims to address those issues.

Deliverables

Fix the following issues:

Mentors details

Number of mentees

1

Type of mentees

kevinsung commented 2 years ago

This project now has a mentee: @alejomonbar

alejomonbar commented 2 years ago

#37 Improve performance and usability of BasicAer.pdf

alejomonbar commented 2 years ago

Checkpoint 2

At this point, I have two pull requests with one of them merged. These pull requests solve some problems for the BasicAer backend. The first solves the problem with the limit of max_shots in this backend (prior it was set arbitrarily to 65536 and now it is unlimited max_shots) and the second makes "date" a default attribute for the BasicAer backends. A major problem was identified with the use of tox to test the new additions because using a MacBook pro with the new M1 chip gives some problems with a library called JAX that is installed when executing tox. The problem was solved by deleting those lines that contain JAX in the "requirements-dev.txt". Our next goal and the most important for this mentorship is to create the version of the backend BasicAer.qasm_simulator using qiskit.quantum_info this will improve the performance of executing circuits and will make the maintenance more straightforward because at the end the code that will be used is the quantum_info.

CheckPoint2

alejomonbar commented 2 years ago

#37 Improve performance and usability of BasicAer v2.pdf