Click or drag to resize
Tests Class
A collection of sample Liquid simulations and tests, plus some utility routines to make it easier to write new samples.
Inheritance Hierarchy
SystemObject
  Microsoft.Research.LiquidTests

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Tests =  class end

The Tests type exposes the following members.

Methods
  NameDescription
Public methodStatic member__Big
Runs an entanglement test for state vectors from 16 to 22 qubits in size.
Public methodStatic member__Chem
Runs a simple quantum chemistry simulation. This is the same as the __ChemFull sample, with common values for the detailed parameters: test 0, 32 Trotter steps, first-order Trotter, 28 bits of accuracy, and no additional options. See the Users Manual for more information.
Public methodStatic member__ChemFull
Runs a quantum chemistry simulation. See the Users Manual for more information.
Public methodStatic member__Correct
Test various permutations for correctness using teleport
Public methodStatic member__EIGS
Validates that LAPACK is properly installed.
Public methodStatic member__Entangle1
Runs a simple gate sequence that entangles all the qubits in the state vector.
Public methodStatic member__Entangle2
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.
Public methodStatic member__Entangles
Runs 100 entanglement tests on 16 qubits to show the statistics on the bits measured.
Public methodStatic member__EntEnt
Demonstrates a couple of simple entanglement entropy calculations.
Public methodStatic member__EPR
Renders a small EPR circuit that entangles two qubits.
Public methodStatic member__Ferro
Simulates a ferromagnetic chain using a first-quantized Hamiltonian.
Public methodStatic member__JointCNOT
Demonstrates and tests various ways of implementing CNOT from joint measurements and single-qubit Clifford gates.
Public methodStatic member__Kraus
Show how to add noise to Teleport with Kraus operators
Public methodStatic member__Noise1
Demonstrates the use of a complex noise model with error correction. See the Users Manual for more information.
Public methodStatic member__NoiseAmp
Demonstrates a complex noise model. See the Users Manual for more information.
Public methodStatic member__QECC
Demonstrates some examples of error correction and stabilizer simulation. See the Users Manual for details.
Public methodStatic member__QFTbench
Benchmarks the Quantum Fourier Transform at the heart of the Shor algorithm.
Public methodStatic member__QLSA
Demonstrates the Quantum Linear Algebra algorithm from Harrow, Hassidim, and Lloyd. See the Users Manual for more information.
Public methodStatic member__QuAM
Demonstrates the Quantum Associative Memory algorithm from Ventura and Martinez. See the Users Manual for more information.
Public methodStatic member__QWalk
Demonstrates the Quantum PageRank algorithm from Paparo and Martin-Delgado. See the Users Manual for more information.
Public methodStatic member__Ramsey33
Solves for the (3,3) Ramsey number. See this paper for details.
Public methodStatic member__SG
Simulates a spin glass using a first-quantized Hamiltonian.
Public methodStatic member__Shor
Runs the classic Shor factoring algorithm.
Public methodStatic member__Steane7
Validates that the Steane 7 code is correct. See Steane7.Test1 for more details.
Public methodStatic member__Teleport
Renders and runs the classic quantum teleportation algorithm.
Public methodStatic member__TSP
Solves the traveling salesman problem.
Public methodStatic memberRenderTest
Renders and dumps test circuits in a variety of formats and detail levels.
Top
See Also