Skip to content

Commit

Permalink
Possible example of using "theory" tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgranade committed Mar 30, 2017
1 parent ab90ed7 commit e480a9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/qinfer/tomography/distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

## IMPORTS ###################################################################

from qinfer._due import due, Doi
from qinfer import Distribution, SingleSampleMixin
from qinfer.tomography.bases import gell_mann_basis, tensor_product_basis

Expand Down Expand Up @@ -213,6 +214,7 @@ class BCSZChoiDistribution(DensityOperatorDistribution):
by the BCSZ prior [BCSZ09]_. The sampled states are normalized
as states (trace 1).
"""
@due.dcite(Doi("10.1016/j.physleta.2008.11.043"), tags=['theory'])
def __init__(self, basis, rank=None, enforce_tp=True):
if isinstance(basis, int):
basis = gell_mann_basis(basis)
Expand Down

0 comments on commit e480a9e

Please sign in to comment.