  Recently, the negatively charged nitrogen-vacancy (NV) center has emerged as
a robust and versatile quantum sensor in pressurized environments. There are
two popular ways to implement NV sensing in a diamond anvil cell (DAC), which
is a conventional workhorse in the high-pressure community: create implanted NV
centers (INVs) at the diamond anvil tip or immerse NV-enriched nano-diamonds
(NDs) in the pressure medium. Nonetheless, there are limited studies on
comparing the local stress environments experienced by these sensor types as
well as their performances as pressure gauges. In this work, by probing the NV
energy levels with the optically detected magnetic resonance (ODMR) method, we
experimentally reveal a dramatic difference in the partially reconstructed
stress tensors of INVs and NDs incorporated in the same DAC. Our measurement
results agree with computational simulations, concluding that INVs perceive a
more non-hydrostatic environment dominated by a uniaxial stress along the DAC
axis. This provides insights on the suitable choice of NV sensors for specific
purposes and the stress distribution in a DAC. We further propose some possible
methods, such as using NDs and nanopillars, to extend the maximum working
pressure of quantum sensing based on ODMR spectroscopy, since the maximum
working pressure could be restricted by non-hydrostaticity of the pressure
environment. Moreover, we explore more sensing applications of the NV center by
studying how pressure modifies different aspects of the NV system. We perform a
photoluminescence study using both INVs and NDs to determine the pressure
dependence of the zero-phonon line, which helps developing an all-optical
pressure sensing protocol with the NV center. We also characterize the
spin-lattice relaxation ($T_1$) time of INVs under pressure to lay a foundation
for robust pulsed measurements with NV centers in pressurized environments.
