Skip to main content

pcam-sampler

PyPI version License

dimod.Sampler compatible client for the NEOMA P-CAM 64-Spin Room-Temperature Physical Ising Solver (/v1/ising/solve — 2,000 free solves/month via RapidAPI).

Installation

pip install pcam-sampler

Quickstart

import dimod
from pcam_sampler import PCAMSampler

# Define Ising or QUBO problem (up to 64 coupled spins)
h = {0: -0.5, 1: 0.5}
J = {(0, 1): -1.0}
bqm = dimod.BinaryQuadraticModel.from_ising(h, J)

# Solve directly on NEOMA P-CAM physical silicon enclave
sampler = PCAMSampler(api_key="YOUR_RAPIDAPI_FREE_KEY")
sampleset = sampler.sample(bqm)

print("Ground-State Sample :", sampleset.first.sample)
print("Hamiltonian Energy  :", sampleset.first.energy)
print("Silicon Reflex (ms) :", sampleset.info["hardware_reflex_ms"])
print("Hardware SEAL-PoPW  :", sampleset.info["hardware_seal_id"])

Metadata

Release files for pcam-sampler 1.0.3

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

Source distribution (sdist)

Source distribution for pcam-sampler 1.0.3
File Size Uploaded Provenance Actions
pcam_sampler-1.0.3.tar.gz 4.4 kB Without provenance Details for pcam_sampler-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pcam-sampler 1.0.3
File Interpreter ABI Platform Actions
pcam_sampler-1.0.3-py3-none-any.whl Python 3 none any Details for pcam_sampler-1.0.3-py3-none-any.whl

Total release size: 8.4 kB

Release files / pcam_sampler-1.0.3.tar.gz

Download URL pcam_sampler-1.0.3.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5b6673244bc3bcf963cea9cf0db4df20fd8d20dda64fa1be161931f434079e75
BLAKE2b-256 checksum
How to use checksums
6c9f4b0fc0cdf4b5177afca8068d5e2933059ed5fd39a2eeffd3cd8479cc59f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / pcam_sampler-1.0.3-py3-none-any.whl

Download URL pcam_sampler-1.0.3-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3ada57b235236bf2203cd12a9b4226b3ebcae0aa947a41c1267c6525c0e61da
BLAKE2b-256 checksum
How to use checksums
be75ee8af2f8ccf59b7fb4bc29828ca457391079a8b41d284ff438b499189a01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for pcam-sampler 1.0.3

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