Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 1.7 KB

test_models.rst

File metadata and controls

60 lines (41 loc) · 1.7 KB

qinfer

Testing Models

Introduction

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.

SimplePrecessionModel - Model of a single qubit undergoing Larmor precession

SimplePrecessionModel

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

UnknownT2Model

NoisyCoinModel - Classical coin flip model corrupted by a noisy process

NoisyCoinModel

NDieModel

NDieModel

Custom Models

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

qinfer.tests.base_test

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

test_model