This is the repository for the paper "Unified Framework for Calculating Convex Roof Resource Measures". arxiv-link
🚀 Exciting News! We've launched the numqi
package github/numqi, combining all the functionalities of this repository and even more! 🌟 To dive into these features, just install numqi
using pip install numqi
, and explore the relevant functions within the package. 🛠️
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 (see numqi-doc for detailed installation instruction):
pip install numqi
Then, clone this repository and cd into the directory
git clone git@github.com: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.