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