QrStatevectorSampler module
- class QrStatevectorSampler
The QrStatevectorSampler class based on the StatevectorSampler.
- QrStatevectorSampler(default_shots, seed)
- Args:
- default_shots: The default shots for the sampler if not specified during run.seed: Not used.
- run(self, pubs, shots: int | None = None)
- Args:
- pubs: The pubs to be executed.shots: number of shots for the pubs
- Returns:
- PrimitiveJob: The primitive job object containing the array of PrimitiveResult of SamplerPubResult.