Std.ResourceEstimation
Std.ResourceEstimation 命名空間包含下列專案:
名字 | 描述 |
---|---|
AccountForEstimates | 考慮未實作作業的資源估計,這是個別取得的。 只有在使用資源估算器執行目標時,才能使用此作業。 |
AuxQubitCount | 傳回可傳遞至 AccountForEstimates 作業的 Tuple,以指定輔助量子位的數目等於 amount 。 |
BeginEstimateCaching | 通知資源估算器代碼段的開始,以便完成預估快取。 只有在使用資源估算器執行目標時,才能使用此函式。 |
BeginRepeatEstimates | 指示資源估算器假設從此作業呼叫到呼叫 EndRepeatEstimates 的資源會計入 count 次,而不需要執行多次的程序代碼。 對 BeginRepeatEstimates 和 EndRepeatEstimates 的呼叫可以是巢狀的。 協助程式作業 RepeatEstimates 允許在 within 區塊中呼叫這兩個函式。 |
CczCount | 傳回可傳遞至 AccountForEstimates 作業的 Tuple,以指定 CCZ 閘道的數目等於 amount 。 |
EndEstimateCaching | 指示資源估算器停止估計快取,因為考慮中的代碼段已結束。 只有在使用資源估算器執行目標時,才能使用此函式。 |
EndRepeatEstimates | 要 BeginRepeatEstimates 的隨附作業。 |
MeasurementCount | 傳回可傳遞至 AccountForEstimates 作業的 Tuple,指定度量數位等於 amount 。 |
PSSPCLayout | 將函式傳回的值傳遞至 AccountForEstimates 作業,以表示平行合成循序 Pauli 計算 (PSSPC) 配置。 如需詳細資訊,請參閱 https://arxiv.org/pdf/2211.07629.pdf。 |
RepeatEstimates | 指示資源估算器假設從此作業呼叫到呼叫 Adjoint RepeatEstimates 的資源會計入 count 次,而不需要執行多次的程序代碼。 |
RotationCount | 傳回可傳遞至 AccountForEstimates 作業的 Tuple,以指定輪替數目等於 amount 。 |
RotationDepth | 傳回可傳遞至 AccountForEstimates 作業的 Tuple,指定旋轉深度等於 amount 。 |
SingleVariant | 用來指定 BeginEstimateCaching 函式中只有一個執行變體 |
TCount | 傳回可傳遞至 AccountForEstimates 作業的 Tuple,以指定 T 閘道的數目等於 amount 。 |