ApplyIfElseRC işlemi

Uyarı

Bu belge, Modern QDK ile değiştirilen Klasik QDK'yi ifade eder.

Lütfen Modern QDK için API belgelerine bakın https://aka.ms/qdk.api .

Ad Alanı: Microsoft.Quantum.ClassicalControl

Paket: Microsoft.Quantum.QSharp.Foundation

operation ApplyIfElseRC<'T, 'U> (measurementResult : Result, (onResultZeroOp : ('T => Unit is Ctl), zeroArg : 'T), (onResultOneOp : ('U => Unit is Ctl), oneArg : 'U)) : Unit is Ctl

Giriş

measurementResult : Sonuç

onResultZeroOp : 'T =>Unit is Ctl

zeroArg: 'T

onResultOneOp: 'U =>Unit is Ctl

oneArg : 'U

Çıkış: Birim

Tür Parametreleri

'T

'U