Skip to main content

No project description provided

Project description

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:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

strangeworks_azure-0.1.7.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

strangeworks_azure-0.1.7-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file strangeworks_azure-0.1.7.tar.gz.

File metadata

  • Download URL: strangeworks_azure-0.1.7.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.9.25 Linux/6.11.0-1018-azure

File hashes

Hashes for strangeworks_azure-0.1.7.tar.gz
Algorithm Hash digest
SHA256 b0ea21aa374a073d355230211dd36442c215335909577488f7c7c6fa9537fe2d
MD5 1a25a559f150c105620f1b4e352bd095
BLAKE2b-256 e2161a302f30fa055123a7d2d62625abb19ed8a75d00022c5a0119bdbf8995f9

See more details on using hashes here.

File details

Details for the file strangeworks_azure-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: strangeworks_azure-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.9.25 Linux/6.11.0-1018-azure

File hashes

Hashes for strangeworks_azure-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b9c9967a42af3e6233d62c0b89f751331c69eca94a70113af73a288c8678472d
MD5 a2ce1c11396fa462f0db85c97ac852d2
BLAKE2b-256 93299c6bef3de2eac8825859c0c40a186d6de434e50f14e3cd5ba78125ae2d4d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page