gidiko / MiFGD

MiFGD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MiFGD

python arXiv

Overview

This repository provides code implementation of "Fast quantum state reconstruction via accelerated non-convex programming" (https://arxiv.org/abs/2104.07006). The proposed method is called Momentum-inspired Factorized Gradient Descent (MiFGD), and it combines ideas from compressed sensing, non-convex optimization, and acceleration methods. In a nutshell, MiFGD can reconstruct an unknown low-rank density matrix given the corresponding set of measurements much more efficiently compared to other convex methods.

Note: please use Day theme on Github to read mathematical expressions below.

Problem description

Specifically, we consider the reconstruction of a low-rank density matrix on a n-qubit Hilbert space, where , through the following L2-norm reconstruction objective:

where is the measured data through quantum computer or simulation, and is the linear sensing map. The sensing map relates the density matrix to the measurements through Born rule: , where are the sensing matrices.

From the objective function above, we see two constraints:

  1. (Convex constraint) Positive semidefiniteness:
  2. (Non-convex constraint) Low-rankness:

Instead of solving the original optimization problem with the above constraints, we propose to solve a factorized version:

By factorizing the density matrix , both constraints are automatically satisfied.

Method and algorithm

To solve the factorized objective function above, we propose Momentum-inspired Factorized Gradient Descent (MiFGD), which iterates as follows:

Here, is a rectangular matrix which accumulates the "momentum" of the iterates . is the momentum parameter that balances the weight between the previous estimate and the current estimate .

Performance

We briefly review the performance of MiFGD using real quantum data, which we obtained from IBM's Quantum Processing Unit (QPU) by realizing two types of quantum states: GHZminus (top) and Hadamard (bottom), for n = 6 (left) and n = 8 (right), where n is the number of qubits. We highlight that, in the following plots, we only use 20% of the measurements that are information-theoretically compelete. We compare the effect of different momentum parameters in the figure below, where the accuracy of the estimated and the true density matrix is measured in terms of the squared Frobenius norm: .

Above figure summarizes the performance of MiFGD. In the legends, is the momentum parameter proposed by our theory; however, it should be noted that MiFGD converges with larger momentum values, in particular featuring a steep dive to convergence for the largest value of we tested. Moreover, the above figure also highlights the universality of our approach: its performance is oblivious to the quantum state reconstructed, as long as it satisfies purity or it is close to a pure state. Our method does not require any additional structure assumptions in the quantum state.

Install

conda env create -f environment.yml

Run the example notebook

  • Activate the environment:
conda activate mifgd
  • cd to notebooks/:
cd notebooks
  • Launch a jupyter lab session from a terminal:
jupyter lab
  • Work in your browser: Open qutomo_example.ipynb and execute its cells.

  • When you finish working, deactivate the environment:

conda deactivate

Citation

@article{kim2021fast,
  title={Fast quantum state reconstruction via accelerated non-convex programming},
  author={Kim, Junhyung Lyle and Kollias, George and Kalev, Amir and Wei, Ken X and Kyrillidis, Anastasios},
  journal={arXiv preprint arXiv:2104.07006},
  year={2021}
}

About

MiFGD


Languages

Language:Python 82.6%Language:Jupyter Notebook 17.4%