Skip to main content

Recipe for quantum simulation

Project description

Quantum Simulation Recipes

License Release

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quantum_simulation_recipe-0.1.2.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file quantum_simulation_recipe-0.1.2.tar.gz.

File metadata

File hashes

Hashes for quantum_simulation_recipe-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c7e715f125b7b26ef68d7478caef292c6654ffd48d0735b9c35d97ede854410f
MD5 437c9d2de2e7192348856044ef5aca5e
BLAKE2b-256 30d2212abc89816d1867867e431838ecc2098dfccc870c0dd32b2478e8b421df

See more details on using hashes here.

File details

Details for the file quantum_simulation_recipe-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for quantum_simulation_recipe-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cd334953a3a479239748b4929b3af94d70775096d0a1f99d353323e9b08913de
MD5 1dce3d97d9359b903bbe7a8d3b52921c
BLAKE2b-256 9d519b866d7f7df557ce3f0eed20840d382a3a1b833a5dc3f56ab77e1142728d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page