Tests Methods

Liquid Quantum Simulator

Tests Methods

The Tests type exposes the following members.

Methods
  Name Description
Public method Static member __Big
Runs an entanglement test for state vectors from 16 to 22 qubits in size.
Public method Static 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 method Static member __ChemFull
Runs a quantum chemistry simulation. See the Users Manual for more information.
Public method Static member __Correct
Test various permutations for correctness using teleport
Public method Static member __EIGS
Validates that LAPACK is properly installed.
Public method Static member __Entangle1
Runs a simple gate sequence that entangles all the qubits in the state vector.
Public method Static 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 method Static member __Entangles
Runs 100 entanglement tests on 16 qubits to show the statistics on the bits measured.
Public method Static member __EntEnt
Demonstrates a couple of simple entanglement entropy calculations.
Public method Static member __EPR
Renders a small EPR circuit that entangles two qubits.
Public method Static member __Ferro
Simulates a ferromagnetic chain using a first-quantized Hamiltonian.
Public method Static member __JointCNOT
Demonstrates and tests various ways of implementing CNOT from joint measurements and single-qubit Clifford gates.
Public method Static member __Kraus
Show how to add noise to Teleport with Kraus operators
Public method Static member __Noise1
Demonstrates the use of a complex noise model with error correction. See the Users Manual for more information.
Public method Static member __NoiseAmp
Demonstrates a complex noise model. See the Users Manual for more information.
Public method Static member __QECC
Demonstrates some examples of error correction and stabilizer simulation. See the Users Manual for details.
Public method Static member __QFTbench
Benchmarks the Quantum Fourier Transform at the heart of the Shor algorithm.
Public method Static member __QLSA
Demonstrates the Quantum Linear Algebra algorithm from Harrow, Hassidim, and Lloyd. See the Users Manual for more information.
Public method Static member __QuAM
Demonstrates the Quantum Associative Memory algorithm from Ventura and Martinez. See the Users Manual for more information.
Public method Static member __QWalk
Demonstrates the Quantum PageRank algorithm from Paparo and Martin-Delgado. See the Users Manual for more information.
Public method Static member __Ramsey33
Solves for the (3,3) Ramsey number. See this paper for details.
Public method Static member __SG
Simulates a spin glass using a first-quantized Hamiltonian.
Public method Static member __Shor
Runs the classic Shor factoring algorithm.
Public method Static member __Steane7
Validates that the Steane 7 code is correct. See Steane7.Test1 for more details.
Public method Static member __Teleport
Renders and runs the classic quantum teleportation algorithm.
Public method Static member __TSP
Solves the traveling salesman problem.
Public method Static member RenderTest
Renders and dumps test circuits in a variety of formats and detail levels.
Top
See Also