浏览代码

Update README

master
Pete Shadbolt 8 年前
父节点
当前提交
5524f193b4
共有 3 个文件被更改,包括 6 次插入4 次删除
  1. +6
    -4
      README.md
  2. +0
    -0
      examples/demo.gif
  3. +0
    -0
      examples/viz.png

+ 6
- 4
README.md 查看文件

@@ -1,6 +1,6 @@
# abp # abp


Python port of Anders and Briegel' s [method](https://arxiv.org/abs/quant-ph/0504117) for fast simulation of Clifford circuits.
Python port of Anders and Briegel' s [method](https://arxiv.org/abs/quant-ph/0504117) for fast simulation of Clifford circuits. Should do thousands of qubits without much trouble.


Install with `pip`: Install with `pip`:


@@ -8,7 +8,7 @@ Install with `pip`:
$ pip install --user abp $ pip install --user abp
``` ```


![demo](img/demo.gif)
![demo](examples/demo.gif)


## Visualization ## Visualization


@@ -40,13 +40,15 @@ Now, in another terminal, use `abp.fancy.GraphState` to run a Clifford circuit:


And you should see a visualization of the state: And you should see a visualization of the state:


![demo](img/viz.jpg)
![demo](examples/viz.png)


## Testing ## Testing


`abp` has a fairly rigorous test suite. You can run all the tests with `nose`:
`abp` has a bunch of tests. You can run them all with `nose`:


```shell ```shell
$ nosetests
53 tests run in 39.5 seconds (53 tests passed)
``` ```


Currently I use some reference implementations of `CHP` and `graphsim` which you won't have installed, hence some tests will fail with `ImportErrors`. You can ignore those :feelsgood:. Currently I use some reference implementations of `CHP` and `graphsim` which you won't have installed, hence some tests will fail with `ImportErrors`. You can ignore those :feelsgood:.

img/demo.gif → examples/demo.gif 查看文件


img/viz.png → examples/viz.png 查看文件


正在加载...
取消
保存