convex roof extension via manifold optimization over Stiefel manifold.
This repository is to support arxiv paper ""
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.
draft_coherence.py
: geometric measure of coherence, coherence of formationdraft_magic.py
: stabilizer entropydraft_linear_entropy.py
: linear entropy of entanglementdraft_gme.py
: geometric measure of entanglementdraft_3tangle.py
: 3-tangledraft_misc.py
: miscellaneous
This project is licensed under the MIT License - see the LICENSE file for details.