The Language-Integrated Quantum Operations (LIQUi|>) Simulator
The Language-Integrated Quantum Operations (LIQUi|>) Simulator
Microsoft.Research.Liquid
Ket Class
Ket Methods
Add Method
Add Method (Bit)
Add Method (CVec)
Add Method (Int32, Bit)
Ket
Add Method (CVec)
Adds a new qubit to the state with a complex state vector. The new qubit is unentangled and has the provided state.
Namespace:
Microsoft.Research.Liquid
Assembly:
Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
Copy
member
Add
:
cv
:
CVec
->
Qubit
Parameters
cv
Type:
Microsoft.Research.Liquid
CVec
The state of the added qubit.
Return Value
Type:
Qubit
The new Qubit
See Also
Reference
Ket Class
Add Overload
Microsoft.Research.Liquid Namespace
Copyright (c) 2015, 2016 Microsoft Corporation (all rights reserved)