top of page

QMatch

QMatch is a Python package for simulating fermionic Gaussian states and operations. 
For a comprehensive review of fermionic Gaussian states and Gaussian linear maps, please refer to Appendix A of the reference provided below.

To install and use the package, follow these steps:

  • Clone the repository: git clone https://github.com/yhu1996/QMatch.git

  • Navigate to the project directory: cd QMatch-main

  • Install the package: pip install .

  • Import the package: from QMatch import QMatch as QM

  • Use the func() function: QM.func()

Features

The current version includes the following features.

  1. ground state correlation matrix (given the Hamiltonian)

  2. critical Ising ground state correlation matrix

  3. correlation matrix for maximally entangled states

  4. ground state energy (given the Hamiltonian)

  5. partial trace

  6. tensor product

  7. von Neumann Entropy

  8. Conditional mutual information

  9. Fidelity

  10. Gaussian channel

  11. Erasure channel

  12. Petz recovery map

  13. rotated Petz recovery map

  14. local Z measurement

bottom of page