Fit Historic Series (log-linear)
fit_historic_seriesFit a log-linear trend (ln(value) = slope * year + intercept) to one historic series — fidelity or qubit-count — for one hardware type. An atomic primitive for "when might hardware reach X?" questions; with targetValue it returns the year the fit reaches that value. residualStdDev is the BIASED (maximum-likelihood) root-mean-square (RMS) — divides by n, not (n - 2); on small series (n ≈ 3–5) the unbiased value is larger by √(n / (n - 2)).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"seriesType": "<seriesType>",
"hardwareType": "<hardwareType>"
},
"name": "fit_historic_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seriesType | Yes | Which historic series to fit: "fidelity" (2-qubit gate error rate) or "qubit-count" (physical qubits). | |
| targetValue | No | Optional. When supplied, the response includes yearAtTargetValue — the extrapolated year the fit crosses this value (error rate for fidelity series, qubit count for qubit-count series). Null if slope is flat. | |
| hardwareType | Yes | Hardware platform as used by get_historic_series. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| slope | Yes | ||
| formula | Yes | ||
| nPoints | Yes | ||
| intercept | Yes | ||
| yearRange | Yes | ||
| seriesType | Yes | ||
| hardwareType | Yes | ||
| residualStdDev | Yes | Biased (divide-by-n) RMS of the ln residuals. | |
| yearAtTargetValue | No | Present only when targetValue was supplied. | |
| halvingPeriodYears | Yes | Non-null iff slope < 0. | |
| doublingPeriodYears | Yes | Non-null iff slope > 0. |