toqito.states.breuer
- toqito.states.breuer(dim, lam)[source]
Produce a Breuer state [HPBreuer].
Gives a Breuer bound entangled state for two qudits of local dimension
dim, with thelamparameter describing the weight of the singlet component as described in [HPBreuer].This function was adapted from the QETLAB package.
Examples
We can generate a Breuer state of dimension \(4\) with weight \(0.1\). For any weight above \(0\), the state will be bound entangled, that is, it will satisfy the PPT criterion, but it will be entangled.
>>> from toqito.states import breuer >>> breuer(2, 0.1) [[ 0.3 0. -0. 0. ] [ 0. 0.2 0.1 0. ] [-0. 0.1 0.2 -0. ] [ 0. 0. -0. 0.3]]
References
- Raises:
ValueError – Dimension must be greater than or equal to 1.
- Parameters:
dim – Dimension of the Breuer state.
lam – The weight of the singlet component.
- Returns:
Breuer state of dimension
dimwith weightlam.