Skip to content

"Sampler" class

Compare
Choose a tag to compare
@WrathfulSpatula WrathfulSpatula released this 03 Dec 12:28
· 4 commits to master since this release

Qiskit relies on the Aer Sampler class for circuit knitting. Unfortunately, this class hard-codes reliance on Aer, and the choice of simulator cannot be overridden. The simplest solution (as the relevant code is under Apache 2.0) is simply to duplicate the class with a hard-coded reliance on PyQrack.