  Deterministic port-based teleportation (dPBT) protocol is a scheme where a
quantum state is guaranteed to be transferred to another system without unitary
correction. We characterize the best achievable performance of the dPBT when
both the resource state and the measurement is optimized. Surprisingly, the
best possible fidelity for an arbitrary number of ports and dimension of the
teleported state is given by the largest eigenvalue of a particular matrix --
Teleportation Matrix. It encodes the relationship between a certain set of
Young diagrams and emerges as the the optimal solution to the relevant
semidefinite program.
