Deprecations#
cosmiq follows semantic versioning. Before 1.0, a minor release may change the API, but never without warning:
Deprecate first. The name is marked deprecated (it warns with
cq.CosmiqDeprecationWarning), listed inapi/deprecated.txt, and adeprecationsrelease note says what to use instead.Wait at least one minor release.
Then remove it, with an
upgraderelease note.
CI enforces this: a change that would break users’ code fails unless api/deprecated.txt shows
it was deprecated in an earlier release and its removal version has arrived. After 1.0,
removals happen only in major releases.
Deprecated in cosmiq#
Generated from api/deprecated.txt:
Nothing is deprecated in this release: api/deprecated.txt lists no name.
Deprecation notes#
The deprecations sections of the release notes:
0.1.0#
As on every PennyLane device,
shots=on thecosmiq.emulatorconstructor is accepted with PennyLane’s deprecation warning; give the QNode its shots (qml.set_shots).