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

OSCHINA-MIRROR/mirrors-quantum

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
README.md 1.6 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
XField Отправлено 20.07.2023 23:45 a417fc0
page_type author description ms.author ms.date languages products
sample
cgranade
Run quantum teleportation on hardware, using the Azure Quantum service
chgranad@microsoft.com
01/25/2021
qsharp
qdk
azure-quantum

Quantum teleportation sample

This sample demonstrates how to use Q# and the Azure Quantum service together to teleport quantum data within a device.

This sample is implemented as a standalone executable, such that no C# or Python host is needed.

Running the sample on a local simulator

dotnet run -- --simulator QuantumSimulator --prep-basis PauliX --meas-basis PauliX

Running the sample on the Azure Quantum service

Make sure that you have created and selected a quantum workspace, and then run the following at the command line, substituting TARGET with the target that you would like to run against (e.g.: quantinuum.qpu.h1).

az quantum execute --target-id TARGET -- --prep-basis PauliX --meas-basis PauliX

⚠ NOTE: In order to run this sample, the target must support comparing measurement results.

For a full list of available quantum computing targets, run:

az quantum target list --output table

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