Qubit coherence and gate fidelity calculator
qubit_coherenceCalculate single-qubit average fidelity under Markovian amplitude/phase damping using Nielsen (2002). Accept T1, T2 or Tphi and gate time; checks T2 <= 2T1 and returns pure dephasing, error per gate and an independent-error depth proxy, not a circuit-success guarantee.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "qubit_coherence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Whether t2_us denotes T2 or Tphi; default t2. | |
| t1_us | No | Relaxation T1 (microseconds); default 100. | |
| t2_us | No | T2 or Tphi (microseconds); default 100. | |
| gate_ns | No | Gate time (ns); default 20. | |
| success | No | Target success proxy P (0 to 1); default 0.99. |