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
conda activate qs
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://jue-xu.github.io/Quantum-Simulation-Cookbook
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
Misc
Support Jax
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.2.tar.gz
.
File metadata
- Download URL: quantum_simulation_recipe-0.1.2.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7e715f125b7b26ef68d7478caef292c6654ffd48d0735b9c35d97ede854410f |
|
MD5 | 437c9d2de2e7192348856044ef5aca5e |
|
BLAKE2b-256 | 30d2212abc89816d1867867e431838ecc2098dfccc870c0dd32b2478e8b421df |
File details
Details for the file quantum_simulation_recipe-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: quantum_simulation_recipe-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.1 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 | cd334953a3a479239748b4929b3af94d70775096d0a1f99d353323e9b08913de |
|
MD5 | 1dce3d97d9359b903bbe7a8d3b52921c |
|
BLAKE2b-256 | 9d519b866d7f7df557ce3f0eed20840d382a3a1b833a5dc3f56ab77e1142728d |