Registry / data / samplomatic

samplomatic

JSON →
library0.18.0pypypi✓ verified 79d ago

A Qiskit-based library for circuit sampling and noise characterization. It provides tools for building samplex circuits, transpilation passes (boxing, twirling, noise injection), and serialization. Current version: 0.18.0, requires Python >=3.10. Release cadence is approximately biweekly.

pip install samplomatic
INSTALL
IMPORT
SIG · SAMPLOMATIC
S
samplomatic
datapythonv0.18.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Samplex
from samplomatic import samplex
from samplomatic import Samplex

Basic example: define a quantum circuit, create a Samplex, build a template, and sample.

from samplomatic import Samplex, build from qiskit.circuit import QuantumCircuit, Parameter qc = QuantumCircuit(2) theta = Parameter('theta') qc.rz(theta, 0) qc.cx(0, 1) qc.measure_all() samplex = Samplex(qc, {theta: 0.5}) with build(samplex) as bld: bld.add_gate("easy", qc) bld.add_gate("hard", qc) results = samplex.sample(shots=1000) print(results)
Debug
Known issues
breakingIn v0.13.0, `build` always returns `parameter_values` with shape (num_randomizations, 0) if no parameter values are generated. Previously it was omitted.
fix
Update code that expects `parameter_values` to always be present in the output.
affects: >=0.13.0
breakingPython 3.9 support removed in v0.14.0.
fix
Upgrade to Python >=3.10.
affects: >=0.14.0
deprecated`TWIRLING_GROUPS` and `GroupLiteral` removed in v0.17.0. Use `GroupMode` instead.
fix
Replace `GroupLiteral` with `GroupMode` and update imports accordingly.
affects: >=0.17.0
gotchaSerialization version (SSV) is decoupled from package version (since v0.12.0). Backward compatibility is not guaranteed across SSV changes.
fix
Ensure serialized data is deserialized with the same SSV or compatible version.
affects: >=0.12.0
Upgrade
Version history
0.18.0latest on PyPI · released Apr 9, 2026
Audit
Dependencies
qiskitrequiredCore dependency for quantum circuit operations
Agent activity
8 hits · last 30 days
node
6
OpenAI (training)
1
Resources
samplomatic — pip install samplomatic · libregistry