Click or drag to resize
KetDecohere Method
Applies a function to each Qubit in the state vector, returning the list of qubit IDs for which the function returned true. This method is usually used to apply noise to the state.

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
member Decohere : 
        decohere : FSharpFunc<Qubit, bool> -> FSharpList<int> 

Parameters

decohere
Type: Microsoft.FSharp.CoreFSharpFuncQubit, Boolean
The function to apply to each qubit. This function is allowed to modify the state of the qubit.

Return Value

Type: FSharpListInt32
The list of qubits where the function returned true
See Also