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.1.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for quantum_simulation_recipe-0.1.1.tar.gz
Algorithm Hash digest
SHA256 37696721046f214a875cbc2472412f7d5a527369aef15b11054ed1005bcf72d4
MD5 f63b814601d10afa50419d577ecd7665
BLAKE2b-256 5fa44c3d00f66c50024e9bfdfb63540ef3e950225de21b91ced810fd09dd50ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantum_simulation_recipe-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1401f2f0777b0c437c40510e6c1bb2608c37a3a321f9fabf02f76b513cd4e257
MD5 97fa68ced086f040dd91cc9d70b48f3a
BLAKE2b-256 81d4573da29e05c311a6a30235d058b2a82ea2d013108add35c854d7be6ae86b

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