Preparing the catalog and filters…Katalog ve filtreler hazırlanıyor…
Başlangıç kodu
module ftqc_resource_estimate;
use std.qft2;
@estimate(code: "surface", distance: 7, target_error: 1e-3);
fn main() {
let q: QReg<3> = qreg[3];
qft2(q[0..1]);
T(q[2]);
CCNOT(q[0], q[1], q[2]);
Rz(q[0], PI / 8);
return 0;
}Beklenen çıktı
Output normal NISQ resource satirinda depth ve gate sayilarini gosterir
Output @estimate kaynakli bir FTQC estimate satiri da gosterir
FTQC karti code distance, logical qubit, physical qubit, T-count, T-depth, magic state ve runtime degerlerini raporlar
QASM/IR export inceleme icin estimate metadata'sini korur
Debug checklist
Starter code'u calistirin ve Output icinde FTQC estimate'i bulun
Circuit sekmesini acip QFT helper'in gate'lere acildigini dogrulayin
Distance degerini 7'den 9'a alip physical qubit tahminini karsilastirin
T veya CCNOT'u kaldirip T-count ve magic state degerlerinin neden degistigini aciklayin
NISQ gate count ile FTQC physical cost ayrimini tek cumleyle yazin
Genişletme görevi
Baska bir non-Clifford Rz acisi ekleyin ve T-count, T-depth, magic state ve physical qubit degerlerini karsilastirin.