Ket.Add Method (Int32, Bit) |
Adds multiple qubits to the state, all with the same classical Bit value.
The new qubits are unentangled and have the provided state.
Note that the new qubits are not considered measured.
Namespace: Microsoft.Research.LiquidAssembly: Liquid1 (in Liquid1.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxmember Add :
cnt : int *
b : Bit -> FSharpList<Qubit>
Parameters
- cnt
- Type: System.Int32
The number of qubits to add. - b
- Type: Microsoft.Research.Liquid.Bit
The initial state of the added qubits.
Return Value
Type:
FSharpList<Qubit>The new Qubits
See Also