qcvv与标杆管理
forest-benchmarking的Python项目详细描述
#森林基准
[![管道状态](https://gitlab.com/rigetti/forest-benchmarking/badges/master/pipeline.svg)](https://gitlab.com/rigetti/forest-benchmarking/commits/master) [![生成状态](https://semaphoreci.com/api/v1/rigetti/forest-benchmarking/branches/master/shields_badge.svg)](https://semaphoreci.com/rigetti/forest-benchmarking)
使用[pyquil](https://github.com/rigetti/pyquil)进行量子特性、验证、验证(qcvv)和基准测试的库。
##安装
林基准可以从源代码安装,也可以通过python包管理器pypi安装。
注意:由于cvxpy的原因,必须预先安装numpy和scipy才能成功安装。
###来源
`bash git clone https://github.com/rigetti/forest-benchmarking.git cd forest-benchmarking/ pip install numpy scipy pip install -e . `
###PYPI
`bash pip install numpy scipy pip install forest-benchmarking `
##图书馆理念
森林基准的核心理念是分离:
- 实验设计与或生成
- 数据收集
- 数据分析
- 数据可视化
我们要求贡献给这个存储库的代码尊重这种分离。 我们还要求放置一个如何使用贡献代码的示例 在/examples/目录以及/docs/中的标准文档中。
##测试
单元测试可以使用pytest在本地运行,但是要注意测试依赖项 必须使用pip install-r requirements.txt预先安装。
##免责声明
这个包当前位于alpha(v0.x)中,因此您不应该期望api 在释放之间一定是稳定的。依赖于当前包的代码 当包版本更改时,状态很可能会中断,因此我们建议您 你使用的版本,必要时有意识地更新。