qsharp 1.3.1
pip install qsharp==1.3.1
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.8
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
open Microsoft.Quantum.Diagnostics;
@EntryPoint()
operation BellState() : Unit {
use qs = Qubit[2];
H(qs[0]);
CNOT(qs[0], qs[1]);
DumpMachine();
ResetAll(qs);
}
BellState()
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.8
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.7+
manylinux: glibc 2.31+ x86-64
Uploaded
CPython 3.7+
manylinux: glibc 2.31+ ARM64
Uploaded
CPython 3.7+
macOS 10.12+ universal2 (ARM64, x86-64)
macOS 10.12+ x86-64
macOS 11.0+ ARM64
File details
Details for the file qsharp-1.3.1-cp37-abi3-win_arm64.whl
.
File metadata
- Download URL: qsharp-1.3.1-cp37-abi3-win_arm64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.7+, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7264930ff1de0aa7c1c8beb486b85ad4143bd6057b1a7c10a7795a51877c2018 |
|
MD5 | c5e7cc8c3aa357a4a0c0a2419eeaa999 |
|
BLAKE2b-256 | 7c50219ee5176523900a28a018f449b47a5737dd055c4c30a9d130fce92c0443 |
File details
Details for the file qsharp-1.3.1-cp37-abi3-win_amd64.whl
.
File metadata
- Download URL: qsharp-1.3.1-cp37-abi3-win_amd64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.7+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55d90bd75b511ad34b642766e0afc1f6d9b03ace583130507502b399c1e4f221 |
|
MD5 | 4c19bd5e2482279bf61016081184a199 |
|
BLAKE2b-256 | 0eca04d35a9360e9e53c8bd8b9136050f8495418b46aceb4b94498c0c2bd5d0b |
File details
Details for the file qsharp-1.3.1-cp37-abi3-manylinux_2_31_x86_64.whl
.
File metadata
- Download URL: qsharp-1.3.1-cp37-abi3-manylinux_2_31_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.7+, manylinux: glibc 2.31+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3d8af4d30fad67d0757c2eb8a6e7ab5d45223b119b462a455d0d90f66be20de |
|
MD5 | a0dc7bb9fe4c3aa1cb3d9df879104580 |
|
BLAKE2b-256 | ad429db0c2c06358638ee74d64a47ce6ecc3528b5050cfa1ae7e1d74f37b3abf |
File details
Details for the file qsharp-1.3.1-cp37-abi3-manylinux_2_31_aarch64.whl
.
File metadata
- Download URL: qsharp-1.3.1-cp37-abi3-manylinux_2_31_aarch64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.7+, manylinux: glibc 2.31+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f911621364010a189d6be83ab997857dd2dea6c644c139a02c66b6f70b2a96d |
|
MD5 | ae9cf50638c5bba3776c7a702f45b444 |
|
BLAKE2b-256 | 8da5b77c0eb07dbb1b0ea822760d376db192fa15ed7179bf4ab83a81d60d3ce0 |
File details
Details for the file qsharp-1.3.1-cp37-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
.
File metadata
- Download URL: qsharp-1.3.1-cp37-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.7+, 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 | 9471843b109115c512ba0b2b0854a7f64b0d44c2c770332481731cc7701ef72e |
|
MD5 | 331ecbb2963e0dbd1263a1b733852563 |
|
BLAKE2b-256 | 4e4ec79cc990386e57c365addb35954489487d0bfbe80392e48c2107c7dad50a |