Skip to main content

Recipe for quantum simulation

Project description

Quantum Simulation Recipes

License

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


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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for quantum_simulation_recipe-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7720b69c11b404b60299f7bb76f2c939e0a51d92f0e377edafaa303cd44fa494
MD5 5bc52a4464daf396592cb473e90b025d
BLAKE2b-256 4de4901f6ed3c7b9a0fc48c90544f03ecb001bd929dd008d999a9c5aed819489

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantum_simulation_recipe-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad7eab5dca3369cab8f300efffc3ecee09626e02e5b91ef8c808425e2724ec26
MD5 ea2c4ca957ac6d89f882dfdc74d6ac1a
BLAKE2b-256 e2bb4e31b4a2f03bc4bfeae58abcd68f103de1deed7b7a196bd6bacc9d909da1

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