Skip to main content

PyPI version Python version Documentation

Strangeworks Azure Quantum

The Strangeworks Azure Quantum SDK provides seamless access to Microsoft Azure Quantum services through the Strangeworks platform. It enables you to run Qiskit circuits on Azure Quantum backends with a simple, unified interface.

Features

  • Qiskit integration for building and executing quantum circuits
  • Azure Quantum backend access through the Strangeworks platform
  • Job management with status tracking and result retrieval
  • Support for multiple circuit formats including Qiskit QuantumCircuit and OpenQASM strings
  • Unified interface that simplifies Azure Quantum access

Installation

pip install strangeworks-azure

Quick Start

import strangeworks as sw
from qiskit import QuantumCircuit
from strangeworks_azure import StrangeworksBackend

# Authenticate with your API key
sw.authenticate("your-api-key")

# List available Azure Quantum backends
backends = StrangeworksBackend.get_backends()
print("Available backends:")
for backend in backends:
    print(f"  - {backend.name} ({backend.status})")

# Create a quantum circuit
circuit = QuantumCircuit(2, 2)
circuit.name = "GenerateRandomBit"
circuit.h(0)
circuit.cx(0, 1)
circuit.measure([0, 1], [0, 1])

# Choose a backend (e.g., IonQ simulator)
ionq = StrangeworksBackend(name="ionq.simulator")

# Execute the circuit
job = ionq.run(circuit, shots=100)

# Get results
result = job.result()
print(f"Counts: {result.get('counts')}")

Documentation

Comprehensive documentation is available at docs.strangeworks.com.

The documentation includes:

  • Getting started guides
  • API reference
  • Supported backends and providers
  • Circuit format specifications
  • Examples and tutorials

Supported Backends

The SDK provides access to Azure Quantum backends including:

  • IonQ simulators and hardware
  • Rigetti quantum devices
  • Other Azure Quantum providers

For a complete list of available backends, use StrangeworksBackend.get_backends() or check the documentation.

Requirements

  • Python 3.11 or higher
  • A Strangeworks account and API key (Get started)
  • Qiskit for circuit construction

License

This project is licensed under the Apache License 2.0.

Support

For support, questions, or feature requests, please visit:

Metadata

Release files for strangeworks-azure 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for strangeworks-azure 0.1.7
File Size Uploaded Provenance Actions
strangeworks_azure-0.1.7.tar.gz 5.0 kB Without provenance Details for strangeworks_azure-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for strangeworks-azure 0.1.7
File Interpreter ABI Platform Actions
strangeworks_azure-0.1.7-py3-none-any.whl Python 3 none any Details for strangeworks_azure-0.1.7-py3-none-any.whl

Total release size: 11.0 kB

Release files / strangeworks_azure-0.1.7.tar.gz

Download URL strangeworks_azure-0.1.7.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b0ea21aa374a073d355230211dd36442c215335909577488f7c7c6fa9537fe2d
BLAKE2b-256 checksum
How to use checksums
e2161a302f30fa055123a7d2d62625abb19ed8a75d00022c5a0119bdbf8995f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.9.25 Linux/6.11.0-1018-azure

Release files / strangeworks_azure-0.1.7-py3-none-any.whl

Download URL strangeworks_azure-0.1.7-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9c9967a42af3e6233d62c0b89f751331c69eca94a70113af73a288c8678472d
BLAKE2b-256 checksum
How to use checksums
93299c6bef3de2eac8825859c0c40a186d6de434e50f14e3cd5ba78125ae2d4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.9.25 Linux/6.11.0-1018-azure

Security for strangeworks-azure 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page