Recipe for quantum simulation
Project description
Quantum Simulation Recipes
This python package contains ingredients for quantum simulation, such as the Hamiltonians and algorithmic primitives, mainly build on qiskit, openfermion.
Install
conda create --name qs python=3.10
pip install quantum-simulation-recipe
Usage
import quantum_simulation_recipe as qsr
from quantum_simulation_recipe import spin_ham
H = spin_ham.Nearest_Neighbour_1d(4)
H.ham
More details https://github.com/Jue-Xu/Quantum-Simulation-Recipe/tree/main/tests/test.ipynb
Content
Common Hamiltonians
- Spin Lattice: nearest-neighbor, power-law, IQP
- Fermion: chemical molecule, SYK
- Boson: Hubbard
- Field: lattice gauge
- open system [todo]
States
- entangled state: GHZ, W state
- random state (Haar random, one-design)
Operator
- random Pauli strings
- OTOC
Channels
- noise channel (depolarize, dephase)
Measures
- norm: operator, trace distance, fidelity ...
- error bound
- overlap, entanglement, entropy
Algorithmic primitives
- Trotter-Suzuki (product formula)
- LCU
- QSP
- ITE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file quantum_simulation_recipe-0.1.0.tar.gz
.
File metadata
- Download URL: quantum_simulation_recipe-0.1.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7720b69c11b404b60299f7bb76f2c939e0a51d92f0e377edafaa303cd44fa494 |
|
MD5 | 5bc52a4464daf396592cb473e90b025d |
|
BLAKE2b-256 | 4de4901f6ed3c7b9a0fc48c90544f03ecb001bd929dd008d999a9c5aed819489 |
File details
Details for the file quantum_simulation_recipe-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: quantum_simulation_recipe-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad7eab5dca3369cab8f300efffc3ecee09626e02e5b91ef8c808425e2724ec26 |
|
MD5 | ea2c4ca957ac6d89f882dfdc74d6ac1a |
|
BLAKE2b-256 | e2bb4e31b4a2f03bc4bfeae58abcd68f103de1deed7b7a196bd6bacc9d909da1 |