Skip to content

Unitary Hack

Pre-release
Pre-release
Compare
Choose a tag to compare
@pedrorrivero pedrorrivero released this 19 May 22:51
· 102 commits to master since this release

DESCRIPTION

A major architecture redesign introducing QuantumBitGenerator, QuantumPlatform, and QuantumProtocol. This allows to have a variety of possible quantum platforms (e.g. Qiskit, Cirq, Q#), as well as cross-compatible QRNG protocols along with a classical entropy verification suite that can be used to decorate any base quantum protocol.

Eventually these changes will deprecate the original QiskitBitGenerator approach.

This pre-release was put together for unitaryHACK 2021.

CHANGELOG

Refactor

  • ValidationDecorator: remove validation_strategy setter
  • platforms: extract max_bits_per_request from QuantumBackend
  • QuantumBitGenerator: introduce BitCache interface

Feat

  • QuantumBitGenerator: add max_bits_per_request attribute
  • QuantumBitGenerator: add bitcache attribute
  • errors: add raise_deprecation_warning

Fix

  • platforms: update QuantumPlatform fetch_random_bits signature