qiskit-documentation/docs/api/qiskit/0.31/ibmq_random.mdx

39 lines
2.2 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: random (v0.31)
description: API reference for qiskit.providers.ibmq.random in qiskit v0.31
in_page_toc_min_heading_level: 2
python_api_type: module
python_api_name: qiskit.providers.ibmq.random
---
<span id="module-qiskit.providers.ibmq.random" />
<span id="qiskit-providers-ibmq-random" />
<span id="random-number-services-qiskit-providers-ibmq-random" />
# Random Number Services
`qiskit.providers.ibmq.random`
Modules related to IBM Quantum Experience random number generator services.
<Admonition title="Caution" type="note">
This package is currently provided in beta form and heavy modifications to both functionality and API are likely to occur.
</Admonition>
The only service currently provided is the Cambridge Quantum Computing (CQC) extractor. To use this service, you need to first generate raw random bits and a set of parameters for the extractor. See [qiskit\_rng](https://github.com/qiskit-community/qiskit_rng) for more details.
<Admonition title="Note" type="note">
The CQC extractor service is not available to all accounts.
</Admonition>
## Classes
| | |
| ------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------- |
| [`IBMQRandomService`](qiskit.providers.ibmq.random.IBMQRandomService "qiskit.providers.ibmq.random.IBMQRandomService")(provider) | Random number services for an IBM Quantum Experience account provider. |
| [`CQCExtractor`](qiskit.providers.ibmq.random.CQCExtractor "qiskit.providers.ibmq.random.CQCExtractor")(name, provider, client, methods) | Class for interfacing with a CQC remote extractor. |
| [`CQCExtractorJob`](qiskit.providers.ibmq.random.CQCExtractorJob "qiskit.providers.ibmq.random.CQCExtractorJob")(job\_id, client\[, parameters]) | Representation of an asynchronous call to the CQC extractor. |