Skip to content

Jue-Xu/Entanglement-Witness

Repository files navigation

README

Figure [https://excalidraw.com/#json=XBnibVJopP0Gr8kOZ-69F,DMmLNTof7_3ff3TVo4K_0Q]

The Paper

Towards efficient and generic entanglement detection by machine learning. Jue Xu and Qi Zhao, 2022

https://arxiv.org/abs/2211.05592

Packages required for numeric simulation:

  • anaconda
  • python, version > 3.8.8
  • numpy, version > 1.21.5
  • matplotlib, version > 3.5.1
  • QuTiP, version > 4.7.0
  • Scikit-learn, version > 1.1.2

Installation instructions available at (https://qutip.org/docs/latest/installation). Reference:

Installation instructions available at (https://scikit-learn.org/stable/install). Reference:

Related projects with open-source code

Classical shadow: hsinyuan-huang/predicting-quantum-properties; charleshadfield/adaptiveshadows

Unfaithful states: BenDive/Entanglement-Detection-Beyond-Measuring-Fidelities

Neural Network for entanglement classification: Matlab Code

Usage of code

The Code folder includes the code supporting the paper. The script and notebook are organized as follows. quantum_state_utils.py contains the functions that generate specific data (e.g. bi-separable, genuine entangled quantum states) and construct the training/testing datasets. The .py script must be in the same directory as the notebook when they are run. The entangle_detection.ipynb notebook contains the scripts that generates a particular example or a figure. The classical_shadow.ipynb notebook demonstrates the performance of classical shadow methods.

License

The code here is made available under the Creative Commons Attribution license (CC BY 4.0)