Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.24 KB

qtb_tests.md

File metadata and controls

32 lines (22 loc) · 1.24 KB

qtb_tests

Returns the list of all the available tests.

← Back to contents

Usage

  • tests = qtb_tests(dim) returns tests list for a dimension array dim

Data type: double

Dimension array.

Data type: structure array

Function output tests is a structure array describing all the available tests (see tests specification page).

For every test there is a unique codename tcode. The structure array test = tests.(tcode) describes the tests with the following fields:

  • test.code - test code
  • test.name - test name
  • test.seed - seed for the test random number generator
  • test.nsample(1,k) - k-th value of the total sample size used to test QT method
  • test.nexp - number of QT experiments for every value of sample size
  • test.rank - rank of the density matrices generated within the test
  • test.generator - generator of the random quantum states

Generator of the quantum state is a cell array which elements correspond to the input arguments of qtb_state.

Example: dm = qtb_state(dim, test.generator{:})