1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-quantum

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
README.md 1.6 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Chris Granade Отправлено 13.09.2021 19:53 ebe7e42
page_type languages products description urlFragment
sample
qsharp
qdk
This sample demonstrates using Q# and Python together to perform quantum process tomography.
qsharp-with-python

Quantum process tomography

This sample demonstrates the use of Python to call into Q# by using the QInfer and QuTiP Python libraries to study the behavior of a Q# operation.

Installation

As this sample demonstrates using Q# and Python together, make sure you have the qsharp package for Python installed first; see the Getting Started with Python guide for details.

This sample also uses a couple extra Python packages to help out, so you'll need to have those ready as well. If you are using the Anaconda distribution of Python, this can be done automatically by using the environment.yml file provided with this sample:

cd samples/characterization/process-tomography
conda env create -f environment.yml
conda activate process-tomography

Running the Sample

Once everything is installed, run jupyter notebook to start the Jupyter Notebook interface in your web browser:

jupyter notebook

In the browser, select the tomography-sample.ipynb notebook in your browser to view the sample.

Manifest

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-quantum.git
git@api.gitlife.ru:oschina-mirror/mirrors-quantum.git
oschina-mirror
mirrors-quantum
mirrors-quantum
main