Skip to main content
POST
Estimate Data Loading

Authorizations

HAIQU_API_KEY
string
query
required

Body

application/json

Define payload for estimating a data-loading job.

Attributes: dl_type: Data-loading mode. Only the two modes with resource models implemented are accepted. num_qubits: Target qubit count for the loaded state. parameters: Mode-specific parameters; only num_layers affects the estimate today.

dl_type
enum<string>
required

Data loading mode to estimate. Only DistributionLoading and VectorLoading have resource models; the other modes accepted by load_classical_data_with_data_loading cannot be estimated yet.

Available options:
DistributionLoading,
VectorLoading
num_qubits
integer
required

Target qubit count for the loaded state.

Required range: x >= 1
parameters
Parameters · object

Mode-specific parameters. Only num_layers currently affects the estimate.

Response

Successful Response

Represent a pre-submission time and cost estimate.

Attributes: estimated_time: Estimated wall-clock computation time in seconds. estimated_cost: Estimated cost in Haiqu credits. context: Summary of what the estimate covers and how to act on it.

estimated_time
number
required
estimated_cost
number
required
context
string
required