We propose an operational quasiprobability function for qudits, enabling a
comparison between quantum and hidden-variable theories. We show that the
quasiprobability function becomes positive semidefinite if consecutive
measurement results are described by a hidden-variable model with locality and
noninvasive measurability assumed. Otherwise, it is negative valued. The
negativity depends on the observables to be measured as well as a given state,
as the quasiprobability function is operationally defined. We also propose a
marginal quasiprobability function and show that it plays the role of an
entanglement witness for two qudits. In addition, we discuss an optical
experiment of a polarization qubit to demonstrate its nonclassicality in terms
of the quasiprobability function.Comment: 10 pages, 4 figures, journal versio