TNO Quantum: Devices
TNO Quantum provides generic software components aimed at facilitating the development of quantum applications.
The devices package provides a consistent way to configure and instantiate PennyLane devices, including local devices and remote backends from IBM Quantum Platform and Azure Quantum.
Documentation
Documentation of the tno.quantum.devices package can be found here.
Install
Easily install the tno.quantum.devices package using pip:
$ python -m pip install tno.quantum.devices
Usage
The tno.quantum.devices package can be used as shown in the following example.
from tno.quantum.devices import DeviceConfig
# Get a list of supported items
sorted(DeviceConfig.supported_items())
# ['default.clifford', 'default.gaussian', 'default.mixed', ...]
# Create a device
config = DeviceConfig("default.qubit", options={"wires": 5})
config.get_instance()
# <default.qubit device (wires=5) at 0x7b9fd6fc7770>
# Create an IBM device using "ibm.remote"
config = DeviceConfig("ibm.remote", options={"backend_name": "ibm_aachen", "wires": 5})
config.get_instance()
# <IBMDevice device (wires=5) at 0x7b9ffcfa5f30>
# Create an Azure device using "azure.remote"
config = DeviceConfig(
"azure.remote", options={"backend_name": "rigetti_cepheus", "wires": 5}
)
config.get_instance()
# <AzureDevice device (wires=5) at 0x7b9fdcbba9e0>
(End)use limitations
The content of this software may solely be used for applications that comply with international export control laws.
Metadata
Release files for tno.quantum.devices 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tno_quantum_devices-1.0.1.tar.gz | 13.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tno_quantum_devices-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.8 kB
Release files / tno_quantum_devices-1.0.1.tar.gz
| Download URL | tno_quantum_devices-1.0.1.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0fb24ca0d95e1607bf5ba8a1df8d16742f61a173f79ffb49343f5dab3a39c175
|
|
BLAKE2b-256 checksum How to use checksums |
519f3aeb454bb8aadec45ddf118c26b0c069a9b123a1d45f025a1b5d65dfb923
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / tno_quantum_devices-1.0.1-py3-none-any.whl
| Download URL | tno_quantum_devices-1.0.1-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af6ac1b6d12d1c2856b902db5ca234f23ed40253fb5af8ef5dce03dd0b179003
|
|
BLAKE2b-256 checksum How to use checksums |
29e466f8b7b766ea20b20d60781237b7f5dd2ad6ea92e2c856bffb46f3de16ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|