Skip to content

Jue-Xu/Recipe-Quantum-Simulation

Repository files navigation

Quantum Simulation Recipes

License Release

This python package (published on PiP) contains basic ingredients for quantum simulation, such as the Hamiltonians and algorithmic primitives, mainly build on qiskit, openfermion, etc.

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
from quantum_simulation_recipe.plot_config import *  

H = spin.Nearest_Neighbour_1d(4, Jx=1.0)
H.ham

More usage in https://jue-xu.github.io/cookbook-quantum-simulation