job as
data_loading_gate variable.
fidelity indicates the quality of the distribution approximation on ideal QPU.
Here, user had to define:
name:an identifier for the circuit, which can be used to retrieve it later.distribution_name:the name of the statistical distribution fromscipy.stats.interval_start and interval_end:define the beginning and end of a finite positive interval over which the distribution will be discretized and loaded into the quantum state.num_qubits:the number of qubits, which defines the dimensionality of the quantum state. The state will be prepared on a grid of points.
loc(default: ) → The location/mean of the distribution.scale(default: ) → Scale or spread, often linked to variance.shape parameters→ Distribution-specific extra parameters. Check SciPy docs for details.
num_layers(default: ) → Number of resulting circuit layers. More layers = better approximation of data or distribution, more gates.truncation_cutoff(default:1e-6) → A threshold for cutting off low-entanglement gates. Set toNoneor0for no truncation (full entanglement retained).
Distribution Loading Specifications
| Parameter | Details |
|---|---|
| Number of qubits | Up to 1000 qubits |
| Number of distributions | 107 different classes of distributions are supported. Check SciPy docs for details. |
| Runtime | 1–15 seconds |
| Runtime scaling | Linear scaling with number of qubits |
| Circuit size (gates count) | O(n), n = number of qubits |
| Circuit depth | O(n/2), n = number of qubits |
| Circuit connectivity | Linear |
| Other circuit properties | - No mid-circuit measurements - Only CNOT and single-qubit rotation gates - No ancillary qubits - No post-selection required in state preparation |
| Returned metrics | Quantum state fidelity is returned for the ideal state prepared by the circuit |