Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (41 sloc) 1.7 KB
.. currentmodule:: qinfer

Testing Models

Introduction

.. todo::
    Move to a guide.

QInfer provides several premade models for quickly learning how to use the library, for making demonstrations, or to test new algorithms and approaches built on top of QInfer.

:class:`SimplePrecessionModel` - Model of a single qubit undergoing Larmor precession

.. autoclass:: SimplePrecessionModel
    :members:

:class:`UnknownT2Model` - Model of a single qubit undergoing Larmor precession with finite decoherence

.. autoclass:: UnknownT2Model
    :members:

:class:`NoisyCoinModel` - Classical coin flip model corrupted by a noisy process

.. autoclass:: NoisyCoinModel
    :members:

:class:`NDieModel`

.. autoclass:: NDieModel
    :members:

Custom Models

Writing custom models is standard practice for QInfer users. See :ref:`CustomModels`.

.. currentmodule:: qinfer.tests.base_test

:meth:`test_model` - Method to run suite of tests on a model instance

.. autofunction:: test_model