Skip to content

Commit

Permalink
commit by auto commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ElenBOT committed Sep 22, 2023
1 parent 2b84337 commit 0b65ca6
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# blochsimu - a python module for qubit simulation
`blochsimu` is a light weight python module that provide easy ways to simulate and plot the behavior of a qubit on bloch sphere.

<a href="https://pypi.org/project/<package-name>"><img alt="PyPI - Version" src="https://img.shields.io/pypi/v/<package-name>"></a>

## Requirements
* python 3.7+
* numpy
* scipy
* matplotlib

## Provides
1. Set up an experiment scheme by providing a sequence of sections with costimized physical quantities and duration.
2. Numerically solve bloch equation for a given experiment scheme.
3. Animate the time evolution of the solution or simply plot its trajectory on bloch sphere.
4. Provide tool to make gaussian-padded pulse wave as a callable(t) that returns a float.
5. Provide a function that draw a bloch sphere and return its figure and axes for user to plot as desired.

## Install

1. Install from PyPI
```shell
pip install <package-name>
```

1. Download the latest release from [Release v0.0.1](https://github.com/ElenBOT/simulation-of-a-qubit-on-bloch-sphere/releases/tag/v0.0.1)
```shell
pip install <package-name>-v0.0.1.tar.gz
```

## Usage
It is advised to import this module as `bs`.
```
import blochsimu as bs
```
For examples, see `example.py` in the folder.
4 changes: 4 additions & 0 deletions docs/changelogs/changelog_v0.0.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Title
* line1
* line2
* line3

0 comments on commit 0b65ca6

Please sign in to comment.