qsharp 1.12.0
pip install qsharp==1.12.0
Released:
Q# Python Bindings
Navigation
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Microsoft
- Requires: Python >=3.9
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
Project description
Q# Language Support for Python
Q# is an open-source, high-level programming language for developing and running quantum algorithms.
The qsharp
package for Python provides interoperability with the Q# interpreter, making it easy
to simulate Q# programs within Python.
Installation
To install the Q# language package, run:
pip install qsharp
Usage
First, import the qsharp
module:
import qsharp
Then, use the %%qsharp
cell magic to run Q# directly in Jupyter notebook cells:
%%qsharp
import Std.Diagnostics.*;
@EntryPoint()
operation BellState() : Unit {
use qs = Qubit[2];
H(qs[0]);
CNOT(qs[0], qs[1]);
DumpMachine();
ResetAll(qs);
}
BellState()
Telemetry
This library sends telemetry. Minimal anonymous data is collected to help measure feature usage and performance. All telemetry events can be seen in the source file telemetry_events.py.
To disable sending telemetry from this package, set the environment variable QSHARP_PYTHON_TELEMETRY=none
Support
For more information about the Azure Quantum Development Kit, visit https://aka.ms/AQ/Documentation.
Contributing
Q# welcomes your contributions! Visit the Q# GitHub repository at [https://github.com/microsoft/qsharp] to find out more about the project.
Project details
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Microsoft
- Requires: Python >=3.9
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Uploaded
CPython 3.9+
manylinux: glibc 2.35+ x86-64
Uploaded
CPython 3.9+
manylinux: glibc 2.35+ ARM64
Uploaded
CPython 3.9+
macOS 10.12+ universal2 (ARM64, x86-64)
macOS 10.12+ x86-64
macOS 11.0+ ARM64
File details
Details for the file qsharp-1.12.0-cp39-abi3-win_arm64.whl
.
File metadata
- Download URL: qsharp-1.12.0-cp39-abi3-win_arm64.whl
- Upload date:
- Size: 2.5 MB
- Tags: CPython 3.9+, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
11663c496f60d8b9615b658558d27113aa0d101681cb4c06707f85565a377170
|
|
MD5 |
bdb2bc52262e48d19d8ecaf55b4bb910
|
|
BLAKE2b-256 |
f3e4791c119c2c9680795bd71c3946ff36e7707741d6a9244369c9b6e011925e
|
File details
Details for the file qsharp-1.12.0-cp39-abi3-win_amd64.whl
.
File metadata
- Download URL: qsharp-1.12.0-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 2.6 MB
- Tags: CPython 3.9+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
2c85959e37542839b29d41c190577d7f5bd8935a345f35f8593e1b0c930f5b73
|
|
MD5 |
b482158678698e3b3ec18b9bede95c35
|
|
BLAKE2b-256 |
af9b07f696dd93a096f36ce0703dd7336371802fa0f0aab8d3eafc272e660e22
|
File details
Details for the file qsharp-1.12.0-cp39-abi3-manylinux_2_35_x86_64.whl
.
File metadata
- Download URL: qsharp-1.12.0-cp39-abi3-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 2.6 MB
- Tags: CPython 3.9+, manylinux: glibc 2.35+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
af494327fd8c9b78bb098464524b37587192bc893cfd94d98bc627bc8739d305
|
|
MD5 |
aa096476529de938950ecc541da1be91
|
|
BLAKE2b-256 |
c8a5ef8f03d3a4da9653b08a31b4988202f6438322ffeaa39c2602dc3a366f10
|
File details
Details for the file qsharp-1.12.0-cp39-abi3-manylinux_2_35_aarch64.whl
.
File metadata
- Download URL: qsharp-1.12.0-cp39-abi3-manylinux_2_35_aarch64.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.9+, manylinux: glibc 2.35+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
ae33e4a6d01b9cfcf9c0401c2a9728a7733c95933877ca81469087ae7d6c424b
|
|
MD5 |
d8e42eb956a2dce6f07b0083ba05fdde
|
|
BLAKE2b-256 |
c36f8bf18419404b63498477ddca1e16c776f8ae4dbd79c5de279e41a31d94d3
|
File details
Details for the file qsharp-1.12.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
.
File metadata
- Download URL: qsharp-1.12.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
- Upload date:
- Size: 4.8 MB
- Tags: CPython 3.9+, macOS 10.12+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1e1f92f44a2f4c0778b0696a0daf5790a42a753266af10c9cb3ac2e49ba85438
|
|
MD5 |
cf4ccad672b1e9b53baf4f3d2ae4a4d4
|
|
BLAKE2b-256 |
4e062e34b877a6ed14006cae66d4669806d354a28c855d32a81043346b34299d
|