Recent Releases of qbraid
qbraid - qBraid-SDK 0.9.9
Release 0.9.9 (Sept 1, 2025)
Summary
Added
- Added opaque
runtime_options(dict) argument toQbraidDevice.submit()to include in job payload (#1017) - Added
Equal1SimulationMetadataandEqual1SimulatorResultDataclasses to support processing of Equal 1 simulator v0.2.2 job data including base64 encoded "compiledOut" (#1017)
Improved / Modified
- Skip remote Azure provider tests that now require payed plan (#1024)
- Adds support for partial measurements on IonQ and Amazon Braket devices by automatically padding circuits with measurements on all qubits while tracking and filtering results to show only the originally measured qubits. (#1028)
- Replaced
execution_modeanddevice_namefields in theEqual1SimulationMetadataclass withir_typeandnoise_modelto match data returned by Equal1 simulator v0.3.0 (#1035) - Moved decoding logic from
Equal1SimulatorResultDataclass to theEqual1SimulationMetadataschema, ensuring that compiled outputs are automatically decoded when metadata is instantiated. Forequal1_simulatorjobs, thebase64decoded compiled output will now be accessible from aResultobject as follows (#1040):
```python result = job.result()
compiled_output = result.details['metadata']['compiledOutput'] ```
Removed
- Removed
benchmarkingmodule fromtestsas not relevant or used (#1026)
Fixed
- Fixed bug that returned a single job instead of a list of jobs after batch job submission in the native provider runtime for QuEra Aquila using Bloqade Analog (#1026)
- Fixed the
boto3.clientinitialization by adding the regionname parameter in `getpartialmeasurementqubitsfrom_tags` method (#1034) - Fixed bug that resulted in
AttributeError: 'NoneType' object has no attribute 'service'when checkingBraketDevice.availability_window(). Now ensures thatAwsDevice.propertiesis defined usingrefresh_metadata()before proceeding with availability check. (#1041)
Dependencies
- Reset Cirq dependency extra upper-bound to <1.5 (#1026)
- Updated
pyqasmrequirement from >=0.3.2,<0.5 to >=0.5.0,<0.6.0 (#1032) - Updated
pennylanerequirement from <0.42 to >=0.42.3,<0.43 (#1034)
PRs Merged
- Fix CHANGELOG PR link [no ci] by @ryanhill1 in https://github.com/qBraid/qBraid/pull/1020
- add autoqasm docstring [no ci] by @ryanhill1 in https://github.com/qBraid/qBraid/pull/1021
- Equal1 simulator v0.2.2 integration by @ryanhill1 in https://github.com/qBraid/qBraid/pull/1017
- Update amazon-braket-sdk requirement from <1.96.0,>=1.83.0 to >=1.83.0,<1.97.0 by @dependabot[bot] in https://github.com/qBraid/qBraid/pull/1022
- Update pytket-braket requirement from <0.43,>=0.30 to >=0.30,<0.44 by @dependabot[bot] in https://github.com/qBraid/qBraid/pull/1023
- skip remote azure tests that now require payed plan by @ryanhill1 in https://github.com/qBraid/qBraid/pull/1024
- Fix minor typos by @q-inho in https://github.com/qBraid/qBraid/pull/1025
- Batch job bug fix + housekeep by @ryanhill1 in https://github.com/qBraid/qBraid/pull/1026
- Support partial measurement on IonQ devices and Amazon Braket simulators by @yitchen-tim in https://github.com/qBraid/qBraid/pull/1028
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/qBraid/qBraid/pull/1031
- Update qiskit-ibm-runtime requirement from <0.41,>=0.25.0 to >=0.25.0,<0.42 by @dependabot[bot] in https://github.com/qBraid/qBraid/pull/1029
- Bump pyqasm requirement by @ryanhill1 in https://github.com/qBraid/qBraid/pull/1032
- Update docutils requirement from <0.22 to <0.23 by @dependabot[bot] in https://github.com/qBraid/qBraid/pull/1033
- Fix CI by @TheGupta2012 in https://github.com/qBraid/qBraid/pull/1034
- update equal1 experiment metadata by @ryanhill1 in https://github.com/qBraid/qBraid/pull/1035
- Update amazon-braket-sdk requirement from <1.97.0,>=1.83.0 to >=1.83.0,<1.101.0 by @dependabot[bot] in https://github.com/qBraid/qBraid/pull/1036
- Bump actions/upload-pages-artifact from 3 to 4 by @dependabot[bot] in https://github.com/qBraid/qBraid/pull/1037
- Bump codecov/codecov-action from 5.4.3 to 5.5.0 by @dependabot[bot] in https://github.com/qBraid/qBraid/pull/1038
- Equal1: decode compiled output in result details by @ryanhill1 in https://github.com/qBraid/qBraid/pull/1040
- Ensure braket device properties set when checking next available by @ryanhill1 in https://github.com/qBraid/qBraid/pull/1041
- Bump project version to 0.9.9 by @github-actions[bot] in https://github.com/qBraid/qBraid/pull/1043
New Contributors
- @q-inho made their first contribution in https://github.com/qBraid/qBraid/pull/1025
- @yitchen-tim made their first contribution in https://github.com/qBraid/qBraid/pull/1028
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.9.8...v0.9.9
- Python
Published by ryanhill1 4 months ago
qbraid - qBraid-SDK 0.9.8
Release 0.9.8 (Jul 22, 2025)
Summary
Improved / Modified
- Removed legacy
pkg_resourceslogic for loading entry points (qbraid._entrypoints), as support for Python 3.9 has been dropped and the project now requires Python 3.10 or higher. (#1002) - Populated basis gates property in profile of AWS Braket provider device (#1003)
- Emit a
UserWarninginstead of raising aValueErrorwhen checking for the sum of result probabilities from job to be equal to 1 (#1004). - House keeping updates (#1012)
- Removed deprecated modules (
qbraid.programs.circuits,qbraid.runtime.qiskit, andqbraid.runtime.braket) - Updated readme, contributing, citation, and various project config files.
- Removed deprecated modules (
- Updated
QiskitRuntimeProviderdefault channel toibm_quantum_platformin preparation for the sunsetting of the IBM Quantum channel in favor of IBM Cloud. Seeqiskit-ibm-runtimeupdated instructions for account setup. (#1011) - Implemented
autoqasm_to_qasm3conversion extra in transpiler for support of AutoQASM to QASM3 conversion. Added"autoqasm"program type to program registry. (#1013)
Fixed
- Fixed handling of IBM job results for different creg names. Specifically, generalized
measurements()andget_counts()methods inQiskitGateModelResultBuilderto account for mixed classical register names, and for classical register names other than "c" and "meas". (#1011)
Dependencies
- Updated
qiskit-ibm-runtimerequirement from <0.39,>=0.25.0 to >=0.25.0,<0.41 (#991) - Updated
pydanticrequirement from >2.0.0 to >2.0.0,<=2.11.1 (#991) - Remove
qiskit-qir(deprecated) fromqbraid[qir]dependency extras (#1001) - Updated
amazon-braket-sdkrequirement from >=1.83.0,<1.94.0 to >=1.83.0,<1.96.0 (#1018)
PRs Merged
- Remove
qiskit-qirfromqbraid[qir]extra [no ci] by @ryanhill1 in https://github.com/qBraid/qBraid/pull/1001 - Update amazon-braket-sdk requirement from <1.92.0,>=1.83.0 to >=1.83.0,<1.94.0 by @dependabot[bot] in https://github.com/qBraid/qBraid/pull/998
- Remove
pkg_resourcesfrom entrypoints logic by @ryanhill1 in https://github.com/qBraid/qBraid/pull/1002 - Update pytket-braket requirement from <0.42,>=0.30 to >=0.30,<0.43 by @dependabot[bot] in https://github.com/qBraid/qBraid/pull/999
- Update qiskit-ibm-runtime requirement from <0.39,>=0.25.0 to >=0.25.0,<0.41 by @dependabot[bot] in https://github.com/qBraid/qBraid/pull/991
- Populate basis gates in AWS Braket devices by @cosenal in https://github.com/qBraid/qBraid/pull/1003
- fix: alter raise of warning instead of value error for probability sum. by @vprusso in https://github.com/qBraid/qBraid/pull/1004
- Update pyqasm requirement from <0.4.0,>=0.3.2 to >=0.3.2,<0.5.0 by @dependabot[bot] in https://github.com/qBraid/qBraid/pull/1006
- Update cirq-core requirement from <1.5,>=1.3 to >=1.3,<1.6 by @dependabot[bot] in https://github.com/qBraid/qBraid/pull/1005
- housekeeping updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/1012
- IBM: handling of job results for different creg names + default platform by @ryanhill1 in https://github.com/qBraid/qBraid/pull/1011
- Update qbraid-qir requirement from <=0.3.2,>=0.2.0 to >=0.2.0,<=0.4.0 by @dependabot[bot] in https://github.com/qBraid/qBraid/pull/1015
- autoqasm-qasm3 conversion extra by @LukeAndreesen in https://github.com/qBraid/qBraid/pull/1014
- Update qcs-sdk-python requirement from <0.21.13,>=0.21.12 to >=0.21.12,<0.21.19 by @dependabot[bot] in https://github.com/qBraid/qBraid/pull/1008
- prep release by @ryanhill1 in https://github.com/qBraid/qBraid/pull/1018
- Bump project version to 0.9.8 by @github-actions[bot] in https://github.com/qBraid/qBraid/pull/1019
New Contributors
- @vprusso made their first contribution in https://github.com/qBraid/qBraid/pull/1004
- @LukeAndreesen made their first contribution in https://github.com/qBraid/qBraid/pull/1014
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.9.7...v0.9.8
- Python
Published by ryanhill1 5 months ago
qbraid - qBraid-SDK 0.9.7
Release 0.9.7 (June 13, 2025)
Summary
Added
- Added
CudaQKernel.serializemethod that converts cudaq program to QIR string forrun_inputcompatible format forQbraidDevice.submit. (#972) - Added support for batch jobs for devices from Azure provider. The
AzureQuantumDevice.submitmethod now accepts single and batchedqbraid.programs.QPROGRAMinputs. (#953) - Added
ax_marginsargument toplot_conversion_graphto prevent possible clipping. (#993)
Improved / Modified
- Updated
TimeStampsschema to auto-computeexecutionDurationfromcreatedAtandendedAtif not explicitly provided. (#983) - Enhanced
TimeStampsto accept bothdatetime.datetimeobjects forcreatedAtandendedAt(previously only accepted ISO-formatted strings). (#983) - Added a
measurement_probabiltiesargument to theGateModelResultDataclass. (#785)
Removed
- Removed
queue_positionfrom result details, as it is alwaysNoneand not applicable. (#983)
Fixed
- Fixed lazy importing bug in
plot_histogrammethod (#972) - Fixed bug which caused all
braketconversions to be unavailable ifcirqwas not installed due to an eager top-level import inbraket_to_cirq.pywhich should have been done lazily (#982) - Made Pulser unit test version-agnostic to support any installed Pulser version. (#983)
- Fixed the bug that included unregistered program type in
ConversionGraph. (#986)
Dependencies
- Migrated to
setuptools>=77due to TOML-table basedproject.licensedeprecation in favor of SPDX expression in compliance with PEP 639 (#973) - Bumped
qbraid-coredependency to v0.1.39 (#975)
PRs Merged
- Add pulser to docs mock imports [no ci] by @ryanhill1 in https://github.com/qBraid/qBraid/pull/971
- cudaq qir serialization + plt counts import fix by @ryanhill1 in https://github.com/qBraid/qBraid/pull/972
- PEP 639 - SPDX expr for pkg license by @ryanhill1 in https://github.com/qBraid/qBraid/pull/973
- Bump qbraid-core dependency by @ryanhill1 in https://github.com/qBraid/qBraid/pull/975
- Update qiskit requirement from <2.0,>=1.0 to >=1.0,<3.0 by @dependabot in https://github.com/qBraid/qBraid/pull/980
- fix braket cirq lazy import bug by @ryanhill1 in https://github.com/qBraid/qBraid/pull/982
- Update pytket-braket requirement from <0.41,>=0.30 to >=0.30,<0.42 by @dependabot in https://github.com/qBraid/qBraid/pull/979
- Bump codecov/codecov-action from 5.4.2 to 5.4.3 by @dependabot in https://github.com/qBraid/qBraid/pull/976
- Queue position, timestamps, pulser versioning by @ryanhill1 in https://github.com/qBraid/qBraid/pull/983
- Add support for batch jobs for Azure by @SaashaJoshi in https://github.com/qBraid/qBraid/pull/985
- Circumvent constructing unregistered program type nodes in
ConversionGraphby @SaashaJoshi in https://github.com/qBraid/qBraid/pull/986 - Add measurement_probabilties argument to GateModelResultData class by @SaashaJoshi in https://github.com/qBraid/qBraid/pull/988
- Add margins for conv graph plot by @AishSweety in https://github.com/qBraid/qBraid/pull/993
- Reset CHANGELOG.md for new version [no ci] by @ryanhill1 in https://github.com/qBraid/qBraid/pull/996
- Bump project version to 0.9.7 by @github-actions in https://github.com/qBraid/qBraid/pull/997
New Contributors
- @SaashaJoshi made their first contribution in https://github.com/qBraid/qBraid/pull/985
- @AishSweety made their first contribution in https://github.com/qBraid/qBraid/pull/993
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.9.6...v0.9.7
- Python
Published by ryanhill1 7 months ago
qbraid - qBraid-SDK 0.9.6
Release 0.9.6 (May 2, 2025)
Summary
Added
- Added
QbraidJob.async_result()to support async result retrieval usingawait. (#945) - Added
QbraidDevice.set_target_program_type, allowing you to set a specificProgramSpec(fromTargetProfile) alias as the default (#952). For example, if a device supports both "qasm2" and "qasm3", you can now restrict transpilation to one format:
```python from qbraid.runtime import IonQProvider
provider = IonQProvider()
device = provider.get_device("simulator")
device.metadata()["runtimeconfig"]["targetprogram_type"] # ['qasm2', 'qasm3']
device.settargetprogram_type("qasm2")
device.metadata()["runtimeconfig"]["targetprogram_type"] # 'qasm2' ```
However the original TargetProfile.program_spec value remains frozen:
```python device.profile.program_spec
[,
]
```
- Added support for Pasqal devices through the
AzureQuantumProviderwithpulserprogram type (#947). For example:
```python import numpy as np import pulser from azure.quantum import Workspace from qbraid.runtime import AzureQuantumProvider
connectionstring = "[Your connection string here]" workspace = Workspace.fromconnectionstring(connectionstring)
provider = AzureQuantumProvider(workspace=workspace)
input_data = {}
qubits = { "q0": (0, 0), "q1": (0, 10), "q2": (8, 2), "q3": (1, 15), "q4": (-10, -3), "q5": (-8, 5), } register = pulser.Register(qubits)
sequence = pulser.Sequence(register, pulser.DigitalAnalogDevice) sequence.declarechannel("ch0", "rydbergglobal")
ampwf = pulser.BlackmanWaveform(1000, np.pi) detwf = pulser.RampWaveform(1000, -5, 5) pulse = pulser.Pulse(ampwf, detwf, 0) sequence.add(pulse, "ch0")
device = provider.get_device("pasqal.sim.emu-tn")
job = device.run(sequence, shots=1)
job.waitforfinal_state()
job.status() #
result = job.result()
result.data.get_counts() # {'100110': 1} ```
Improved / Modified
- Prepped tests for supporting
qiskit>=2.0(#955) - Updated the
qbraid.runtime.aws.BraketProviderto include anaws_session_tokenduring initialization. Users can now choose to supply their temporary AWS credentials instead of permanent account secrets to access AWS - (#968)
```python from qbraid.runtime.aws import BraketProvider
awsaccesskey = "YOURTEMPACCESSKEY" awssecretkey = "YOURTEMPSECRETKEY" awssessiontoken = "YOURCURRENTSESSION_TOKEN"
provider = BraketProvider(awsaccesskey, awssecretkey, awssessiontoken) print(provider.get_devices())
[,
,
...]
```
Removed
- Removed the
strict=Falseparameter from thepydantic_core.core_schema.union_schema()calls in the__get_pydantic_core_schema__method(s) inqbraid.runtime.schemas.base.strictparameter no longer included in thepydantic-coreAPI for that method as of release v0.2.30, PR #1638. (#946)
Fixed
- Fixed Amazon Braket remote test by changing catch
JobStateErrortoTimeoutError(#948) - Fixed upper bound of html length check in pytket circuit drawer test (#950)
- Fixed simulator check for Azure target profiles (#956)
Dependencies
- Added
pydantic-coreto project requirements (#946) - Updated
pyqasmdependency to>=0.3.2, <0.4.0(#964)
PRs Merged
- Add async support for waiting on QuantumJob completion by @soheil-star01 in https://github.com/qBraid/qBraid/pull/945
- Remove
strictparam frompydantic_coreunion schema calls by @ryanhill1 in https://github.com/qBraid/qBraid/pull/946 - Fixed braket remote test timeout error by @ryanhill1 in https://github.com/qBraid/qBraid/pull/948
- Update testcircuitdrawer.py by @ryanhill1 in https://github.com/qBraid/qBraid/pull/950
- Add set target program type method to QbraidDevice by @ryanhill1 in https://github.com/qBraid/qBraid/pull/952
- Bump codecov/codecov-action from 5.4.0 to 5.4.2 by @dependabot in https://github.com/qBraid/qBraid/pull/951
- prep for supporting qiskit v2 by @ryanhill1 in https://github.com/qBraid/qBraid/pull/955
- Fix simulator check for Azure targets by @cosenal in https://github.com/qBraid/qBraid/pull/956
- Pin pyqasm version by @ryanhill1 in https://github.com/qBraid/qBraid/pull/957
- Update qiskit-ibm-runtime requirement from <0.38,>=0.25.0 to >=0.25.0,<0.39 by @dependabot in https://github.com/qBraid/qBraid/pull/958
- Azure runtime - Pasqal provider + job/result handling by @rryoung98 in https://github.com/qBraid/qBraid/pull/947
- Bump pyqasm version to
>=0.3.2, < 0.4.0by @TheGupta2012 in https://github.com/qBraid/qBraid/pull/964 - update dev version [no ci] by @ryanhill1 in https://github.com/qBraid/qBraid/pull/966
- Add support for transpiling QASM2 to/from pyqpanda3 by @bachase in https://github.com/qBraid/qBraid/pull/963
- Update qbraid-qir requirement from <=0.3.1,>=0.2.0 to >=0.2.0,<=0.3.2 by @dependabot in https://github.com/qBraid/qBraid/pull/967
- Update pennylane requirement from <0.41 to <0.42 by @dependabot in https://github.com/qBraid/qBraid/pull/959
- BYOT AWS
BraketProviderchanges by @TheGupta2012 in https://github.com/qBraid/qBraid/pull/968 - Bump project version to 0.9.6 by @github-actions in https://github.com/qBraid/qBraid/pull/970
New Contributors
- @soheil-star01 made their first contribution in https://github.com/qBraid/qBraid/pull/945
- @bachase made their first contribution in https://github.com/qBraid/qBraid/pull/963
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.9.5...v0.9.6
- Python
Published by ryanhill1 8 months ago
qbraid - qBraid-SDK 0.9.5
Release 0.9.5 (Mar 26, 2025)
Summary
Added
- Added
qbraid.runtime.get_providers()and correspondingqbraid.runtime.PROVIDERSwhich is a list of the provider aliases that can be passed to theqbraid.runtime.load_job()function. (#887)
```python
from qbraid.runtime import PROVIDERS print(PROVIDERS) ['aws', 'azure', 'ibm', 'ionq', 'oqc', 'qbraid'] ```
- Added bin script + logic in version bump workflow to automatically update
CITATION.ff(#915) - Added a workflow for deploying to GitHub Pages on release publication or manual dispatch. (#917)
- Added
pytest.skipstatements to Azure remote tests to skip them when the relevant device is not online. (#934)
Improved / Modified
- Disabled validation step in remote (native) IonQ runtime test when constructing
IonQDictviaqiskit-ionq(#915) - Enabled loading
azure.quantum.WorkspacefromAZURE_QUANTUM_CONNECTION_STRINGenvironment variable inAzureQuantumProviderclass (#915) - Populated basis gates property in profile of IBM Quantum provider backends (#930)
- Adjusted docs side navigation search styling for better alignment. (#917)
- Added support for interpreting
zzas a QIS gate inopenqasm3_to_ionqand refactoreddetermine_gatesetaccordingly (#917) - Modified
openqasm3_to_ionqto emit warning instead of raise error when circuits contains measurements. (#917) - Set 20 minute timeout for daily github actions workflow (#919)
- Updated
QiskitRuntimeProviderclass with better docstring annotations for specifying eitheribm_quantumoribm_cloudchannel (#933) QuantumJob.wait_for_final_statenow raisesTimeoutErroron timeout instead ofJobStateError(#943)- Updated job ID type annotations to support both
strandint(for compatibility with QUDORA) (#943) - Updated
qbraid._loggingso thatlogging.basicConfigis only set ifLOG_LEVELenvironment variable is defined. (#943)
Removed
- Removed
qasm3_drawerfunction in favor ofpyqasm.draw(#943)
Fixed
- Updated
bump-version.ymlto trackqbraid/_version.pyinstead ofpyproject.toml. (#917) - Fixed bug where
BraketQuantumTask._task.arnundefined if instaniated withoutAwsQuantumTaskobject (#917) - Fixed bug where doing
repr(result)would causeresult.details['opeQasm']to be set to...(#919) - Loosened relative tolerance for
distribute_countsfunction in requiring probs to sum to 1 from default 1e-9 to 1e-7 (#933)
Dependencies
- Updated qBraid-CLI dependency to >= 0.10.0 (#915)
- Migrated from
bloqadetobloqade-analog(#920) - Added
pyqasm[visualization]to optional dependencies (#943)
PRs Merged
- Runtime providers list from ep's by @ryanhill1 in https://github.com/qBraid/qBraid/pull/890
- Update qiskit requirement from <1.4,>=1.0 to >=1.0,<1.5 by @dependabot in https://github.com/qBraid/qBraid/pull/908
- Update sphinx requirement from <8.2,>=7.2 to >=7.2,<8.3 by @dependabot in https://github.com/qBraid/qBraid/pull/911
- Update sphinx-autodoc-typehints requirement from <3.1,>=1.24 to >=1.24,<3.2 by @dependabot in https://github.com/qBraid/qBraid/pull/910
- Remote test fixes + housekeep by @ryanhill1 in https://github.com/qBraid/qBraid/pull/915
- Update qbraid-qir requirement from <=0.3.0,>=0.2.0 to >=0.2.0,<=0.3.1 by @dependabot in https://github.com/qBraid/qBraid/pull/913
- IonQ zz bug + housekeep by @ryanhill1 in https://github.com/qBraid/qBraid/pull/917
- Bump dev version [no ci] by @ryanhill1 in https://github.com/qBraid/qBraid/pull/918
- Fix metadata overwrite + gh workflow timeout by @ryanhill1 in https://github.com/qBraid/qBraid/pull/919
- Clean git history by @ryanhill1 in https://github.com/qBraid/qBraid/pull/926
- Bump codecov/codecov-action from 5.3.1 to 5.4.0 by @dependabot in https://github.com/qBraid/qBraid/pull/914
- cudaq integration tests coverage rest by @ryanhill1 in https://github.com/qBraid/qBraid/pull/929
- Update pytket-braket requirement from <0.40,>=0.30 to >=0.30,<0.41 by @dependabot in https://github.com/qBraid/qBraid/pull/928
- Populate basis gates in IBM Quantum provider backends by @cosenal in https://github.com/qBraid/qBraid/pull/930
- Skip OQC remote tests - QCaaS servers offline by @ryanhill1 in https://github.com/qBraid/qBraid/pull/931
- Update matplotlib requirement from <3.8,>=3.3 to >=3.3,<3.11 by @dependabot in https://github.com/qBraid/qBraid/pull/927
- Update README.md [no ci] by @ryanhill1 in https://github.com/qBraid/qBraid/pull/932
- Probs sum to 1 relative tol + IBM credentials by @ryanhill1 in https://github.com/qBraid/qBraid/pull/933
- skip azure remote test(s) if device is offline by @ryanhill1 in https://github.com/qBraid/qBraid/pull/934
- Bump actions/setup-python from 4 to 5 by @dependabot in https://github.com/qBraid/qBraid/pull/924
- Update qiskit-ibm-runtime requirement from <0.37,>=0.25.0 to >=0.25.0,<0.38 by @dependabot in https://github.com/qBraid/qBraid/pull/936
- Update pyqasm requirement from <0.3.0,>=0.1.0 to >=0.1.0,<0.4.0 by @dependabot in https://github.com/qBraid/qBraid/pull/939
- Update amazon-braket-sdk requirement from <1.91.0,>=1.83.0 to >=1.83.0,<1.92.0 by @dependabot in https://github.com/qBraid/qBraid/pull/940
- logger config + pyqasm drawer by @ryanhill1 in https://github.com/qBraid/qBraid/pull/943
- Bump project version to 0.9.5 by @github-actions in https://github.com/qBraid/qBraid/pull/944
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.9.4...v0.9.5
- Python
Published by ryanhill1 9 months ago
qbraid - qBraid-SDK 0.9.4
Release 0.9.4 (Feb 20, 2025)
Summary
Added
- Added
qiboto dynamicQPROGRAM_REGISTRYimports (#891) - Fixed
plt.show/plt.save_figbug inplot conversion_graph(#893) - Added IonQ Forte Enterprise devices to
IonQProviderruntime tests (#894) - Added
CudaQKernelclass to supportcudaq.PyKernelas "native" program type (#895) - Added
qibo_to_qasm2conversion to transpiler (#895) - Added
stimto dynamicQPROGRAM_REGISTRYimports andstim_to_cirqconversion to transpiler (#895) - Added
Qasm2KirinStringmetatype to support qasm2 strings adapted for QuEra kirin qasm parser through qBraid native runtime. (#896) - Added
translatefunctions as alias fortranspile, but also that can chain multiple conversions together (#899). For example:
```python from qbraid import translate
circuitout = translate(circuitin, "qasm3", "braket", "cirq") ```
- Added logger
DEBUGstatements to QuantumDevice that track with the steps in job submission runtime (#906) - Expanded list of natively supported hardware vendors to include Rigetti, OQC, and IQM (#906)
- Added
qbraid.runtime.load_providerfunction to allow instantiating provider via a single interface using entrypoints based on provider name (#906)
```python from qbraid.runtime import load_provider, QbraidProvider
provider = load_provider("qbraid") assert isintance(provider, QbraidProvider)
follows suit for 'aws', 'ibm', 'oqc', 'azure', 'ionq', etc.
```
Improved / Modified
- Updated conversion graph and
QPROGRAM_REGISTRYon README.md (#891) - Improved
plot_runtime_conversion_schemeby removing edges not withinConversionScheme.max_path_depth(#893) - Updated native runtime
QbraidProviderandQbraidDeviceto support list ofProgramSpecloaded from API "runInputTypes" of typelist[str]instead of single "runPackage" of typestr. (#896) - Updated
qasm3_to_ionq: no longer need to check ifpyqasmis installed as it is now a core project dependency (#905)
Fixed
- Handling of empty counts dict in
format_countspre-processing function (#899) - Skipping NEC remote tests if device is not online (#899)
PRs Merged
- Bump codecov/codecov-action from 5.1.2 to 5.3.1 by @dependabot in https://github.com/qBraid/qBraid/pull/884
- Update README.md and register
qibodynamic by @ryanhill1 in https://github.com/qBraid/qBraid/pull/891 - Conversion graph plotting fixes by @ryanhill1 in https://github.com/qBraid/qBraid/pull/893
- Add
qpu.forte-enterprisedevices IonQ rt tests by @ryanhill1 in https://github.com/qBraid/qBraid/pull/894 - Update qiskit-ibm-runtime requirement from <0.35,>=0.25.0 to >=0.25.0,<0.36 by @dependabot in https://github.com/qBraid/qBraid/pull/897
- Update amazon-braket-sdk requirement from <1.89.0,>=1.83.0 to >=1.83.0,<1.90.0 by @dependabot in https://github.com/qBraid/qBraid/pull/898
QbraidDeviceto supportlist[ProgramSpec]+qasm2_kirinstr type alias by @ryanhill1 in https://github.com/qBraid/qBraid/pull/896- cudaq as native program type + qibo & stim transpiler extras by @ryanhill1 in https://github.com/qBraid/qBraid/pull/895
- Runtime fixes + translate alias by @ryanhill1 in https://github.com/qBraid/qBraid/pull/899
- Update amazon-braket-sdk requirement from <1.90.0,>=1.83.0 to >=1.83.0,<1.91.0 by @dependabot in https://github.com/qBraid/qBraid/pull/904
- Update qiskit-ibm-runtime requirement from <0.36,>=0.25.0 to >=0.25.0,<0.37 by @dependabot in https://github.com/qBraid/qBraid/pull/903
- fix ionq conversion test by @ryanhill1 in https://github.com/qBraid/qBraid/pull/905
- logger debug stmts, new devices, load_provider by @ryanhill1 in https://github.com/qBraid/qBraid/pull/906
- Bump project version to 0.9.4 by @github-actions in https://github.com/qBraid/qBraid/pull/907
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.9.3...v0.9.4
- Python
Published by ryanhill1 10 months ago
qbraid - qBraid-SDK 0.9.3
Release 0.9.3 (Jan 27, 2025)
Summary
Added
- Added
cudaqtoQPROGRAM_REGISTRYdynamic import list (#882) - Added
qiskit_ionqconversion to transpiler and refactoredIonQDevice._apply_qiskit_ionq_conversionaccordingly (#882) - Added
qbraid.runtime.load_jobfunction that uses entrypoints to load provider job class and create instance with job id (#883) - Added
QuantumProgram.serializemethod to streamline creation ofProgramSpecclasses inQbraidProvider(#883)
Improved / Modified
- Switched all
QbraidJobsub-classes to only requirejob_idas positional argument, and any other args that used to be required for auth can now be loaded with credentials from environment variables (#883) - Allow some minimum tolerance when checking for the sum of result probabilities from job to be equal to 1 (#889)
Fixed
- Updated plot conversion graph test to account for rustworkx v0.16.0 release (#880)
PRs Merged
- rustworkx upgrade + housekeep by @ryanhill1 in https://github.com/qBraid/qBraid/pull/882
- program serialization and load_job by @ryanhill1 in https://github.com/qBraid/qBraid/pull/883
- Update pytket-braket requirement from <0.39,>=0.30 to >=0.30,<0.40 by @dependabot in https://github.com/qBraid/qBraid/pull/888
- Allow min tolerance in postprocessing check of result probabilities sum by @cosenal in https://github.com/qBraid/qBraid/pull/889
- Prepare release by @ryanhill1 in https://github.com/qBraid/qBraid/pull/885
- Bump project version to 0.9.3 by @github-actions in https://github.com/qBraid/qBraid/pull/886
New Contributors
- @cosenal made their first contribution in https://github.com/qBraid/qBraid/pull/889
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.9.2...v0.9.3
- Python
Published by ryanhill1 11 months ago
qbraid - qBraid-SDK 0.9.2
Release 0.9.2 (Jan 23, 2025)
Summary
Added
- Added
idgate to list of supported IonQ gates (but is still skipped inIonQDictconversion step) (#880) - Added
qiskit-ionqintegration intoIonQDevice.runmethod so that if user hasqiskit-ionqinstalled, we just go directly through their nativeqiskit.QuantumCircuit$\rightarrow$IonQDictconversion rather than using our own. (#880)
```python from qiskit import QuantumCircuit
from qbraid.runtime import IonQProvider from qbraid.programs.gate_model.ionq import GateSet
circuit = QuantumCircuit(1) circuit.u(0.1, 0.2, 0.3, 0)
provider = IonQProvider() device = provider.get_device("simulator")
job = device.run(circuit, shots=100, gateset=GateSet.NATIVE, ionqcompilersynthesis=False) ```
If qiskit-ionq not installed, the above code will fail. But with qiskit-ionq installed, it will work.
Improved / Modified
- Improved
IonQDevice.transformmethod with try/except logic usingpyqasm.unroll(#880)
Fixed
- Fixed type checking in transpiler
weightandrequires_extrasannotations / decorators (#880)
PRs Merged
- IonQ runtime fixes by @ryanhill1 in https://github.com/qBraid/qBraid/pull/880
- Bump project version to 0.9.2 by @github-actions in https://github.com/qBraid/qBraid/pull/881
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.9.1...v0.9.2
- Python
Published by ryanhill1 11 months ago
qbraid - qBraid-SDK 0.9.1
Release 0.9.1 (Jan 14, 2025)
Summary
Fixed
- Fixed
random_circuitfunction so that when specifyingionq, the resulting program only uses gates supported by IonQ. (#871) - Qiskit migration fixes (#876):
- fix num args passed to
SamplerV2.run - raise
NotImplementedErrorforQiskitJob.queue position()if not available - Account for
DataBinpub result data typecattribute instead ofmeas
- fix num args passed to
Added
- Added support for OpenQASM 3.0 to CUDA-Q kernel transpilation (#857). Usage example:
```python In [1]: from qbraid.transpiler.conversions.openqasm3 import openqasm3tocudaq In [2]: program = """ ...: OPENQASM 3.0; ...: include "stdgates.inc"; ...: qubit q; ...: bit b; ...: h q; ...: b = measure q; ...: """
In [3]: print(openqasm3tocudaq(program)) module attributes {quake.manglednamemap = {nvqppmlirgen_nvqppBuilderKernelYA8BX8A573 = "nvqppmlirgennvqppBuilderKernelYA8BX8A573PyKernelEntryPointRewrite"}} { func.func @nvqppmlirgennvqppBuilderKernelYA8BX8A573() attributes {"cudaq-entrypoint"} { %0 = quake.alloca !quake.veq<1> %1 = quake.extractref %0[0] : (!quake.veq<1>) -> !quake.ref call @nvqppmlirgennvqppBuilderKernel_X4UUVQL2OR(%1) : (!quake.ref) -> () %measOut = quake.mz %1 name "" : (!quake.ref) -> !quake.measure return } func.func @nvqppmlirgen_nvqppBuilderKernelX4UUVQL2OR(%arg0: !quake.ref) { quake.h %arg0 : (!quake.ref) -> () return } } ```
- Introduced
max_attemptsparameter inrandom_circuitfunction (#871) - Added
prepareasRuntimeOptionfield inQuantumDevice(#871) - Added
validate_for_gatesetmethod inIonQProgram(#871)
Improved / Modified
- Changed
QuantumDevice.to_irmethod toQuantumDevice.prepare(#871) - Updated
remove_idle_qubitsfunction for updatedqiskitversion (#871) - Incorporated
SamplerV2and job / result primitives for qiskit migration (#871)
PRs Merged
- Update sphinx-autodoc-typehints requirement from <2.6,>=1.24 to >=1.24,<3.1 by @dependabot in https://github.com/qBraid/qBraid/pull/866
- Update qbraid-qir requirement from <=0.2.3,>=0.2.0 to >=0.2.0,<=0.3.0 by @dependabot in https://github.com/qBraid/qBraid/pull/867
- OpenQASM 3.0 to CUDA-Q Transpiler by @arulandu in https://github.com/qBraid/qBraid/pull/857
- ionq random + qiskit migration + housekeep by @ryanhill1 in https://github.com/qBraid/qBraid/pull/871
- Bump codecov/codecov-action from 4.4.1 to 5.1.2 by @dependabot in https://github.com/qBraid/qBraid/pull/873
- Update pennylane requirement from <0.40 to <0.41 by @dependabot in https://github.com/qBraid/qBraid/pull/874
- Bump project version to 0.9.1 by @github-actions in https://github.com/qBraid/qBraid/pull/875
- fix qiskit runtime sampler job submission by @ryanhill1 in https://github.com/qBraid/qBraid/pull/876
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.9.0...v0.9.1
- Python
Published by ryanhill1 12 months ago
qbraid - qBraid-SDK 0.9.0
Release 0.9.0 (Dec 19, 2024)
Summary
Added
- Added testing code coverage for custom
rzz,u3, andu2for Cirq $\rightarrow$ PyQuil (#862)
Improved / Modified
- Vastly reduced size of
qbraid.passes.qasm,qbraid.programs.gate_model.qasm2andqbraid.programs.gate_model.qasm3modules as a result ofpyqasmintegration. (#808) - Restricted PyPI publish jobs to specific actors for better security and maintainability. (#862)
- Updated
MANIFEST.into refine file inclusion/exclusion and enhancedpyproject.tomlby adjusting dependencies and aligning withrequirements.txt. (#862) - Enhanced qbraid transpiler QASM2 to Cirq for external gate handling, and updated custom Cirq
RZZGateto use radians convention to more closely match cirq API. (#862)
Removed
- Dropped support for Python 3.9 (#808)
Fixed
Dependencies
- Integrated
pyqasmas project dependency. (#808)
PRs Merged
- PyQASM Integration for sdk by @TheGupta2012 in https://github.com/qBraid/qBraid/pull/808
- Pyqasm post merge by @ryanhill1 in https://github.com/qBraid/qBraid/pull/861
- housekeep, rzz, code coverage by @ryanhill1 in https://github.com/qBraid/qBraid/pull/862
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.8.10...v0.9.0
- Python
Published by ryanhill1 about 1 year ago
qbraid - qBraid-SDK 0.8.10
Release 0.8.10 (Dec 13, 2024)
Summary
Fixed
- Fixed type annotations for constraint parameters to support nested lists and mixed types, such as list[list[str]] and list[list[Union[str, int]]] in qbraid/runtime/schemas/experiment.py.(#859) [1] [2]
- Updates to tests: Modified the testqubosolveparamsmodel function to reflect the updated types for the constraint parameters in tests/runtime/test_schemas.py.
Added
- Added
ptozgate name mapping toopenqasm3_to_ionqconversion (#854) - Added
preflightparameter to thesubmitmethod and to theRuntimeJobModelclass (#856) - Added remote test for native IonQ runtime (#856)
- Added
distribute_countsfunction to adjust probabilistic counts ensuring the total equals the number of shots. (#858) - Added support for controlled gates in
openqasm3_to_ionqconversion (#858):
text
cx, cy, cz, crx, cry, crz, ch, ccnot, cs, csi, ct, cti, cv, cvi
Improved / Modified
- Unit tests that require the
pyqirdependency are now automatically skipped if pyqir is not installed. (#846) - Renamed the function
replace_gate_nametoreplace_gate_namesand updated its implementation to accept a dictionary of gate name mappings instead of individual old and new gate names. (qbraid/passes/qasm/compat.py) (#854) - Updated the
IonQDevice.transformmethod to replace gate names in the input using the newly definedIONQ_GATE_MAPbefore loading and transforming the program (#855) - Updated gate naming conventions in
IONQ_QIS_GATESlist for consistency with IonQ supported gates API (#856) - Updated the
rebasefunction to includegate_mappingsandcase_sensitiveparameters for gate name replacement.(#856) - Updated the
rebasefunction to handle gate mappings with predicates. (#858) - Refactored gate mappings and added validation for gate parameters and qubit counts in
openqasm3_to_ionqconversion (#858) - Integrated
distribute_countsfunction inconvert_to_countsmethod inIonQJob(#858)
Fixed
- Fixed
nec_vector_annealerremote test by generalizing solutions (results) check (#852)
PRs Merged
- pyqir tests: skip if not installed by @arulandu in https://github.com/qBraid/qBraid/pull/846
- Post release + remote test fix by @ryanhill1 in https://github.com/qBraid/qBraid/pull/852
- Update qiskit-ibm-runtime requirement from <0.34,>=0.25.0 to >=0.25.0,<0.35 by @dependabot in https://github.com/qBraid/qBraid/pull/853
- replace gate names by @ryanhill1 in https://github.com/qBraid/qBraid/pull/854
- add gate replacements in ionq transform by @ryanhill1 in https://github.com/qBraid/qBraid/pull/855
- preflight option and ionq qis gate set by @ryanhill1 in https://github.com/qBraid/qBraid/pull/856
- add support for ionq controlled gates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/858
- refactor QuboSolveParams to update constraint parameter types for improved clarity by @rryoung98 in https://github.com/qBraid/qBraid/pull/859
- Bump project version to 0.8.10 by @github-actions in https://github.com/qBraid/qBraid/pull/860
New Contributors
- @arulandu made their first contribution in https://github.com/qBraid/qBraid/pull/846
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.8.9...v0.8.10
- Python
Published by ryanhill1 about 1 year ago
qbraid - qBraid-SDK 0.8.9
Release 0.8.9 (Dec 6, 2024)
Summary
Added
Added "new" classes to the relevant runtime module scopes (#843):
qbraid.schemas:AhsExperimentMetadatamodel,USDandCreditsclassesqbraid.runtime:ValidationLevelenumqbraid.runtime.native: Device-specificResultDatasubclasses
Added
plot_runtime_conversion_schemefunction to visualize the conversion graph and the target program types for a specific device. This enhancement clarifies which program types are available as input when submitting a quantum job to a particular device. See usage example below. (#845)
```python from qbraid.runtime import QbraidProvider from qbraid.visualization import plotruntimeconversion_scheme
provider = QbraidProvider()
device = provider.getdevice("qbraidqir_simulator")
device.updatescheme(maxpath_depth=1)
plotruntimeconversion_scheme(device, legend=True) ```
- Display seed in bottom left corner of conversion graph if
plot_conversion_graphcalled withlegend=True(#849)
Improved / Modified
- Made remote tests for
QbraidDevice("nec_vector_annealer")more robust (#843) - Updated doc string & improved type hinting of
qbraid.load_program(#849)
Fixed
- Resolved an issue where passing
bloqade.builder.assign.BatchAssigntoQbraidDevice("quera_aquila")caused the transpile step to incorrectly wrap its output list in another list, leading to errors inQuantumDevice.validateandQuantumDevice.to_ir. The nativeQbraidDeviceclass now adapts when the transpile input is a single object but the output is a list, properly iterating through the sub-batch for final submission. (#843)
PRs Merged
- bloqade batch assign on aquila native runtime fix by @ryanhill1 in https://github.com/qBraid/qBraid/pull/843
- Plot runtime conversion scheme by @ryanhill1 in https://github.com/qBraid/qBraid/pull/845
- load pg typing + plot conv seed shown by @ryanhill1 in https://github.com/qBraid/qBraid/pull/849
- Bump project version to 0.8.9 by @github-actions in https://github.com/qBraid/qBraid/pull/850
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.8.8...v0.8.9
- Python
Published by ryanhill1 about 1 year ago
qbraid - qBraid-SDK 0.8.8
Release 0.8.8 (Nov 25, 2024)
Summary
Added
- Added support for specifying different
quera_qasm_simulatorbackends in theQbraidDevice.runmethod using the "backend" keyword argument (e.g., "cirq", "cirq-gpu") (#836) - Added native runtime support for AHS experiment types, specifically for QuEra Aquila device (#837)
- Added
QbraidJob.queue_position()method (#838)
Improved / Modified
- Enhanced type hinting for the
Result.dataproperty by leveraging a customtyping.TypeVar, enabling automatic adaptation to the specificResultDatasubclass being accessed. (#836) - Improved type annotations and updated runtime test cases / structure (#837)
- Updated validators for
AhsExperimentMetadatapydantic model/schema (#838)
PRs Merged
- result data type hints by @ryanhill1 in https://github.com/qBraid/qBraid/pull/836
- AHS expt type native runtime support by @ryanhill1 in https://github.com/qBraid/qBraid/pull/837
- AHS expt schema & native job queue position by @ryanhill1 in https://github.com/qBraid/qBraid/pull/838
- Bump project version to 0.8.8 by @github-actions in https://github.com/qBraid/qBraid/pull/839
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.8.7...v0.8.8
- Python
Published by ryanhill1 about 1 year ago
qbraid - qBraid-SDK 0.8.7
Release 0.8.7 (Nov 20, 2024)
Summary
Improved / Modified
OQCDevice.transform()method now removes "include" statements from qasm strings, as they are not supported by the OQC cloud. (#831)- Extended
OQCDevice.get_next_window()to fallback and attempt to extract next (or current) start window fromOQCClient.get_qpu_execution_estimates()ifOQCClient.get_next_window()raises an exception (e.g. for non-AWS windows). Now can return next widowdatetimefor Toshiko QPU. (#831) - Updated
OQCDevice.submit()to so that we no longer explicitly set theCompilerConfigdefaults and rather leave optional arguments asNoneif not provided. (#831) - Updated
QuEraQasmSimulatorResultDataforflair-visualversion 0.5.3 and for correspondiong qBraid Quantum Jobs API QuEra endpoint updates, which consolidate returned data into singlequera_simulation_resultdictionary field (#832)
Removed
- Removed
qbraid.passes.compat.rename_qasm_registers(). Function did not work properly, and is no longer even needed for OQC runtime as submission format is nowqasm3, notqasm2. (#831)
PRs Merged
- OQC qasm format + device availability fixes by @ryanhill1 in https://github.com/qBraid/qBraid/pull/831
- Update
QuEraQasmSimulatorResultDataby @weinbe58 in https://github.com/qBraid/qBraid/pull/832 - Bump project version to 0.8.7 by @github-actions in https://github.com/qBraid/qBraid/pull/834
New Contributors
- @weinbe58 made their first contribution in https://github.com/qBraid/qBraid/pull/832
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.8.6...v0.8.7
- Python
Published by ryanhill1 about 1 year ago
qbraid - qBraid-SDK 0.8.6
Release 0.8.6 (Nov 11, 2024)
Summary
Added
- Registered "qubo" coefficients program type under
qbraid.programs.typer.QuboCoefficientsDict(#820) - Added option to create a
ConversionGraphusing only specific nodes (#822) - Added option to include all registered program types in
ConversionGraph, even if they don't have any supported conversions (#822) - Added method that maps all nodes in a
ConversionGraphto their correspondingExperimentType(#822) - Added option to
ConversionGraphwhile only showing nodes matching givenExperimentTypevalue(s) (#822)
```python from qbraid import ConversionGraph, ExperimentType
graph = ConversionGraph(nodes=["qasm2", "qasm3", "qubo"], include_isolated=True)
for alias, exptype in graph.getnodeexperimenttypes().items(): print(alias, exp_type.value)
graph.plot(experimenttype=ExperimentType.GATEMODEL) ```
- Added conditional for OQC device
OFFLINEstatus when unavailable + outside live window (#826) - Added units for OQC device pricing (USD) (#826)
Improved / Modified
- Separated runtime device
transformandto_irlogic into separate steps (#819) - Updated runtime validation step to handle program batches and not re-warn for device-related checks (#819)
- Updated runtime device transpile method and target profile to allow for lists of
ProgramSpec(#819) - Updated native runtime logic for NEC vector annealer to support "qubo" program spec type. Offset argument / attribute removed from
qbraid.programs.annealing.Problem.QbraidDevice.runflow now derives "offset" paramater fromparamsargument (of typeQuboSolveParams, now required). This allows a more straightfoward procedure (with more visiblity) when submitting programs frompyqubo.Module. See code example below. (#820)
```python from qbraid import QbraidProvider from qbraid.runtime.schemas import QuboSolveParams
s1, s2, s3, s4 = [pyqubo.Spin(f"s{i}") for i in range(1, 5)] H = (4 * s1 + 2 * s2 + 7 * s3 + s4) ** 2 model = H.compile() qubo, offset = model.to_qubo()
params = QuboSolveParams(offset=offset)
provider = QbraidProvider()
device = provider.getdevice("necvector_annealer")
job = device.run(qubo, params=params) ```
- IonQ multicircuit jobs and input data format field added explicitly (#825)
- OQC provider url + timeout params added to
__init__, and target profile updates to include new device metadata fields returned byOQCClient, particularly in relation to Toshiko QPU (#825) - Updated
random_circuitfunction to use transpiler to consider all possible random circuit generators package funcs starting from the one with the closest conversion path to the specified target package. Reverses the logic ofConversionGraph.get_sorted_closest_targetswith new functionConversionGraph.get_sorted_closest_sources()(#829)
Fixed
- Fixed
qasm2_to_qasm3()conversion error cause byqbraid/transpiler/conversions/qasm2/qelib_qasm3.qasmnot being included inMANIFEST.in(#825) - Fixed docs CSS so stable/latest words show up (previously white and blended into the background so weren't visible) (#826)
Dependencies
- Updated
pyqasmoptional dependency to0.0.3(#824) - Updated
oqc-qcass-clientoptional dependnecy to3.11.0(#826)
PRs Merged
- updates to rt transpile, transform, validate flow by @ryanhill1 in https://github.com/qBraid/qBraid/pull/819
- Annealing program types updates for nec vector annealer jobs by @ryanhill1 in https://github.com/qBraid/qBraid/pull/820
- Update qiskit-ibm-runtime requirement from <0.32,>=0.25.0 to >=0.25.0,<0.33 by @dependabot in https://github.com/qBraid/qBraid/pull/821
- ConversionGraph experiment type filtering & plotting by @ryanhill1 in https://github.com/qBraid/qBraid/pull/822
- Update examples + pyqasm dep by @ryanhill1 in https://github.com/qBraid/qBraid/pull/824
- ionq + oqc runtime updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/825
- docs css + oqc pricing units + oqc offline condition by @ryanhill1 in https://github.com/qBraid/qBraid/pull/826
- Update qiskit-ibm-runtime requirement from <0.33,>=0.25.0 to >=0.25.0,<0.34 by @dependabot in https://github.com/qBraid/qBraid/pull/827
- Update pennylane requirement from <0.39 to <0.40 by @dependabot in https://github.com/qBraid/qBraid/pull/828
- better use of transpiler in random circuit by @ryanhill1 in https://github.com/qBraid/qBraid/pull/829
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.8.5...v0.8.6
- Python
Published by ryanhill1 about 1 year ago
qbraid - qBraid-SDK 0.8.5
Release 0.8.5 (Oct 31, 2024)
Summary
Added
- Updates for interfacing with IonQ devices from
QbraidProviderincluding error mitigation field (to supportdebiasparameter) for run method and basis gates set included in target profile (#817)
Improved / Modified
- Updated examples submodule and added note to contributing doc about how to do so (#817)
PRs Merged
- add native ionq validation step by @ryanhill1 in https://github.com/qBraid/qBraid/pull/816
- native provider ionq device patch by @ryanhill1 in https://github.com/qBraid/qBraid/pull/817
- Bump project version to 0.8.5 by @github-actions in https://github.com/qBraid/qBraid/pull/818
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.8.4...v0.8.5
- Python
Published by ryanhill1 about 1 year ago
qbraid - qBraid-SDK 0.8.4
Release 0.8.4 (Oct 29, 2024)
Summary
Added
- Added support for IonQ native gates (gpi/gpi2/ms/zz) for
qasmX_to_ionq()conversions (#807) - Expanded
QuantumDevice.metadata()to include average queue time field if provided, instead of (or in addition to) pending jobs (#807) - Added device characterization data to
IonQDevice.profie(#807)
Improved / Modified
- Added pydantic schema to define the possible Qubo solve params available for submissions to the NEC vector annealer device (#788)
- Improved clarity of GitHub issue template bug report prompts (#791)
- Combined
qasm2andqasm3modules inqbraid.passesto allow splittingqbraid.programs.gate_model.qasmintoqasm2andqasm3sub-modules to maintain program type alias consistency (#805) - Improved
IonQDevice.submitmethod by explicitly list all available runtime parameters as optional args, includedpreflightbool to get cost in USD without actually submitting job (#807) qbraid.runtime.nativeschema + provider + profile updates for IonQ including basis gates (include native), program validation (no meas), and optional pricing (for when variable) (#809)- Improved openqasm3 to ionq conversion error handling, error messages, and logging (#814)
Fixed
- Fixed native runtime bug: failure to raise exception if
qbraid-qirnot installed for "qbraidqirsimulator" device. Now warns at provider level and raises in run method if transform fails (#801) - Fixed bug in
qbraid.passes.qasm.convert_qasm_pi_to_decimal()wheregpiandgpi2gate defs were being subbed with pi decimal value. Fix is not perfect but will work for most cases. (#812)
Dependencies
- Added
pyqasmas optional dependency extra for IonQ (#807)
PRs Merged
- Qubo solve params schema by @ryanhill1 in https://github.com/qBraid/qBraid/pull/788
- Improve clarity of bug report prompts by @ryanhill1 in https://github.com/qBraid/qBraid/pull/791
- Update bug_report.yml by @ryanhill1 in https://github.com/qBraid/qBraid/pull/792
- Update bug_report.yml by @ryanhill1 in https://github.com/qBraid/qBraid/pull/793
- Update bug_report.yml by @ryanhill1 in https://github.com/qBraid/qBraid/pull/794
- Update bug_report.yml by @ryanhill1 in https://github.com/qBraid/qBraid/pull/795
- Update sphinx-autodoc-typehints requirement from <2.5,>=1.24 to >=1.24,<2.6 by @dependabot in https://github.com/qBraid/qBraid/pull/799
- Update sphinx requirement from <8.1,>=7.2 to >=7.2,<8.2 by @dependabot in https://github.com/qBraid/qBraid/pull/798
- handle target spec package not installed by @ryanhill1 in https://github.com/qBraid/qBraid/pull/801
- refactor passes by @ryanhill1 in https://github.com/qBraid/qBraid/pull/805
- Update qiskit-ibm-runtime requirement from <0.31,>=0.25.0 to >=0.25.0,<0.32 by @dependabot in https://github.com/qBraid/qBraid/pull/806
- IonQ qasm 3 support, pre-flight & metadata by @ryanhill1 in https://github.com/qBraid/qBraid/pull/807
- Update job.py by @ryanhill1 in https://github.com/qBraid/qBraid/pull/809
- fix gpi qasm gate pi decimal bug by @ryanhill1 in https://github.com/qBraid/qBraid/pull/812
- Update azure-quantum requirement from <2.2,>=2.0 to >=2.0,<2.3 by @dependabot in https://github.com/qBraid/qBraid/pull/811
- qasm pi to decimal edge cases by @ryanhill1 in https://github.com/qBraid/qBraid/pull/813
- Refactor qasm3 to ionq conversions by @ryanhill1 in https://github.com/qBraid/qBraid/pull/814
- Bump project version to 0.8.4 by @github-actions in https://github.com/qBraid/qBraid/pull/815
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.8.3...v0.8.4
- Python
Published by ryanhill1 about 1 year ago
qbraid - qBraid-SDK 0.8.3
Release 0.8.3 (Oct 9, 2024)
Summary
Added
- Added
AnnealingResultDataclass toqbraid.runtimemodule to represent annealing results. (#768) - Added
NECVectorAnnealerResultDataclass toqbraid.runtime.nativemodule to represent NEC vector annealer results. (#768) - Added
AnnealingExperimentMetadataclass toqbraid.runtime.schemasmodule to represent annealing experiment metadata. (#768) - Added
NECVectorAnnealerExperimentMetadataclass toqbraid.runtime.schemasmodule to represent NEC vector annealer experiment metadata. (#768) - Added mock data and methods to
test.resourcesmodule to support testing of annealing and NEC vector annealing results. (#768) - Link to
examplesrepo (#778)
Improved / Modified
- Updated the ExperimentType enum to change the value of ANNEALING from "quantum_annealing" to "annealing" to better reflect the general nature of experiments. (#768)
- Updated
QbraidJob.resultmethod to returnAnnealingResultDataorNECVectorAnnealerResultDatainstances for annealing and NEC vector annealer experiments, respectively. (#768) - Added a test case for the NEC Vector Annealer workflow in , including job submission and result retrieval. (#768)
- Added unit tests for
AnnealingResultData,NECVectorAnnealerResultData, andAnnealingExperimentMetadataclasses. (#768) - PR compliance workflow that checks that
CHANGELOG.mdis updated with each PR, and if not, issues a reminder (#772) - Workflow to bump semantic version in
_version.py(#773) - Changed
qbraid.runtime.NoiseModelfrom anEnumto adataclassand introducedqbraid.runtime.NoiseModelSetto manage multipleNoiseModelinstances. AnEnumwas too restrictive since its values are fixed, so a more flexible structure was needed for loading noise model data from an API. Using a dataclass allows storing brief descriptions of noise models.NoiseModelSetensures naming consistency and provides easy add, remove, and get operations for provider classes. (#773) - Make noise models optional in
DeviceDataschema (#784)
```python from qbraid.runtime.noise import NoiseModel, NoiseModelSet
idealmodel = NoiseModel("ideal", "Ideal noise model for simulations") custommodel = NoiseModel("custom", "Custom noise model with specific parameters")
models = NoiseModelSet() models.add(idealmodel) models.add(custommodel)
retrievedmodel = models.get("ideal") print(f"Retrieved model: {retrievedmodel.name} - {retrieved_model.description}")
models.add("ideal", "Updated ideal model", overwrite=True)
for name, model in models.items(): print(f"{name}: {model.description}")
models.remove("custom") ```
- Moved
ExperimentTypeenum intoqbraid.programs(#777) - Renamed
qbraid.programs.circuitstoqbraid.programs.gate_modelto match enum value (#777)
Fixed
- Fixed spelling error of
test_quera_simulator_workflowintest.test_devicemodule. (#768)
PRs Merged
- PR compliance by @ryanhill1 in https://github.com/qBraid/qBraid/pull/772
- noise models data types by @ryanhill1 in https://github.com/qBraid/qBraid/pull/773
- Improve support for gates in
qasm2_to_ionqconversion by @TheGupta2012 in https://github.com/qBraid/qBraid/pull/771 - Update pytket-braket requirement from <0.38,>=0.30 to >=0.30,<0.39 by @dependabot in https://github.com/qBraid/qBraid/pull/775
- Update sphinx-rtd-theme requirement from <2.1,>=1.3 to >=1.3,<3.1 by @dependabot in https://github.com/qBraid/qBraid/pull/774
- annealing programs + pyqubo runtime updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/776
- NEC vector annealer runtime integration by @rryoung98 in https://github.com/qBraid/qBraid/pull/768
- connect programs + experiment types by @ryanhill1 in https://github.com/qBraid/qBraid/pull/777
- Revert "connect programs + experiment types" by @ryanhill1 in https://github.com/qBraid/qBraid/pull/779
- nec updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/780
- add examples repo link by @ryanhill1 in https://github.com/qBraid/qBraid/pull/778
- Update bug_report.yml by @ryanhill1 in https://github.com/qBraid/qBraid/pull/781
- Update bug_report.yml by @ryanhill1 in https://github.com/qBraid/qBraid/pull/782
- make noise models optional by @ryanhill1 in https://github.com/qBraid/qBraid/pull/784
- Bump project version to 0.8.3 by @github-actions in https://github.com/qBraid/qBraid/pull/783
New Contributors
- @github-actions made their first contribution in https://github.com/qBraid/qBraid/pull/783
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.8.2...v0.8.3
- Python
Published by ryanhill1 about 1 year ago
qbraid - qBraid-SDK 0.8.2
Release 0.8.2 (Sep 30, 2024)
Summary
Improved / Modified
- Improved
IonQJob.statusand added overridingIonQJob.metadatamethod that uses status caching and refreshes all job metadata when in non-terminal state. (#765) - Improved
QbraidJob.cancelmethod so more accurately indicate whether job cancel request was successful or not (#766) - Modified output JSON format of
QbraidJob.metadatato mirror that of theqbraid.runtime.schemas.RuntimeJobModel(#766)
Dependencies
- Update amazon-braket-sdk requirement from <1.88.0,>=1.83.0 to >=1.83.0,<1.89.0 (#767)
PRs Merged
- Add metadata for
IonQJobin runtime by @TheGupta2012 in https://github.com/qBraid/qBraid/pull/765 - Update amazon-braket-sdk requirement from <1.88.0,>=1.83.0 to >=1.83.0,<1.89.0 by @dependabot in https://github.com/qBraid/qBraid/pull/767
- Cancel job + job metadata updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/766
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.8.1...v0.8.2
- Python
Published by ryanhill1 over 1 year ago
qbraid - qBraid-SDK 0.8.1
Release 0.8.1 (Sep 26, 2024)
Summary
Added
- Added
ValidationLevelint enum that controls whether the behavior of runtimeQuantumDevice.validatemethod, allowing eitherNONE,WARN, orRAISE(#762) - Added
NoiseModelWrapperclass that allows dynamically setting the value of theNoiseModel.Otherenum (#762) - Added
DeviceDataschema to improve the way we process JSON device data recieved from the qBraid API (#762)
Improved / Modified
- Added optional
RuntimeOptionsargument toQuantumDeviceclass to enable overriding default options upon instantiation (#762) - Added
RuntimeOptions.mergemethod to allow combining to options objects with preference to the values and/or validators of either (#762) - Organized all pydantic schemas used in qBraid runtime under (new) module
qbraid.runtime.schemas(#762)
Fixed
- Fixed
pkg_resourcesimport error bug. Not shipped with Python > 3.9, so needed lazy import (#762)
Dependencies
- Update qbraid-core requirement from >=0.1.22 to >=0.1.25 (#762, #763)
- Added ipympl to
qbraid[visualization]extras to allow enhance matplotlib animations withflair-visual(#762)
PRs Merged
IonQProviderupdate forIonQdevices integration by @TheGupta2012 in https://github.com/qBraid/qBraid/pull/763- runtime schema updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/762
- cache status + memory value by @ryanhill1 in https://github.com/qBraid/qBraid/pull/764
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.8.0...v0.8.1
- Python
Published by ryanhill1 over 1 year ago
qbraid - qBraid-SDK 0.8.0
Release 0.8.0 (Sep 23, 2024)
Summary
Added
- Added
qbraid.programs.typermodule containing custom types (Qasm2StringTypeandQasm3StringType) that can be used instead ofstrfor more accurate static typing, as well as instance variables (Qasm2StringandQasm3String) that can be used forisinstancechecks against both OpenQASM 2 and 3 strings (#745) - Added
qbraid.runtime.enums.NoiseModelenum for various noise model options that we may support on managed simulators in the future. This is not a supported feature just yet, so this enum is really just a placeholder. (#745) - Added
qbraid.runtime.azuremodule withAzureQuantumProviderclass to enable access to QPUs and simulators from IonQ, Quantinuum, and Rigetti, as well as the Microsoft resource estimator, using Azure credentials (#723) - Added
qbraid.programs.typer.QbraidMetaTypecustom type instances e.g.IonQDict,BaseQasmInstanceMeta(#752) - Added
qbraid.runtime.Optionsfor more control over transpile, transform, and validation steps (#752) - Added
QbraidProvider.estimate_costmethod to enable getting the estimated number of qBraid credits it will cost to run a quantum job on a given device (#754)
```python from azure.quantum import Workspace
from qbraid.runtime.azure import AzureQuantumProvider
workspace = Workspace(...)
provider = AzureQuantumProvider(workspace)
device = provider.get_device("quantinuum.sim.h1-1sc")
circuit = """ OPENQASM 2.0; include "qelib1.inc"; qreg q[3]; creg c0[3]; h q[0]; cx q[0], q[1]; cx q[1], q[2]; measure q[0] -> c0[0]; measure q[1] -> c0[1]; measure q[2] -> c0[2]; """
job = device.run(circuit, shots=100) job.waitforfinal_state()
result = job.result() counts = result.measurement_counts()
print(counts) # {"000": 100} ```
Improved / Modified
- Updated construction of
TargetProfileinQbraidProviderto populate provider from API instead of defaulting to fixed value 'qBraid'. (#744) - Generalized native runtime submission flow to pave the way for support of new devices apart from the QIR simulator. Updated various routines including creating target profile and constructing payload so they are no longer specific to just the
qbraid_qir_simulator, but can be adapted to new devices that come online fairly quickly. (#745) - Defined azure runtime program specs for devices based on provider / input data format (#752)
- Moved IonQ dict "transform" from IonQ provider into transpiler conversions to be accessible from azure provider as well (#752)
- Updated
qbraid.runtime.JobStatusenum to support displaying custom status message if/when available (#752) - Updated the
qbraid.runtime.provider.QuantumProvidermethodsget_deviceandget_devicesto now cache the results, speeding up subsequent calls. Users still have ability to bypass this cache by using abypass_cacheargument. (#755)
```python import time
from qbraid.runtime.native import QbraidProvider
qbraid_provider = QbraidProvider()
start = time.time() qbraiddevices = qbraidprovider.getdevices() # equivalent to bypasscache=True stop = time.time()
print(f"Original time: {stop - start:.6f} seconds") # 0.837230 seconds
startcache = time.time() devicescached = qbraidprovider.getdevices(bypasscache=False) stopcache = time.time()
print(f"Cached time: {stopcache - startcache:.6f} seconds") # 0.000117 seconds ```
Unified Result class
- Refactored runtime provider result handling: the
qbraid.runtime.QuantumJob.resultmethod now returns a unifiedqbraid.runtime.Resulttype, providing a consistent interface across all quantum device modalities. Specific result types (e.g.,GateModel,AHS) are represented by the abstractqbraid.runtime.ResultDataclass, with each instance corresponding to aqbraid.runtime.ExperimentType(e.g.,GATE_MODEL,AHS, etc.). Experiment-specific methods, such as retrieving measurement counts, are now accessed through theResult.dataattribute, while general metadata (job_id,device_id,success) remains easily accessible through theResultclass. This strikes a balance between the structured yet overly nestedqiskit.result.Resultand the disconnected result schemas inbraket.task_result. See examples below for usage. (#756)
```python
Example 1: Gate Model Experiment via QbraidProvider
from qbraid.runtime import QbraidProvider, GateModelResultData
provider = QbraidProvider() job = provider.getdevice("qbraidqir_simulator").run(circuit, shots=1000) result = job.result()
Unified access to metadata and experiment-specific data
print(f"deviceid: {result.deviceid}, jobid: {result.jobid}, success: {result.success}") print(result.data.get_counts()) # e.g., {"00": 486, "11": 514} ```
```python
Example 2: AHS Experiment via BraketProvider
from qbraid.runtime.aws import BraketProvider from qbraid.runtime import AhsResultData, AhsShotResult
provider = BraketProvider() job = provider.get("arn:aws:braket:us-east-1::device/qpu/quera/Aquila").run(ahs_program, shots=1000) result = job.result()
Unified access to metadata and experiment-specific data
print(f"deviceid: {result.deviceid}, jobid: {result.jobid}, success: {result.success}") print(result.data.measurements) # List of AhsShotResult instances ```
Deprecated
result.measurement_counts()method(s) from result objects retured byqbraid.runtime.QuantumJob.result(). Intead, for gate model jobs, measurement counts dictionary now accessible viaresult.data.get_counts(). (#756)
Removed
- Removed
qbraid.runtime.DeviceActionTypeenum. Functionally replaced byqbraid.runtime.ExperimentType. (#756) - Removed
qbraid.runtime.QuantumJobResult. Replaced byqbraid.runtime.Result. (#756) - Removed
qbraid.runtime.GateModelJobResult. Replaced byqbraid.runtime.GateModelResultData. (#756)
Fixed
- Fixed
qbraid.transpiler.transpilebug where the shortest path wasn't always being favored by the rustworkx pathfinding algorithm. Fixed by adding a bias parameter to both theConversionGraphandConversionclasses that attributes as small weight to each conversion by default. (#745)
Dependencies
- Added
qbraid[azure]extra to project (#723) - Update sphinx-autodoc-typehints requirement from <2.3,>=1.24 to >=1.24,<2.4 (#746)
- Update qiskit-ibm-runtime requirement from <0.29,>=0.25.0 to >=0.25.0,<0.30 (#751)
- Update sphinx-autodoc-typehints requirement from <2.4,>=1.24 to >=1.24,<2.5 (#750)
- Update amazon-braket-sdk requirement from <1.87.0,>=1.83.0 to >=1.83.0,<1.88.0 (#748)
- Update pennylane requirement from <0.38 to <0.39 (#749)
- Added
flair-visualtoqbraid[visulization]extra to allow viewing animations of QuEra Simulator jobs run through qBraid. (#756)
PRs Merged
- enable adding new device from API by @ryanhill1 in https://github.com/qBraid/qBraid/pull/744
- expand runtime native + transpiler bug fixes by @ryanhill1 in https://github.com/qBraid/qBraid/pull/745
- Add Azure Quantum Provider to qBraid Runtime by @pranetksharma in https://github.com/qBraid/qBraid/pull/723
- Update sphinx-autodoc-typehints requirement from <2.3,>=1.24 to >=1.24,<2.4 by @dependabot in https://github.com/qBraid/qBraid/pull/746
- Update qiskit-ibm-runtime requirement from <0.29,>=0.25.0 to >=0.25.0,<0.30 by @dependabot in https://github.com/qBraid/qBraid/pull/751
- Update sphinx-autodoc-typehints requirement from <2.4,>=1.24 to >=1.24,<2.5 by @dependabot in https://github.com/qBraid/qBraid/pull/750
- Update amazon-braket-sdk requirement from <1.87.0,>=1.83.0 to >=1.83.0,<1.88.0 by @dependabot in https://github.com/qBraid/qBraid/pull/748
- Update pennylane requirement from <0.38 to <0.39 by @dependabot in https://github.com/qBraid/qBraid/pull/749
- Runtime options + custom program types by @ryanhill1 in https://github.com/qBraid/qBraid/pull/752
- Add
estimate_costmethod toqbraid.runtime.device.QuantumDeviceby @TheGupta2012 in https://github.com/qBraid/qBraid/pull/754 - Add device cache for
QuantumProviderby @TheGupta2012 in https://github.com/qBraid/qBraid/pull/755 - Unified
Resultclass refactor by @ryanhill1 in https://github.com/qBraid/qBraid/pull/756 - deprecation warnings by @ryanhill1 in https://github.com/qBraid/qBraid/pull/758
- Update qiskit-ibm-runtime requirement from <0.30,>=0.25.0 to >=0.25.0,<0.31 by @dependabot in https://github.com/qBraid/qBraid/pull/759
- Runtime post processing result data by @ryanhill1 in https://github.com/qBraid/qBraid/pull/760
- update changelog, readme, version by @ryanhill1 in https://github.com/qBraid/qBraid/pull/761
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.7.3...v0.8.0
- Python
Published by ryanhill1 over 1 year ago
qbraid - qBraid-SDK 0.7.3
Release 0.7.3 (Aug 26, 2024)
Summary
Improved / modified
- Bumped Amazon Braket dependency to support new Rigetti Ankaa-2 device (#741)
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.7.2...v0.7.3
- Python
Published by ryanhill1 over 1 year ago
qbraid - qBraid-SDK 0.7.2
Release 0.7.2 (Aug 21, 2024)
Summary
Added
- Custom pytest decorator to mark remote tests (#735)
- Attribute
simulatorof typebooltoqbraid.runtime.TargetProfileto replaceqbraid.runtime.DeviceType(#735) - Attribute
localof typebooltoqbraid.runtime.qiskit.QiskitBackend.profileto replaceqbraid.runtime.DeviceType(#735) - Method
qbraid.runtime.GateModelJobResult.counts_to_measurementsto abstract redundant code from subclasses (#735)
Improved / modified
- Values of
qbraid.runtime.DeviceActionTypeEnum to correspond to programs modules (#735) - Static type checking in compliance with
mypy(#735) - Renamed
qbraid.runtime.GateModelJobResult.raw_counts$\rightarrow$get_counts(#735) - Updated
qbraid.runtime.TargetProfilefor more idiomatic usage ofpydantic.BaseModelfor field validation and property access (#735) qbraid.runtime.GateModelJobResult.measurementsnow returnsNoneby default instead of being abstract method. (#735)- Bumped qiskit dependency to qiskit>=0.44,<1.3 (#737)
Removed
Fixed
- qiskit runtime job is terminal state check bug (#735)
- OQC provider get_devices and device status method bugs. Fixed by adding json decoding step (#738)
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.7.1...v0.7.2
- Python
Published by ryanhill1 over 1 year ago
qbraid - qBraid-SDK 0.7.1
Release 0.7.1 (July 12, 2024)
Summary
- bring testing code coverage to 100%
- fix conversion graph weighted edges shortest path bug
- convert target profile from
collections.Mappingtopydantic.BaseModel(addpydanticas project dependency) - qasm2 depth and qasm3 depth functions combined into single function uses openqasm parser.
- updated qasm entrypoints to more easily allow for exchange of shared functionality
- load entrypoint bug fix for python 3.9 backwards compatability
What's Changed
- post release updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/703
- Update qiskit-ibm-runtime requirement from <0.25,>=0.18 to >=0.25.0,<0.26 by @dependabot in https://github.com/qBraid/qBraid/pull/708
- more codecoverage by @rjain37 in https://github.com/qBraid/qBraid/pull/709
- conversion graph weighting fix by @rjain37 in https://github.com/qBraid/qBraid/pull/711
- update TargetProfile by @rjain37 in https://github.com/qBraid/qBraid/pull/707
- new qasm depth functions by @rjain37 in https://github.com/qBraid/qBraid/pull/713
- backwards compatibility for python 3.9 entrypoints by @ryanhill1 in https://github.com/qBraid/qBraid/pull/712
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.7.0...v0.7.1
- Python
Published by ryanhill1 over 1 year ago
qbraid - qBraid-SDK 0.7.0
Release 0.7.0 (July 2, 2024)
Summary
- qBraid Runtime primitives
- Expansion of quantum program registry dynamic typing and aliasing
- Conversion graph to rustworkx + weighted conversions
- Unique provider implementations for qBraid, Amazon Braket, Qiskit IBM runtime, IonQ, and OQC
- qBraid QIR simulator device online
- Device-specific transforms method in QuantumProgram
- Support for AHS program types
- passes module for OpenQASM decompositions and compatibility
- more comprehensive unit testing
What's Changed
- transforms module (compiler stand-in) by @ryanhill1 in https://github.com/qBraid/qBraid/pull/594
- deps updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/598
- Update amazon-braket-sdk requirement from <1.77.0,>=1.42.1 to >=1.42.1,<1.78.0 by @dependabot in https://github.com/qBraid/qBraid/pull/595
- Update docutils requirement from <0.21 to <0.22 by @dependabot in https://github.com/qBraid/qBraid/pull/596
- update qbraid-core + aws configure by @ryanhill1 in https://github.com/qBraid/qBraid/pull/599
- conversion nodes fix by @ryanhill1 in https://github.com/qBraid/qBraid/pull/604
- register program type by @ryanhill1 in https://github.com/qBraid/qBraid/pull/605
- transpiler program type registration cont. by @ryanhill1 in https://github.com/qBraid/qBraid/pull/606
- make conversions module use uniform format by @ryanhill1 in https://github.com/qBraid/qBraid/pull/607
- qbraid runtime update by @ryanhill1 in https://github.com/qBraid/qBraid/pull/611
- Update pytket-braket requirement from <0.36.0,>=0.30.0 to >=0.30.0,<0.37.0 by @dependabot in https://github.com/qBraid/qBraid/pull/608
- program spec by @ryanhill1 in https://github.com/qBraid/qBraid/pull/610
- post bump updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/612
- conversion scheme, headers, abstract display jobs by @ryanhill1 in https://github.com/qBraid/qBraid/pull/613
- transpiler optional dependencies + display by @ryanhill1 in https://github.com/qBraid/qBraid/pull/614
- ionq provider classes by @ryanhill1 in https://github.com/qBraid/qBraid/pull/617
- mock tests by @ryanhill1 in https://github.com/qBraid/qBraid/pull/629
- update deps by @ryanhill1 in https://github.com/qBraid/qBraid/pull/634
- bump qbraid-core version by @ryanhill1 in https://github.com/qBraid/qBraid/pull/635
- Qbraid mock tests by @ryanhill1 in https://github.com/qBraid/qBraid/pull/637
- pre-release updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/638
- Use
rx.PyDiGraphforConversionGraphby @king-p3nguin in https://github.com/qBraid/qBraid/pull/639 - Update README.md by @ryanhill1 in https://github.com/qBraid/qBraid/pull/642
- Rj refactoring by @rjain37 in https://github.com/qBraid/qBraid/pull/640
- qir simulator + oqc compat by @ryanhill1 in https://github.com/qBraid/qBraid/pull/644
- Update pennylane requirement from ~=0.35.1 to ~=0.36.0 by @dependabot in https://github.com/qBraid/qBraid/pull/616
- qbraid device updates + braket availability + ci/cd formart by @ryanhill1 in https://github.com/qBraid/qBraid/pull/645
- Implement tests for IonQ runtime provider by @king-p3nguin in https://github.com/qBraid/qBraid/pull/646
- Expand IonQ provider runtime to supported gates by @king-p3nguin in https://github.com/qBraid/qBraid/pull/647
- housekeep updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/654
- Updated README.md for a couple typos, added IQM by @pranetksharma in https://github.com/qBraid/qBraid/pull/656
- new qasm function for removing unused by @rjain37 in https://github.com/qBraid/qBraid/pull/652
- aquila + ahs integrations by @ryanhill1 in https://github.com/qBraid/qBraid/pull/657
- Rh1 dev by @ryanhill1 in https://github.com/qBraid/qBraid/pull/663
- qiskit result + oqc shuffle by @ryanhill1 in https://github.com/qBraid/qBraid/pull/666
- Convert OpenQASM 3 program to specified basis gate set by @dhanaabhirajk in https://github.com/qBraid/qBraid/pull/662
- Rj qasm3 by @rjain37 in https://github.com/qBraid/qBraid/pull/669
- make oqc metadata more readable by @rjain37 in https://github.com/qBraid/qBraid/pull/670
- new qasm3 depth function by @rjain37 in https://github.com/qBraid/qBraid/pull/672
- transforms to passes by @ryanhill1 in https://github.com/qBraid/qBraid/pull/673
- test cases by @ryanhill1 in https://github.com/qBraid/qBraid/pull/674
- weight updates + dependency bumps by @ryanhill1 in https://github.com/qBraid/qBraid/pull/680
- weighted graph support for transpilation by @rjain37 in https://github.com/qBraid/qBraid/pull/675
- Update qiskit-ibm-runtime requirement from <0.24,>=0.18 to >=0.18,<0.25 by @dependabot in https://github.com/qBraid/qBraid/pull/676
- Update numpy requirement from <1.27,>=1.17 to >=1.17,<2.1 by @dependabot in https://github.com/qBraid/qBraid/pull/677
- Update pytket requirement from <1.29,>=1.26 to >=1.26,<1.30 by @dependabot in https://github.com/qBraid/qBraid/pull/678
- Update amazon-braket-sdk requirement from <1.81,>=1.74 to >=1.74,<1.82 by @dependabot in https://github.com/qBraid/qBraid/pull/679
- runtime provider + device class test cases by @ryanhill1 in https://github.com/qBraid/qBraid/pull/681
- testing updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/682
- serialize ahs by @ryanhill1 in https://github.com/qBraid/qBraid/pull/683
- AHS program type integration by @ryanhill1 in https://github.com/qBraid/qBraid/pull/684
- integrate bloqade extra + type alias updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/685
- cirq->braket for ionq gates support by @rjain37 in https://github.com/qBraid/qBraid/pull/686
- Update sphinx-autodoc-typehints requirement from <2.2,>=1.24 to >=1.24,<2.3 by @dependabot in https://github.com/qBraid/qBraid/pull/687
- move braket_ahs / bloqade conversion by @ryanhill1 in https://github.com/qBraid/qBraid/pull/688
- dynamic non native registry by @ryanhill1 in https://github.com/qBraid/qBraid/pull/689
- more codecov by @rjain37 in https://github.com/qBraid/qBraid/pull/690
- lazy import conversion fns + bloqade module attr by @ryanhill1 in https://github.com/qBraid/qBraid/pull/691
- ionq provider device qasm transform by @ryanhill1 in https://github.com/qBraid/qBraid/pull/693
- codecov by @rjain37 in https://github.com/qBraid/qBraid/pull/692
- more codecov! by @rjain37 in https://github.com/qBraid/qBraid/pull/694
- docs updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/695
- docs + spec by @ryanhill1 in https://github.com/qBraid/qBraid/pull/696
- codecoverage -> 98.5% by @rjain37 in https://github.com/qBraid/qBraid/pull/697
- Update amazon-braket-sdk requirement from <1.83.0,>=1.80.1 to >=1.83.0,<1.84.0 by @dependabot in https://github.com/qBraid/qBraid/pull/698
- codecov by @rjain37 in https://github.com/qBraid/qBraid/pull/700
- pre-release housekeep by @ryanhill1 in https://github.com/qBraid/qBraid/pull/701
- Update _version.py by @qbraidTeam in https://github.com/qBraid/qBraid/pull/702
New Contributors
- @king-p3nguin made their first contribution in https://github.com/qBraid/qBraid/pull/639
- @rjain37 made their first contribution in https://github.com/qBraid/qBraid/pull/640
- @pranetksharma made their first contribution in https://github.com/qBraid/qBraid/pull/656
- @dhanaabhirajk made their first contribution in https://github.com/qBraid/qBraid/pull/662
- @qbraidTeam made their first contribution in https://github.com/qBraid/qBraid/pull/702
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.6.1...v0.7.0
- Python
Published by ryanhill1 over 1 year ago
qbraid - qBraid-SDK 0.6.1
Release 0.6.1 (April 9, 2024)
Summary
- transpiler requires extras
- bump qbraid_core version for forward compatability
What's Changed
- update tox, version, workflow multi-version by @ryanhill1 in https://github.com/qBraid/qBraid/pull/592
- transpiler conventions + requires extras by @ryanhill1 in https://github.com/qBraid/qBraid/pull/593
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.6.0...v0.6.1
- Python
Published by ryanhill1 over 1 year ago
qbraid - qBraid-SDK 0.6.0
Release 0.6.0 (April 6, 2024)
Summary
- Move most of the API requests to
qbraid-core qbraid.job_wrapper()$\rightarrow$qbraid.providers.QuantumJob.retrieve()qbraid.device_wrapper()$\rightarrow$qbraid.providers.QbraidProvider.get_device()qbraid.circuit_wrapper()$\rightarrow$qbraid.programs.load_program()- Remove
QuantumProgram.transpile()and renameqbraid.transpiler.convert_to_package()toqbraid.transpiler.transpile() - Implement universal
QuantumDevice.runmethod and instead now use/require abstract._run()to get vendor job data during run
What's Changed
- dependency updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/582
- Update amazon-braket-sdk requirement from ~=1.73.3 to ~=1.74.0 by @dependabot in https://github.com/qBraid/qBraid/pull/578
- Update pytket-braket requirement from ~=0.34.1 to ~=0.35.1 by @dependabot in https://github.com/qBraid/qBraid/pull/579
- Update pytket requirement from ~=1.25.0 to ~=1.26.0 by @dependabot in https://github.com/qBraid/qBraid/pull/581
- qbraid core by @ryanhill1 in https://github.com/qBraid/qBraid/pull/583
- fix workflow set config by @ryanhill1 in https://github.com/qBraid/qBraid/pull/584
- refactor top-level imports by @ryanhill1 in https://github.com/qBraid/qBraid/pull/586
- fix typos and bump braket by @ryanhill1 in https://github.com/qBraid/qBraid/pull/587
- Update amazon-braket-sdk requirement from ~=1.74.0 to ~=1.76.0 by @dependabot in https://github.com/qBraid/qBraid/pull/585
- workflows + loggers + top-level by @ryanhill1 in https://github.com/qBraid/qBraid/pull/588
- bump release by @ryanhill1 in https://github.com/qBraid/qBraid/pull/589
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.5.3...v0.6.0
- Python
Published by ryanhill1 over 1 year ago
qbraid - qBraid-SDK 0.5.3
Release 0.5.3 (March 20, 2024)
Summary
- dependency updates
- get_jobs helper function
What's Changed
- Update pennylane requirement from ~=0.34.0 to ~=0.35.0 by @dependabot in https://github.com/qBraid/qBraid/pull/565
- Update amazon-braket-sdk requirement from ~=1.72.2 to ~=1.73.1 by @dependabot in https://github.com/qBraid/qBraid/pull/568
- Update qiskit requirement from ~=1.0.1 to ~=1.0.2 by @dependabot in https://github.com/qBraid/qBraid/pull/567
- re-add qiskit braket provider test by @ryanhill1 in https://github.com/qBraid/qBraid/pull/570
- get jobs update - abstract fetch data by @ryanhill1 in https://github.com/qBraid/qBraid/pull/571
- dependency updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/576
- Update amazon-braket-sdk requirement from ~=1.73.1 to ~=1.73.3 by @dependabot in https://github.com/qBraid/qBraid/pull/572
- Update pennylane requirement from ~=0.35.0 to ~=0.35.1 by @dependabot in https://github.com/qBraid/qBraid/pull/574
- Update qiskit-qasm3-import requirement from ~=0.4.1 to ~=0.4.2 by @dependabot in https://github.com/qBraid/qBraid/pull/575
- Update _version.py by @ryanhill1 in https://github.com/qBraid/qBraid/pull/577
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.5.2...v0.5.3
- Python
Published by ryanhill1 almost 2 years ago
qbraid - qBraid-SDK 0.5.2
Release 0.5.2 (March 4, 2024)
Summary
- fix QbraidSession requests domain bug
- update QbraidSession running in lab check
- other unit-test bug fixes
- bump Amazon Braket version
What's Changed
- Update amazon-braket-sdk requirement from ~=1.70.3 to ~=1.71.0 by @dependabot in https://github.com/qBraid/qBraid/pull/562
- import error optional dependency bug fix by @ryanhill1 in https://github.com/qBraid/qBraid/pull/563
- domain api fix by @ryanhill1 in https://github.com/qBraid/qBraid/pull/564
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.5.1...v0.5.2
- Python
Published by ryanhill1 almost 2 years ago
qbraid - qBraid-SDK 0.5.1
Release 0.5.1 (Feb 26, 2024)
Summary
- Lazy loader class
- Support for qiskit runtime provider (not integrated into .run yet)
- OpenQasm3 program class refactor qubits / clbits methods
- Added qbraid.api.system module for internal dev (soon to be moved to qbraid-core)
- Cirq program bug fixes
- Qiskit version 1.0.0 updates
What's Changed
- jobs api + lazy loader + cirq tests by @ryanhill1 in https://github.com/qBraid/qBraid/pull/536
- Update amazon-braket-sdk requirement from ~=1.65.1 to ~=1.66.0 by @dependabot in https://github.com/qBraid/qBraid/pull/533
- Update pytket requirement from ~=1.22.0 to ~=1.23.0 by @dependabot in https://github.com/qBraid/qBraid/pull/534
- Update pytket-braket requirement from ~=0.32.0 to ~=0.33.0 by @dependabot in https://github.com/qBraid/qBraid/pull/535
- bump deps by @ryanhill1 in https://github.com/qBraid/qBraid/pull/539
- Update pytket requirement from ~=1.23.0 to ~=1.24.0 by @dependabot in https://github.com/qBraid/qBraid/pull/537
- Update qiskit requirement from ~=0.45.1 to ~=0.45.2 by @dependabot in https://github.com/qBraid/qBraid/pull/538
- update email converter by @ryanhill1 in https://github.com/qBraid/qBraid/pull/543
- Update pytket-braket requirement from ~=0.33.0 to ~=0.34.1 by @dependabot in https://github.com/qBraid/qBraid/pull/541
- Update amazon-braket-sdk requirement from ~=1.66.0 to ~=1.68.0 by @dependabot in https://github.com/qBraid/qBraid/pull/542
- qasm3 clbits + qiskit runtime dev + qbraid api dev by @ryanhill1 in https://github.com/qBraid/qBraid/pull/549
- Update amazon-braket-sdk requirement from ~=1.68.0 to ~=1.68.3 by @dependabot in https://github.com/qBraid/qBraid/pull/547
- Update qiskit requirement from ~=0.45.2 to ~=0.46.0 by @dependabot in https://github.com/qBraid/qBraid/pull/548
- bump reqs by @ryanhill1 in https://github.com/qBraid/qBraid/pull/555
- Update qiskit-ibm-runtime requirement from ~=0.18.0 to ~=0.19.1 by @dependabot in https://github.com/qBraid/qBraid/pull/550
- Update sphinx-autodoc-typehints requirement from <1.26,>=1.24 to >=1.24,<2.1 by @dependabot in https://github.com/qBraid/qBraid/pull/551
- Update pytket requirement from ~=1.24.0 to ~=1.25.0 by @dependabot in https://github.com/qBraid/qBraid/pull/552
- Update qiskit-ibm-provider requirement from ~=0.8.0 to ~=0.9.0 by @dependabot in https://github.com/qBraid/qBraid/pull/553
- Update amazon-braket-sdk requirement from ~=1.68.3 to ~=1.70.0 by @dependabot in https://github.com/qBraid/qBraid/pull/554
- qasm3 + github templates + about by @ryanhill1 in https://github.com/qBraid/qBraid/pull/556
- api helpers updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/557
- Update amazon-braket-sdk requirement from ~=1.70.0 to ~=1.70.2 by @dependabot in https://github.com/qBraid/qBraid/pull/559
- check valid venv name by @ryanhill1 in https://github.com/qBraid/qBraid/pull/560
- qiskit version update compatibility by @ryanhill1 in https://github.com/qBraid/qBraid/pull/561
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.5.0...v0.5.1
- Python
Published by ryanhill1 almost 2 years ago
qbraid - qBraid-SDK 0.5.0
Release 0.5.0 (Jan 11, 2024)
Summary
- restricted core dependencies and moved rest to optional dependencies, dynamically loaded
- move transpiler from hub and spokes model to graph model with ability to add new custom conversions
- qbraid.providers module + QbraidProvider() construct + braket/qiskit provider sub-classes
- add pennylane program type and to qasm2 support
- openqasm3 program type - circuit depth and other methods implemented natively instead of from qiskit
- amazon braket cost tracker, retrieving tagged jobs, and device availability windows
- started implementing fake device for ibm backends testing
- refactor unit tests and move old data classes to fixtures
- consolidate and improve quantum program methods for subclasses
- braket - qasm3 - qiskit transpiler path
What's Changed
- fixes #335 by @EnriqueAnguianoVara in https://github.com/qBraid/qBraid/pull/357
- optional dependencies refactor by @ryanhill1 in https://github.com/qBraid/qBraid/pull/373
- separate tests from src by @ryanhill1 in https://github.com/qBraid/qBraid/pull/378
- move job api + deps updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/381
- improve formatting of unit tests + housekeeping by @ryanhill1 in https://github.com/qBraid/qBraid/pull/385
- Improve code coverage by @ryanhill1 in https://github.com/qBraid/qBraid/pull/399
- Add implementation for
contiguous_qasm_3function by @TheGupta2012 in https://github.com/qBraid/qBraid/pull/398 - Add implementation for
contiguouscompression [contd] by @TheGupta2012 in https://github.com/qBraid/qBraid/pull/402 - naming conventions, refactor classes, fn updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/401
- Add implementation for
openqasm3.ast.Programtype incircuit_wrapperby @TheGupta2012 in https://github.com/qBraid/qBraid/pull/414 - transpiler refactor by @ryanhill1 in https://github.com/qBraid/qBraid/pull/417
- Update abc_program.py by @ryanhill1 in https://github.com/qBraid/qBraid/pull/419
- add qbraid provider by @ryanhill1 in https://github.com/qBraid/qBraid/pull/427
- split providers into sub-modules by @ryanhill1 in https://github.com/qBraid/qBraid/pull/431
- braket queue position + provider try excepts by @ryanhill1 in https://github.com/qBraid/qBraid/pull/432
- Add
reverse_qubit_ordermethod for qasm3 by @TheGupta2012 in https://github.com/qBraid/qBraid/pull/433 - quantum device class by @ryanhill1 in https://github.com/qBraid/qBraid/pull/452
- refactor provider unit tests by @ryanhill1 in https://github.com/qBraid/qBraid/pull/453
- qiskit fake backend test + bug fix by @ryanhill1 in https://github.com/qBraid/qBraid/pull/454
- cirq updates + provider credentials bug by @ryanhill1 in https://github.com/qBraid/qBraid/pull/466
- Add qiskit <-> braket converter via
openqasm3by @TheGupta2012 in https://github.com/qBraid/qBraid/pull/446 - clean transpiler + pkg updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/483
- aws task cost by @ryanhill1 in https://github.com/qBraid/qBraid/pull/492
- transpiler qasm3 refactor by @ryanhill1 in https://github.com/qBraid/qBraid/pull/496
- remove interface class by @ryanhill1 in https://github.com/qBraid/qBraid/pull/497
- transpiler refactor cont. by @ryanhill1 in https://github.com/qBraid/qBraid/pull/502
- braket qasm3 mapped gates fix by @ryanhill1 in https://github.com/qBraid/qBraid/pull/503
- Add fake device integration for unit tests by @TheGupta2012 in https://github.com/qBraid/qBraid/pull/498
- transpiler dynamic graph search by @ryanhill1 in https://github.com/qBraid/qBraid/pull/506
- refactor tests + interface by @ryanhill1 in https://github.com/qBraid/qBraid/pull/507
- fix docs + rm circuits all close cirq dep by @ryanhill1 in https://github.com/qBraid/qBraid/pull/508
- display to top-level, compat py39 by @ryanhill1 in https://github.com/qBraid/qBraid/pull/510
- update cost tracker + next available by @ryanhill1 in https://github.com/qBraid/qBraid/pull/513
- qjobs backwards compat by @ryanhill1 in https://github.com/qBraid/qBraid/pull/517
- jobs tagging by @ryanhill1 in https://github.com/qBraid/qBraid/pull/518
- remove idle qubits on run command if simulator by @ryanhill1 in https://github.com/qBraid/qBraid/pull/519
- patch cirq named qubit bug by @ryanhill1 in https://github.com/qBraid/qBraid/pull/520
- cirq NamedQubit fixes + testing fixtures updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/521
- pennylane wires ordering, tags unit tests, docs build bugs by @ryanhill1 in https://github.com/qBraid/qBraid/pull/523
- conversion graph to nx.DiGraph + plot conversion graph by @ryanhill1 in https://github.com/qBraid/qBraid/pull/528
- move conversions to transpiler module by @ryanhill1 in https://github.com/qBraid/qBraid/pull/530
New Contributors
- @EnriqueAnguianoVara made their first contribution in https://github.com/qBraid/qBraid/pull/357
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.4.5...v0.5.0
- Python
Published by ryanhill1 almost 2 years ago
qbraid - qBraid-SDK 0.4.5
Release 0.4.5 (Aug 27, 2023)
Summary
- staged braket control operator updates
- interface split qasm2/3 into separate modules
- qasm depth fn update covering all qasm2 edge cases
What's Changed
- Add qasm3 qubit count function by @TheGupta2012 in https://github.com/qBraid/qBraid/pull/354
- docs updates + housekeep by @ryanhill1 in https://github.com/qBraid/qBraid/pull/363
- Update cirq requirement from ~=1.3.0.dev20230811174803 to ~=1.3.0.dev20230818204552 by @dependabot in https://github.com/qBraid/qBraid/pull/356
- braket updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/365
- reset bk control by @ryanhill1 in https://github.com/qBraid/qBraid/pull/366
- interface qasm updates + refactor by @ryanhill1 in https://github.com/qBraid/qBraid/pull/371
- Update _version.py by @ryanhill1 in https://github.com/qBraid/qBraid/pull/372
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.4.4...v0.4.5
- Python
Published by ryanhill1 over 2 years ago
qbraid - qBraid-SDK 0.4.4
Release 0.4.4 (Aug 18, 2023)
Summary
- Transpiler now maintains circuit qubit indexing for consistency across circuit diagrams.
- Plot counts function now accepts kwarg to exclude states with zero measurements from plot
- Fix remaining qasm3 circuit wrapper bugs
- Qiskit package migration and cirq / braket package version bumps
- Pre-release PyPI workflows
What's Changed
- house keeping updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/335
- qasm3 circuit_wrapper + pre release workflows by @ryanhill1 in https://github.com/qBraid/qBraid/pull/336
- fix workflow actions file order by @ryanhill1 in https://github.com/qBraid/qBraid/pull/337
- pre-release to pypi actions by @ryanhill1 in https://github.com/qBraid/qBraid/pull/338
- qasm refactor + bug fix by @ryanhill1 in https://github.com/qBraid/qBraid/pull/343
- qiskit migration v bump by @ryanhill1 in https://github.com/qBraid/qBraid/pull/344
- Transpiler qubit indexing consistent for drawers by @ryanhill1 in https://github.com/qBraid/qBraid/pull/346
- add Bloqade + Julia docs by @ryanhill1 in https://github.com/qBraid/qBraid/pull/351
- Update cirq requirement from ~=1.3.0.dev20230808184014 to ~=1.3.0.dev20230811174803 by @dependabot in https://github.com/qBraid/qBraid/pull/349
- Format counts now by default plots only non-zero values (can change this with removeZeros parameter) by @pranavkakhandiki in https://github.com/qBraid/qBraid/pull/347
- bump version + update docs by @ryanhill1 in https://github.com/qBraid/qBraid/pull/353
New Contributors
- @pranavkakhandiki made their first contribution in https://github.com/qBraid/qBraid/pull/347
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.4.3...v0.4.4
- Python
Published by ryanhill1 over 2 years ago
qbraid - qBraid-SDK 0.4.3
Release 0.4.3 (Aug 7, 2023)
Summary
- Full OpenQASM 3 support
- Amazon Braket batch jobs
- Bump Cirq, Amazon Braket, Pytket depedencies
What's Changed
- QASM updates - utils + wrapper by @ryanhill1 in https://github.com/qBraid/qBraid/pull/326
- integrate qasm3 by @ryanhill1 in https://github.com/qBraid/qBraid/pull/327
- Update amazon-braket-sdk requirement from ~=1.53.0 to ~=1.53.2 by @dependabot in https://github.com/qBraid/qBraid/pull/330
- Update pytket requirement from ~=1.17.1 to ~=1.18.0 by @dependabot in https://github.com/qBraid/qBraid/pull/328
- Update cirq requirement from ~=1.3.0.dev20230801170401 to ~=1.3.0.dev20230807214542 by @dependabot in https://github.com/qBraid/qBraid/pull/329
- Add aws batch jobs by @ryanhill1 in https://github.com/qBraid/qBraid/pull/331
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.4.2...v0.4.3
- Python
Published by ryanhill1 over 2 years ago
qbraid - qBraid-SDK 0.4.2
Release 0.4.2 (Aug 1, 2023)
Summary
- Dependency bumps including cirq_rigetti + pyquil up-to-date
- qiskit ecosystem repo configs
- transpiler coverage benchmarking script(s)
- lab docs updates
What's Changed
- Rh1 benchmark by @ryanhill1 in https://github.com/qBraid/qBraid/pull/275
- coverage rand seeds + doc by @ryanhill1 in https://github.com/qBraid/qBraid/pull/276
- Fixed qubit indexing issue with SWAP gate by @CalebMcIrvinGitHub in https://github.com/qBraid/qBraid/pull/277
- rh1 housekeep tests + duplicate code by @ryanhill1 in https://github.com/qBraid/qBraid/pull/278
- Extend reg and line up instrs by @CalebMcIrvinGitHub in https://github.com/qBraid/qBraid/pull/279
- Rh1 dev by @ryanhill1 in https://github.com/qBraid/qBraid/pull/281
- Update amazon-braket-sdk requirement from ~=1.42.1 to ~=1.44.0 by @dependabot in https://github.com/qBraid/qBraid/pull/284
- Update pytket-braket requirement from ~=0.27.0 to ~=0.28.0 by @dependabot in https://github.com/qBraid/qBraid/pull/283
- Rh1 deps updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/286
- Rh1 deps updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/287
- Rh1 deps updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/288
- Update amazon-braket-sdk requirement from ~=1.46.0 to ~=1.47.0 by @dependabot in https://github.com/qBraid/qBraid/pull/290
- Update qiskit requirement from ~=0.43.1 to ~=0.43.2 by @dependabot in https://github.com/qBraid/qBraid/pull/289
- Update pytket requirement from ~=1.16.0 to ~=1.17.0 by @dependabot in https://github.com/qBraid/qBraid/pull/301
- Update amazon-braket-sdk requirement from ~=1.47.0 to ~=1.48.1 by @dependabot in https://github.com/qBraid/qBraid/pull/299
- Update pytket-braket requirement from ~=0.28.0 to ~=0.29.0 by @dependabot in https://github.com/qBraid/qBraid/pull/302
- Update amazon-braket-sdk requirement from ~=1.47.0 to ~=1.49.0 by @dependabot in https://github.com/qBraid/qBraid/pull/303
- Update ecosystem.json by @ryanhill1 in https://github.com/qBraid/qBraid/pull/304
- qiskit dependencies test fix by @ryanhill1 in https://github.com/qBraid/qBraid/pull/305
- Update pytket requirement from ~=1.17.0 to ~=1.17.1 by @dependabot in https://github.com/qBraid/qBraid/pull/307
- Update amazon-braket-sdk requirement from ~=1.49.0 to ~=1.49.1 by @dependabot in https://github.com/qBraid/qBraid/pull/309
- Rh1 extensions docs by @ryanhill1 in https://github.com/qBraid/qBraid/pull/311
- update braket version by @ryanhill1 in https://github.com/qBraid/qBraid/pull/312
- Update test_devices.py by @ryanhill1 in https://github.com/qBraid/qBraid/pull/313
- Update amazon-braket-sdk requirement from ~=1.50.0 to ~=1.53.0 by @dependabot in https://github.com/qBraid/qBraid/pull/318
- Rh1 qbraid jobs bug by @ryanhill1 in https://github.com/qBraid/qBraid/pull/323
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.4.1...v0.4.2
- Python
Published by ryanhill1 over 2 years ago
qbraid - qBraid-SDK 0.4.1
Release 0.4.1 (Jun 15, 2023)
Summary
- OpenQASM 3 random circuit function
- OpenQASM 2 $\rightarrow$ 3 conversion function
- IonQ Harmony
AwsDevicecircuit compilation - Increase
QasmParsercoverage - Update OpenQASM 2 pre-processing function for newest
qiskit - IBM device
run_batchmethod and API updates - Transpiler gate coverage benchmarking for all supported program types
- OpenQASM 3 circuit drawer (first draft)
- Workflow & CI/CD updates, remote/local test split
- Dependency updates, notably
pyquil&pytket
What's Changed
- Update README.md by @ryanhill1 in https://github.com/qBraid/qBraid/pull/219
- convert to supported qasm 3.0 dev by @ryanhill1 in https://github.com/qBraid/qBraid/pull/221
- openqasm updates + bug fixes by @ryanhill1 in https://github.com/qBraid/qBraid/pull/237
- Add a converter for QASM 2.0 to 3.0 by @TheGupta2012 in https://github.com/qBraid/qBraid/pull/243
- Ryanhill1 patch 1 by @ryanhill1 in https://github.com/qBraid/qBraid/pull/253
- Update workflows + CI/CD by @ryanhill1 in https://github.com/qBraid/qBraid/pull/252
- bump requirements by @ryanhill1 in https://github.com/qBraid/qBraid/pull/260
- update workflows for local testing by @ryanhill1 in https://github.com/qBraid/qBraid/pull/261
- OpenQASM 3.0 random circuit function #241 by @anomius in https://github.com/qBraid/qBraid/pull/258
- Test transpile cov by @mmlouamri in https://github.com/qBraid/qBraid/pull/256
- add allowance to baseline threshold by @ryanhill1 in https://github.com/qBraid/qBraid/pull/262
- feat: braket-harmony compilation by @mmlouamri in https://github.com/qBraid/qBraid/pull/257
run_batchmethod forIBMBackendWrapperclass by @TheGupta2012 in https://github.com/qBraid/qBraid/pull/246- OpenQASM circuit drawer by @CalebMcIrvinGitHub in https://github.com/qBraid/qBraid/pull/247
- Rh1 qasm by @ryanhill1 in https://github.com/qBraid/qBraid/pull/263
- Rh1 benchmark by @ryanhill1 in https://github.com/qBraid/qBraid/pull/274
New Contributors
- @TheGupta2012 made their first contribution in https://github.com/qBraid/qBraid/pull/243
- @anomius made their first contribution in https://github.com/qBraid/qBraid/pull/258
- @mmlouamri made their first contribution in https://github.com/qBraid/qBraid/pull/256
- @CalebMcIrvinGitHub made their first contribution in https://github.com/qBraid/qBraid/pull/247
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.4.0...v0.4.1
- Python
Published by ryanhill1 over 2 years ago
qbraid - qBraid-SDK 0.4.0
Release 0.4.0 (May 16, 2023)
Summary
- Fix cirq --> braket measurement gate bug
- GPL license headers + script
- Add support for qasm as program type
- API tokens for local use
- Update README + docs
- Workflow/actions updates
What's Changed
- rm un-needed code + updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/184
- bump requirements by @ryanhill1 in https://github.com/qBraid/qBraid/pull/189
- fix cirq to braket bug by @ryanhill1 in https://github.com/qBraid/qBraid/pull/192
- dev requirements by @ryanhill1 in https://github.com/qBraid/qBraid/pull/193
- licensing headers + script by @ryanhill1 in https://github.com/qBraid/qBraid/pull/194
- ci/cd updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/199
- fix the latest text by @pronil-wedefineapps in https://github.com/qBraid/qBraid/pull/198
- Update qiskit-ibm-provider requirement from ~=0.5.2 to ~=0.5.3 by @dependabot in https://github.com/qBraid/qBraid/pull/197
- workflows + readme + misc other by @ryanhill1 in https://github.com/qBraid/qBraid/pull/200
- README, contributing, results by @ryanhill1 in https://github.com/qBraid/qBraid/pull/201
- Remotes/issue fix by @junliangtan1 in https://github.com/qBraid/qBraid/pull/204
- Qsp 297 update api tokens 2023.05.15 by @rryoung98 in https://github.com/qBraid/qBraid/pull/216
- Rh1 merge updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/217
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.3.0...v0.4.0
- Python
Published by ryanhill1 over 2 years ago
qbraid - qBraid-SDK 0.3.0
Release 0.3.0 (Apr 22, 2023)
Summary
- Refactor API module
- New configure flow (qbraidrc)
- Updates for loading credentials for testing
- Updates for IBMProvider
- Updates to device wrappers modules
- Fixes to make quantum jobs work with qBraid Lab proxies
- User guide + docs updates reflecting all new breaking changes
What's Changed
- housekeeping by @ryanhill1 in https://github.com/qBraid/qBraid/pull/156
- ibm provider updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/157
- Improve coverage by @junliangtan1 in https://github.com/qBraid/qBraid/pull/159
- docs + pytket updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/160
- Remotes/issue fix by @junliangtan1 in https://github.com/qBraid/qBraid/pull/168
- qbraid configure by @ryanhill1 in https://github.com/qBraid/qBraid/pull/167
- Rework API + devices by @ryanhill1 in https://github.com/qBraid/qBraid/pull/180
- debugging api routes and device tests by @ryanhill1 in https://github.com/qBraid/qBraid/pull/182
- jobs errors + docs by @ryanhill1 in https://github.com/qBraid/qBraid/pull/183
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.2.3...v0.3.0
- Python
Published by ryanhill1 over 2 years ago
qbraid - qBraid-SDK 0.2.3
Release 0.2.3 (Mar 10, 2023)
Summary
- Braket device next available timer
- Braket transpiler noisey gates
- Docs UI to qBraid theme
What's Changed
- Aws device available timer printout by @junliangtan1 in https://github.com/qBraid/qBraid/pull/143
- UI update. by @pronil-wedefineapps in https://github.com/qBraid/qBraid/pull/145
- Get devices 2 by @ryanhill1 in https://github.com/qBraid/qBraid/pull/147
- Braket coverage& error message by @junliangtan1 in https://github.com/qBraid/qBraid/pull/152
- Improve coverage by @junliangtan1 in https://github.com/qBraid/qBraid/pull/146
- bump dependencies by @ryanhill1 in https://github.com/qBraid/qBraid/pull/153
New Contributors
- @junliangtan1 made their first contribution in https://github.com/qBraid/qBraid/pull/143
- @pronil-wedefineapps made their first contribution in https://github.com/qBraid/qBraid/pull/145
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.2.2...v0.2.3
- Python
Published by ryanhill1 almost 3 years ago
qbraid - qBraid-SDK 0.2.2
Release 0.2.2 (Feb 9, 2023)
Summary
- QASM parser updates, added support for many different gates & input formats
- braket to qasm code module started
- major Lab docs updates
- Bump dependencies (qiskit, braket, pyquil, cirq)
What's Changed
- Open source by @ryanhill1 in https://github.com/qBraid/qBraid/pull/122
- docs + a couple new tests by @ryanhill1 in https://github.com/qBraid/qBraid/pull/126
- install new package docs by @ryanhill1 in https://github.com/qBraid/qBraid/pull/127
- qasm to braket code by @ryanhill1 in https://github.com/qBraid/qBraid/pull/135
- qiskit version bump + qasm refactor by @ryanhill1 in https://github.com/qBraid/qBraid/pull/140
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.1.4...v0.2.2
- Python
Published by ryanhill1 almost 3 years ago
qbraid - qBraid-SDK 0.1.4
Release 0.1.4 (Oct 14, 2022)
Summary
- Support the latest Amazon Braket version (1.31.0)
- Support the latest Cirq version (1.0.0)
- Support the latest PyQuil version (3.3.2)
- Remove duplicate conversion tests
- Refactor Lab docs
- Add Lab docs for access keys, VSCode, & system info
- Fiddle with API config tests
What's Changed
- Add access key docs by @ryanhill1 in https://github.com/qBraid/qBraid/pull/80
- Bump cirq from 0.15.0 to 1.0.0 by @dependabot in https://github.com/qBraid/qBraid/pull/81
- Bump pyquil from 3.0.1 to 3.1.0 by @dependabot in https://github.com/qBraid/qBraid/pull/78
- Bump amazon-braket-sdk from 1.25.2 to 1.26.1 by @dependabot in https://github.com/qBraid/qBraid/pull/83
- pkg version & test updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/84
- Bump amazon-braket-sdk from 1.26.1 to 1.26.2 by @dependabot in https://github.com/qBraid/qBraid/pull/85
- Bump amazon-braket-sdk from 1.26.2 to 1.27.0 by @dependabot in https://github.com/qBraid/qBraid/pull/86
- connect to VS code docs by @ryanhill1 in https://github.com/qBraid/qBraid/pull/87
- Bump qiskit from 0.37.0 to 0.37.1 by @dependabot in https://github.com/qBraid/qBraid/pull/88
- Rh1 dev by @ryanhill1 in https://github.com/qBraid/qBraid/pull/89
- Bump amazon-braket-sdk from 1.27.0 to 1.27.1 by @dependabot in https://github.com/qBraid/qBraid/pull/90
- update workflows by @ryanhill1 in https://github.com/qBraid/qBraid/pull/94
- fix api test headers error by @ryanhill1 in https://github.com/qBraid/qBraid/pull/100
- Bump pyquil from 3.1.0 to 3.2.1 by @dependabot in https://github.com/qBraid/qBraid/pull/91
- Bump pyquil from 3.2.1 to 3.3.0 by @dependabot in https://github.com/qBraid/qBraid/pull/101
- Bump amazon-braket-sdk from 1.27.1 to 1.29.1 by @dependabot in https://github.com/qBraid/qBraid/pull/98
- Bump qiskit from 0.37.1 to 0.37.2 by @dependabot in https://github.com/qBraid/qBraid/pull/104
- Try except + v bumps by @ryanhill1 in https://github.com/qBraid/qBraid/pull/110
- update api config test by @ryanhill1 in https://github.com/qBraid/qBraid/pull/116
- Rh1 dev by @ryanhill1 in https://github.com/qBraid/qBraid/pull/120
New Contributors
- @dependabot made their first contribution in https://github.com/qBraid/qBraid/pull/81
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.1.3...v0.1.4
- Python
Published by ryanhill1 about 3 years ago
qbraid - qBraid-SDK 0.1.3
Release 0.1.3 (Jul 11, 2022)
Summary
- Support the latest Cirq version (0.15.0)
- Support the latest Qiskit version (0.37.0)
- Added, updated, cleaned tests
- Removed various old / unused code
What's Changed
- ibmq armonk retired by @ryanhill1 in https://github.com/qBraid/qBraid/pull/73
- Rh1 dev by @ryanhill1 in https://github.com/qBraid/qBraid/pull/74
- testing updates by @ryanhill1 in https://github.com/qBraid/qBraid/pull/75
Full Changelog: https://github.com/qBraid/qBraid/compare/v0.1.2...v0.1.3
- Python
Published by ryanhill1 over 3 years ago
qbraid - qBraid-SDK 0.1.2
Release 0.1.2 (Jun 30, 2022)
Summary
First production-ready / official release of the qBraid-SDK.
This release is the result of key contributions from @kanavsetia, @erikweis, @rryoung98, @ryanhill1
- Python
Published by ryanhill1 over 3 years ago