Skip to content

numqi/dm-stiefel

Repository files navigation

dm Stiefel

DOI

convex roof extension via manifold optimization over Stiefel manifold.

This repository is to support arxiv paper ""

quick start

This project is based on numqi package github-link, which is a package for numerical optimization for quantum information. To install numqi, run the following command:

pip install numqi

Then, clone this repository and cd into the directory

git clone [email protected]:numqi/dm-stiefel.git
cd dm-stiefel

To verify the installation, run the following command

pytest

and you should see all tests passed like below:

> pytest
============================ test session starts =================
platform linux -- Python 3.12.3, pytest-8.2.0, pluggy-1.5.0
rootdir: ~/project/dm-stiefel
collected 7 items

test_utils.py .......                                       [100%]
==================================================================

then you are ready to go! please try the jupyter notebook paper_data.ipynb to reproduce the data in the paper. Some figures are generated in the script file draft_fig00.py.

There are more script files for various experiments in the paper.

  1. draft_coherence.py: geometric measure of coherence, coherence of formation
  2. draft_magic.py: stabilizer entropy
  3. draft_linear_entropy.py: linear entropy of entanglement
  4. draft_gme.py: geometric measure of entanglement
  5. draft_3tangle.py: 3-tangle
  6. draft_misc.py: miscellaneous

License

This project is licensed under the MIT License - see the LICENSE file for details.