Click or drag to resize
Tests__Entangle2 Method
Runs a simple gate sequence that entangles all the qubits in the state vector. The sequence is run three different ways to demonstrate the difference in timings.

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
static member __Entangle2 : 
        entSiz : int -> unit 

Parameters

entSiz
Type: SystemInt32
The number of qubits desired in the state vector.
Remarks
This test executes the same gate sequence in three different ways:
  • As a simple sequence of gates. This is essentially the same as the __Entangle1 sample.
  • As a compiled circuit.
  • As a compiled circuit that has been optimized by calling GrowGates.
See Also