Skip to content

Grid state

Quantum grid states on \(\mathbb{C}^m \otimes \mathbb{C}^n\).

A quantum grid state identifies the vertices of an \(m \times n\) grid with the product basis \(\{|i, j\rangle\}\) of \(\mathbb{C}^m \otimes \mathbb{C}^n\), and turns a graph on those vertices into a mixed state: the uniform mixture of the pure states carried by its edges. It is a graph-theoretic route to bound entanglement — whether a choice of edges gives a separable, NPT or bound entangled state is a combinatorial property of the graph.

Definition

A vertex \((i, j)\) is identified with the basis state \(|i, j\rangle\). An edge joins two vertices and carries the normalized difference of their basis states:

\[ |e\rangle = \tfrac{1}{\sqrt 2}\,\big(|i, j\rangle - |k, l\rangle\big). \]

The grid state is the uniform mixture over an edge set \(E\):

\[ \rho = \frac{1}{|E|} \sum_{e \in E} |e\rangle\langle e| . \]

Not every graph gives a bound entangled state

grid_state is a general constructor. The cross-hatch edge set on a \(3 \times 3\) grid is bound entangled; a path on \(2 \times 3\) is not — the total dimension is 6, where every PPT state is separable.

References

grid_state

grid_state(m_n: tuple[int, int], *edges: tuple[tuple[int, int], tuple[int, int]]) -> np.ndarray

A quantum grid state: the uniform mixture of pure states over a set of graph edges.

Parameters:

Name Type Description Default
m_n tuple[int, int]

grid dimensions (m, n).

required
*edges tuple[tuple[int, int], tuple[int, int]]

each edge is a pair of vertices ((i, j), (k, l)).

()

Returns:

Type Description
ndarray

the grid state on C^m (x) C^n.

Examples:

Whether a grid state is bound entangled depends on the graph. The cross-hatch edge set on a 3x3 grid gives one (see c3_otimes_c3.cross_hatch):

>>> from toqito.matrix_props import is_density
>>> from toqito.state_props import is_ppt, is_separable
>>> state = grid_state(
...     (3, 3),
...     ((0, 0), (1, 2)),
...     ((1, 0), (2, 2)),
...     ((0, 1), (2, 0)),
...     ((0, 2), (2, 1)),
... )
>>> is_density(state)
True
>>> is_ppt(state, dim=[3, 3])
True
>>> sep, _ = is_separable(state, dim=[3, 3])
>>> sep
False

A path on a 2x3 grid does not: the total dimension is 6, where PPT already implies separable (Horodecki 1996).

>>> path = grid_state((2, 3), ((0, 0), (0, 1)), ((0, 1), (0, 2)), ((0, 0), (1, 0)))
>>> sep, _ = is_separable(path, dim=[2, 3])
>>> sep
True
Source code in src/bound_entangled/cm_otimes_cn/grid_state.py
def grid_state(m_n: tuple[int, int], *edges: tuple[tuple[int, int], tuple[int, int]]) -> np.ndarray:
    """A quantum grid state: the uniform mixture of pure states over a set of graph edges.

    Args:
        m_n: grid dimensions (m, n).
        *edges: each edge is a pair of vertices ((i, j), (k, l)).

    Returns:
        np.ndarray: the grid state on C^m (x) C^n.

    Examples:
        Whether a grid state is bound entangled depends on the graph.  The
        cross-hatch edge set on a 3x3 grid gives one (see
        `c3_otimes_c3.cross_hatch`):

        >>> from toqito.matrix_props import is_density
        >>> from toqito.state_props import is_ppt, is_separable
        >>> state = grid_state(
        ...     (3, 3),
        ...     ((0, 0), (1, 2)),
        ...     ((1, 0), (2, 2)),
        ...     ((0, 1), (2, 0)),
        ...     ((0, 2), (2, 1)),
        ... )
        >>> is_density(state)
        True
        >>> is_ppt(state, dim=[3, 3])
        True
        >>> sep, _ = is_separable(state, dim=[3, 3])
        >>> sep
        False

        A path on a 2x3 grid does not: the total dimension is 6, where PPT
        already implies separable (Horodecki 1996).

        >>> path = grid_state((2, 3), ((0, 0), (0, 1)), ((0, 1), (0, 2)), ((0, 0), (1, 0)))
        >>> sep, _ = is_separable(path, dim=[2, 3])
        >>> sep
        True
    """
    m, n = m_n
    ret = np.zeros((m * n, m * n))
    for ij, kl in edges:
        gc = grid_component(m_n, ij, kl)
        ret += ketbra(gc)
    ret /= len(edges)
    return ret