Click or drag to resize
TestsRenderTest Method
Renders and dumps test circuits in a variety of formats and detail levels.

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
static member RenderTest : 
        name : string * 
        circ : Circuit * 
        ket : Ket -> unit 

Parameters

name
Type: SystemString
The base name for the output files.
circ
Type: Microsoft.Research.LiquidCircuit
The Circuit to render.
ket
Type: Microsoft.Research.LiquidKet
The state vector for the circuit.
Remarks
Three versions of the circuit will be dumped to the log file:
  • The base circuit.
  • The circuit aggressively folded to maximize parallelism.
  • The circuit with gates grown to a maximum of 11 inputs, and then folded.
Four pairs of graphics files will be created. For each version, both an SVG version, with a .htm extension, and a Tik-Z version, with a .tex, will be created.
  • The base circuit.
  • The circuit normally folded to use "easy" parallelism.
  • The circuit aggressively folded to maximize parallelism.
  • The circuit with gates grown to a maximum of 11 inputs, and then folded.
See Also