Skip to content
Agentmart
Submit a tool

qubitclient-scope

Quantum experiment NUMERICAL curve fitting and parameter extraction.

Skill by yaqiangsun

IndexedMIT★ 3
Write a review

Chalk Labs

Need help deploying qubitclient-scope?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/yaqiangsun-qubitclient-scope

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Quantum experiment NUMERICAL curve fitting and parameter extraction. Support for (1) S21 peak detection (single/multi), (2) Optimal π-pulse calibration, (3) Rabi oscillation analysis, (4) T1/T2 relaxation time fitting, (5) DRAG pulse optimization, (6) Power shift characterization, (7) Ramsey fringe analysis, (8) Single-shot readout fidelity, (9) 2D spectrum analysis, (10) Spin Echo T2 fitting, (11) Randomized Benchmarking, (12) XYZ Timing calibration, (13) 2D T1 fitting, (14) Optimal readout frequency, (15) Delta experiment. Provides unified API for curve fitting, parameter extraction, and batch processing with matplotlib/plotly visualization support.

Use cases: backend, data

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/qubitclient-scope

What's inside

Skill name
qubitclient-scope
Description
Quantum experiment NUMERICAL curve fitting and parameter extraction. Support for (1) S21 peak detection (single/multi), (2) Optimal π-pulse calibration, (3) Rabi oscillation analysis, (4) T1/T2 relaxation time fitting, (5) DRAG pulse optimization, (6) Power shift characterization, (7) Ramsey fringe analysis, (8) Single-shot readout fidelity, (9) 2D spectrum analysis, (10) Spin Echo T2 fitting, (11) Randomized Benchmarking, (12) XYZ Timing calibration, (13) 2D T1 fitting, (14) Optimal readout frequency, (15) Delta experiment. Provides unified API for curve fitting, parameter extraction, and batch processing with matplotlib/plotly visualization support.
License
MIT
Instructions
974 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • body: 974 lines (spec recommends under 500)

Files (1)

  • SKILL.md

SKILL.md (first lines)

## Installation

This skill depends on the `qubitclient` package. **Install it before running any analysis** 

```bash
pip install qubitclient
```


## Overview

Scope is a traditional numerical curve fitting module for quantum experiment analysis. It provides comprehensive parameter extraction tasks including peak detection, relaxation time fitting (T1/T2), oscillation analysis (Rabi, Ramsey), pulse optimization (DRAG), and 2D spectrum analysis. Unlike neural network-based approaches, Scope uses classical fitting algorithms for interpretable results.

## API Reference

### Client Initialization

```python
# Scope tasks (curve fitting & analysis)
from qubitclient import QubitScopeClient, TaskName
client = QubitScopeClient()
```

### Task Names

#### Scope Tasks (TaskName)
| TaskName | Description |
|----------|-------------|
| `S21PEAK` | Single peak detection with confidence score |
| `S21PEAKMULTI` | Multi-peak detection across full frequency range |
| `OPTPIPULSE` | Optimal π-pulse calculation |
| `RABICOS` | Rabi oscillation cosine first peak detection |
| `RAMSEY` | Ramsey fringe decay oscillation fitting |
| `S21VSFLUX` | S21 vs Flux analysis |
| `SINGLESHOT` | Single-shot readout analysis |
| `SPECTRUM` | Frequency spectrum analysis (AMPD algorithm) |
| `T1FIT` | T1 relaxation time exponential fitting |
| `T2FIT` | T2 coherence time fitting (Gaussian + exponential decay + cosine oscillation) |
| `SPINECHO` | Spin Echo T2 relaxation time fitting |
| `SPECTRUM2D` | 2D spectrum curve segmentation |
| `POWERSHIFT` | Power shift curve analysis |
| `DRAG` | DRAG anti-crossing point analysis |
| `RB` | Randomized benchmarking fidelity test |
| `DELTA` | Delta optimization experiment |
| `T12DFIT` | 2D T1 relaxation time fitting |
| `TIMINGXYZ` | XYZ Timing calibration analysis |
| `OPTREADFREQ` | Optimal readout frequency selection |

### Data Input Formats

The input data should be a dictionary or list of dictionaries with the following structure:

```python
dict_list = [{
    "image": {
        "Q0": [x_data, y_data],  # or [x_data, y_data, z_data] for 2D
        "Q1": [x_data, y_data],
    }
} ...]  # One or more data items
```

**Note:** Multiple data items are supported - pass a list of dictionaries. The output `results` list has one entry per input item, in the same order.

### Task-Specific Formats

#### S21PEAK / S21PEAKMULTI

**Input:**
```python
{
    "image": {
        "Q0": [x_array, amp_array, phi_array],  # (freq, amplitude, phase)
        "Q1": [x_array, amp_array, phi_array],
    },
}
```
- `x_array`: 1D frequency array, shape (A,)
- `amp_array`: 1D amplitude array (magnitude of complex S21), shape (A,)
- `phi_array`: 1D phase array (unwrapped, detrended), shape (A,)

**Output:**
```json
{
  "type": "s21peak",
  "results": [{
    "peaks": [[int, ...], [int, ...]],              // Peak indices per qubit
    "confs": [[float, ...], [float, ...]],          // Confidence scores per peak
    "freqs_list": [[float, ...], [float, ...]],     // Peak frequencies per qubit
    "status": "success" | "failed"
  }]
}
```

---

#### OPTPIPULSE

**Input:**
```python
{
    "image": {
        "Q0": [waveforms_array, x_array],  // (2D waveform data, 1D time axis)
        "Q1": [waveforms_array, x_array],
    }
}
```
- `waveforms_array`: 2D array of shape (n_waveforms, n_points)
- `x_array`: 1D array of time values

Supported data keys: `population`, `iq_avg`, `iq`

**Output:**
```json
{
  "type": "optpipulse",
  "results": [{
    "params": [[float, ...], [float, ...]],   // Co-peak time positions per qubit
    "confs": [[float, ...], [float, ...]],    // Confidence scores per peak
    "status": "success" | "failed"

From yaqiangsun/QubitClient, MIT.

Signals

Stars
3
Forks
3
Open issues
0
Last commit (this folder)
Jul 13, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from yaqiangsun

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get qubitclient-scope running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying qubitclient-scope?

CallGet help
Cite this page

qubitclient-scope skill. Agent Mart. https://agentmart.dev/skills/yaqiangsun-qubitclient-scope (last updated 2026-10-24)