Skip to content

Commit

Permalink
Merge pull request #895 from Shivansh20128/843-chessboard-ref
Browse files Browse the repository at this point in the history
Fixed chessboard references
  • Loading branch information
vprusso authored Nov 16, 2024
2 parents c5d23d6 + ff27f70 commit 1ef875b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
15 changes: 15 additions & 0 deletions docs/refs.bib
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,21 @@ @article{Breuer_2006_Mixed
url={https://link.aps.org/doi/10.1103/PhysRevLett.97.080501}
}

@article{Bruß_2000_Construction,
title = {Construction of quantum states with bound entanglement},
author = {Bru\ss{}, Dagmar and Peres, Asher},
journal = {Phys. Rev. A},
volume = {61},
issue = {3},
pages = {030301},
numpages = {2},
year = {2000},
month = {Feb},
publisher = {American Physical Society},
doi = {10.1103/PhysRevA.61.030301},
url = {https://link.aps.org/doi/10.1103/PhysRevA.61.030301}
}

% Last name begins with C
@article{Cabello_2002_NParticle,
title={$N$-Particle $N$-Level Singlet States: Some Properties and Applications},
Expand Down
6 changes: 3 additions & 3 deletions toqito/states/chessboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@


def chessboard(mat_params: list[float], s_param: float = None, t_param: float = None) -> np.ndarray:
r"""Produce a chessboard state :cite:`Dur_2000_ThreeQubits`.
r"""Produce a chessboard state :cite:`Bruß_2000_Construction`.
Generates the chessboard state defined in :cite:`Dur_2000_ThreeQubits`. Note that, for certain choices of
Generates the chessboard state defined in :cite:`Bruß_2000_Construction`. Note that, for certain choices of
:code:`s_param` and :code:`t_param`, this state will not have positive partial transpose, and
thus may not be bound entangled.
Expand Down Expand Up @@ -46,7 +46,7 @@ def chessboard(mat_params: list[float], s_param: float = None, t_param: float =
:filter: docname in docnames
:param mat_params: Parameters of the chessboard state as defined in :cite:`Dur_2000_ThreeQubits`.
:param mat_params: Parameters of the chessboard state as defined in :cite:`Bruß_2000_Construction`.
:param s_param: Default is :code:`np.conj(mat_params[2]) / np.conj(mat_params[5])`.
:param t_param: Default is :code:`t_param = mat_params[0] * mat_params[3] / mat_params[4]`.
:return: A chessboard state.
Expand Down

0 comments on commit 1ef875b

Please sign in to comment.