선정목록으로
Digital Twin Simulations Toolbox of the Nitrogen‐Vacancy Center in Diamond
필름·전자재료 · (18) VENT(방수통기 부품)
기본 정보
- 저자
- DOI
- 10.1002/qute.202500691
- 저널
- Advanced Quantum Technologies
- 발행년도
- 2025
- 발행기관
- Wiley
- 피인용수
- 1
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1002/qute.202500691
- 토픽
- Graphene research and applications
- OpenAlex ID
- W4416862393
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (18) VENT(방수통기 부품)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > VENT(방수통기 부품)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
ABSTRACT The nitrogen‐vacancy (NV) center in diamond is a crucial platform for quantum technologies, where its precise numerical modeling is indispensable for the continued advancement of the field. We present here a Python library for simulating the NV spin dynamics under general experimental conditions, i.e. a digital twin. Our library accounts for electromagnetic pulses and other environmental inputs, which are used to solve the system's time evolution, resulting in a physical output in the form of a quantum observable given by fluorescence. The simulation framework is based on a non‐perturbative time‐dependent Hamiltonian model, where the states initialization and readout are postulated from the interaction with optical fields. By eliminating oversimplifications such as the adoption of rotating frames for the microwave and radio frequency fields, our simulations reveal subtle dynamics emerging from realistic pulse constraints. The software is illustrated with three examples and validated by comparing the simulations with experimental reports, relevant to the fields of quantum computing (conditional logic gates), sensing (dynamical decoupling sequences with coupled spins) and networks (state teleportation). Overall, this digital twin delivers a robust numerical modeling of the NV spin dynamics, with simple and accessible usability, which can be used for a wide range of applications.
본문 113,767자
본문 펼치기
Digital Twin Simulations Toolbox of the Nitrogen-Vacancy Center in Diamond
Lucas Tsunaki, <sup>1</sup> Anmol Singh, <sup>1</sup> Sergei Trofimov, <sup>1</sup> and Boris Naydenov 1, 2, _∗_
1 _Department_ _Spins_ _in_ _Energy_ _Conversion_ _and_ _Quantum_ _Information_ _Science_ _(ASPIN),_
_Helmholtz-Zentrum_ _Berlin_ _f¨ur_ _Materialien_ _und_ _Energie_ _GmbH,_ _Hahn-Meitner-Platz_ _1,_ _14109_ _Berlin,_ _Germany_
2 _Department_ _of_ _Physics,_ _Freie_ _Universit¨at_ _Berlin,_ _Arnimallee_ _14,_ _14195_ _Berlin,_ _Germany_
(Dated: October 15, 2025)
The nitrogen-vacancy (NV) center in diamond is a crucial platform for quantum technologies,
where its precise numerical modeling is indispensable for the continued advancement of the field.
We present here a Python library for simulating the NV spin dynamics under general experimental
conditions, i.e. a digital twin. Our library accounts for electromagnetic pulses and other environmental inputs, which are used to solve the system’s time evolution, resulting in a physical output
in the form of a quantum observable given by fluorescence. The simulation framework is based
on a non-perturbative time-dependent Hamiltonian model, where the states initialization and readout are postulated from the interaction with optical fields. By eliminating oversimplifications such
as the adoption of rotating frames for the microwave and radio frequency fields, our simulations
reveal subtle dynamics emerging from realistic pulse constraints. The software is illustrated with
three examples and validated by comparing the simulations with experimental reports, relevant to
the fields of quantum computing (conditional logic gates), sensing (dynamical decoupling sequences
with coupled spins) and networks (state teleportation). Overall, this digital twin delivers a robust
numerical modeling of the NV spin dynamics, with simple and accessible usability, which can be
used for a wide range of applications.
I. INTRODUCTION
The advancement of the second quantum revolution
relies on precise and faithful modeling of quantum components for scalable architectures. These models must
be able to develop and validate the capabilities of the
quantum devices in a clear, consistent, and standardized
way. A quantum component can be understood in terms
of an element which receives a series of physical inputs
and produces a series of outputs, governed by the fundamental laws of quantum mechanics. Color center defects
in solids are a concrete example of such components and
thus have been a focal point in quantum technologies research [1, 2].
Color centers are impurities in the lattice of solid crystals, which strongly interact with optical fields and often possess magnetic spins described quantum mechanical operators. This way, three inputs can be defined for
a general color center, as represented in Fig. 1. First,
an optical input, which can be either modeled classically, as an oscillating electromagnetic field, or quantummechanically, as a photon Fock state. The second input is given by magnetic wave pulses that induce spin
level transitions [3], usually in the microwave (MW) and
radio frequency (RF) ranges. The third input includes
interactions with the environment, which influence the
dynamics of the system, such as temperature and external magnetic fields. Given these three inputs, quantum
mechanics governs the time evolution of the system resulting in a physical output. This output can take a form
of an expectation value of some observable operator, or
of a photon emission in the associated Fock space.
_∗_ [boris.naydenov@helmholtz-berlin.de](mailto:boris.naydenov@helmholtz-berlin.de)
Within these considerations, the framework for simulating color centers is rather broad, as each system has its
own specific attributes. This study then focuses on the
nitrogen-vacancy (NV) center in diamond [4, 5], where
the inputs and outputs are constrained to a more concrete simulation framework. Specifically, the NV system
enables us to phenomenologically model the interaction
with optical fields, by postulating an initial state pre
FIG. 1. Schematic representation of a color center digital
twin. Color centers are point defects in solids that strongly
interact with light and often possess a quantum-mechanical
spin. The color center simulations software receives a series
of physical inputs and generates an output, which is calculated numerically based on the time evolution of the system
under the system’s Hamiltonian. For the NV center in diamond, three inputs can be distinguished: optical (for initialization of spins), microwave and radio frequency pulses (for
spin control) and environmental (such as temperature and external magnetic field). The output of the NV component is
fluorescence, which can be related to a quantum-mechanical
observable.
Optical
MW-RF Pulses
Enviromental
N
S
Optical
Inputs Outputs
V C
N
pared via an optical pumping mechanism and defining
the output as the probability of occupying the bright spin
state, which corresponds to the measured spin-dependent
luminescence. The same does not apply to all color centers. For example, in the silicon vacancy (SiV) in diamond, light can be efficiently used for coherent control
of the spin [6]. Nonetheless, many aspects of the NV
digital twin developed here, such as the interaction with
MW and RF pulses, are common to other color centers
and quantum systems in general.
With this phenomenological approach for modeling the
interaction of the NV digital twin with optical fields, we
avoid simulating the intricate optical processes and significantly simplify the simulation framework by reducing
the number of experimental variables within the digital
twin. The latter is already fairly large considering the
MW-RF pulses and environmental inputs. Undoubtedly,
this approximative treatment neglects other interesting
physical phenomena related to such optical processes of
the NV system [7–10], which thus streamlines a future
road map towards a general purpose color center digital
twin.
Independent of the system, calculating an output for
an arbitrary given input is not always a straightforward
task [11], since exact analytical solutions are not usually obtainable. Perturbative approximations for MW
and RF fields, such as the adoptions of rotating frame
with rotating wave approximations (RWA) [12–14], can
be used to some extent to calculate the dynamics of quantum systems semi-analytically. However, these approximations restrict the operation conditions of the digital
twin inputs, by requiring weak driving regimes for the
RF-MW pulses input [15–17] and internal Hamiltonians
which need to commute with the rotating frame operators [14]. The adoption of rotating frames and RWA
can also overlook important physical phenomena, such as
phase accumulation of the spins during pulses with finite
length [18] and the appearance of ambiguous resonances
in multipulse quantum sensing [19].
Given the three distinct types of inputs, the most appropriate description of the NV digital twin is numerically solving its time evolution under the MW and RF
fields in the static laboratory frame, based on quantum
master equations [11]. For that, we use Quantum Color
Centers Analysis Toolbox (QuaCCAToo) [20], a Python
object-oriented library for modeling the NV, which also
allows users to simulate arbitrary quantum systems. The
digital twin is then able to operate with general environmental inputs, with external magnetic fields of arbitrary
intensities and orientations, and with temperatures in the
range from 5.6 K to 700 K.
We begin this work in Sec. II by discussing in detail
the physical and mathematical modeling of the NV digital twin. Based on that, in Sec. III, we provide three
applications of the NV simulations software based on previous experimental studies [13, 18, 19, 21, 22]. There we
showcase and exemplify the use of the software in applications ranging from quantum information processing, to
sensing and networks. We then conclude in Sec. IV giving an overview of the NV software component, with its
limitations and possible improvements towards a general
color center tool.
II. PHYSICAL AND MATHEMATICAL
PRINCIPLES
Diamond stands out as an exceptional host material
for color centers due to its unique combination of physical and chemical properties. First, the wide band-gap of
5.47 eV and the possibility to achieve low concentrations
of impurities provides unique optical and spin stability
for possible defects [23]. Furthermore, the strong carbon bonds of the lattice guarantee unmatched mechanical and chemical stability. This allows operating in large
ranges of pressure (from ultrahigh vacuum up to several
GPa [24]) and temperature (from few mK to above room
temperatures [25, 26]), while being compatible with most
chemical and biological systems [27–29].
Among the various color center defects in diamond [30],
the NV center is the most studied one. It consists of a
substitutional nitrogen atom adjacent to a vacancy in
the diamond lattice (see Fig. 1). The NV can exist in
different charge states [31], but the negatively charged
NV <sup>_−_</sup> state, simply referred to as NV here, is the most
relevant for quantum technologies. In this case, the extra valence electron of the nitrogen atom pairs with a
lattice electron, forming either a spin triplet ( _S_ = 1)
or singlet ( _S_ = 0) configuration. Both configurations
give rise to new electronic orbitals with ground and excited states within the band gap of the diamond host [32].
These states are denoted <sup>3</sup> E and <sup>3</sup> A2 for the triplet, and
1A1 and 1E for the singlet, as schematically shown in
Fig. 2 (a). At room temperature, only the sublevels of
the ground triplet state <sup>3</sup> A2 are equally populated and
thus actively used as the computational basis.
Given these basic considerations about NV centers,
this section is structured as follows. In Sec. II A, we
introduce the Hilbert space representation of the system and its internal time-independent Hamiltonian _H_ <sup>ˆ</sup> 0.
In Sec. II B, the optical initialization and readout are
discussed and modeled, postulating an initial state and
a quantum mechanical observable. In Secs. II C and
II D, we present the Hamiltonians describing the interactions with the external control field _H_ <sup>ˆ</sup> 1( _t_ ) and sensing
of spins or oscillating fields _H_ <sup>ˆ</sup> 2( _t_ ), respectively. Finally,
in Sec. II E, we discuss the time evolution dynamics of the
system using the Lindblad master equation [11] and the
numerical methods for solving the resulting differential
equations.
A. Internal Hamiltonian _H_ <sup>ˆ</sup> 0
The NV center has an intrinsic nuclear spin from the
nitrogen nucleus, which can be either _I_ <sup>_n_</sup> = 1 _/_ 2 for the
(a) (b)
Conduction Band
Zero-Field Zeeman Nuclear Terms
3A2
_0_
_-1_
_+1_
_0_
_+1_
_-1_
15N 14N
3E
3A2
_ms=±1_
_ms=0_
_ms=±1_
_ms=0_
MW
MW
_ms=±1_
_ms=+1_
_2?_ <sup>_e_</sup> _B0,z_
_mI=±1/2_
RF
1A1
Laser Excitation Fluorescence 1042 nm _ms=-1_
Laser Excitation Fluorescence
510-540 nm 637 nm
1E
1042 nm
1A1
_D_
_ms=-1_
_mI=∓1/2_
_S=1_ _S=0_
Valence Band
_mI=±1/2_
_ms=0_ _0_
_±1_
_0_
FIG. 2. (a) Optical pumping and readout mechanism of NV centers. The latter has triplet ( _S_ = 1) and singlet ( _S_ = 0)
states within the band gap of diamond. The ground triplet states ( <sup>3</sup> A2) can be driven from thermal equilibrium to the excited
triplet states ( <sup>3</sup> E) by a non-resonant green laser. From there, the NV can decay back to <sup>3</sup> A2 through the emission of red
fluorescence. Alternatively, it can undergo an intersystem crossing through the intermediate singlet states <sup>1</sup> A1 and <sup>1</sup> E, leading
to polarization of the _mS_ = 0 spin sublevel. The same optical pumping mechanism can be used to measure the _mS_ states
populations. (b) Energy level diagram of NV <sup>_−_</sup> . The dominant zero-field term splits the _mS_ = 0 and _mS_ = _±_ 1 states, where
the latter are further split by Zeeman interaction in the presence of an external magnetic field B 0. Resonant MW pulses can
drive coherent transitions between _mS_ = 0 _↔±_ 1. Depending on the nitrogen isotope, <sup>15</sup> N or <sup>14</sup> N, the levels are further split,
where transitions between _mI_ dependent on _mS_ can be achieved with resonant RF pulses.
15N isotope or _I_ _n_ = 1 for 14N, apart from the electron
spin. Regardless, the NV state is represented in the composite Hilbert space of the two spins: _HNV_ = _HS ⊗HI_ _n_ .
The center can further couple with other spins, as discussed in Sec. II D, which adds another sub-space to
the total Hilbert space. For other color centers or in
applications where the optical field is quantized, both
not treated here, the total space is further composed
with the photon Fock space of continuous wavelengths
_λ_ : _HNV_ _⊗F_ .
The ground triplet state <sup>3</sup> A2 can be modeled by a
Hamiltonian [33–35] using the electron and nitrogen nuclear spins operators _S_ <sup>ˆ</sup> and _I_ <sup>ˆ</sup> in terms of decreasing energy as
_y_
_z_ <sup>2</sup> <sup>_−_</sup> <sup>_γe_</sup> <sup>B</sup> <sup>0</sup> <sup>_·_</sup> <sup>ˆ</sup> <sup>S</sup> <sup>+</sup> <sup>_a_</sup> _∥_ <sup>_n_</sup>
_H_ ˆ0 = _D_ ˆ _Sz_ <sup>2</sup>
_∥_ <sup>_nS_</sup> <sup>ˆ</sup> <sup>_z_</sup> <sup>ˆ</sup> <sup>_I_</sup> _z_ <sup>_n_</sup>
_z_ <sup>_n_</sup> <sup>+</sup> <sup>_a_</sup> _⊥_ <sup>_n_</sup>
_⊥_
- _S_ ˆ _x_ ˆ _Ix_ <sup>_n_</sup>
_x_ <sup>_n_</sup> <sup>+</sup> <sup>_S_</sup> <sup>ˆ</sup> <sup>_yI_</sup> <sup>ˆ</sup> _y_ <sup>_n_</sup>
_−_ _γ_ <sup>_n_</sup> B 0 _·_ <sup>ˆ</sup> I <sup>_n_</sup> + _Q_ ( _I_ <sup>ˆ</sup> _z_ <sup>_n_</sup> <sup>)2</sup> <sup>_._</sup> (1)
polynomial equations. The first one being of 5 <sup>th</sup> order
with the temperature in range the from 5.6 K to 295 K,
as measured by X. D. Chen _et_ _al._ (2011) [37], and the
other one of 3 <sup>rd</sup> order in the temperature range of 295 K
to 700 K, as measured by D. M. Toyli _et_ _al._ (2012) [38].
The maximum temperature of operation is mostly limited by the optical initialization and readout mechanism,
as will be discussed in the following section.
The second term corresponds to the Zeeman interaction of the electron spin with the external field ( _γ_ <sup>_e_</sup> =
_−_ 28 _._ 025 GHz/T), further splitting the _mS_ = _±_ 1 levels.
At intense magnetic fields above _B_ GSLAC = 102 _._ 4 mT,
the ground state level anticrossing (GSLAC) [39, 40], the
Zeeman term dominates over the zero-field splitting and
the _mS_ = _−_ 1 state becomes less energetic than _mS_ = 0.
For magnetic fields that are not aligned with the NV
axis, this term also causes state mixing of the electronic
states [41]. The third and fourth terms represent the
parallel and perpendicular components of the hyperfine
interaction between the two spins, with _a_ <sup>_n_</sup> _∥_ <sup>=</sup> <sup>_−_</sup> <sup>2</sup> <sup>_._</sup> <sup>14 MHz</sup>
and _a_ <sup>_n_</sup> _⊥_ <sup>=</sup> <sup>_−_</sup> <sup>2</sup> <sup>_._</sup> <sup>70</sup> <sup>MHz</sup> <sup>for</sup> <sup>14N,</sup> <sup>_an_</sup> _∥_ <sup>=</sup> <sup>3</sup> <sup>_._</sup> <sup>03</sup> <sup>MHz</sup> <sup>and</sup>
_a_ <sup>_n_</sup> _⊥_ <sup>=</sup> <sup>3</sup> <sup>_._</sup> <sup>65</sup> <sup>MHz</sup> <sup>for</sup> <sup>15N</sup> <sup>[42].</sup> <sup>Analogous</sup> <sup>to</sup> <sup>the</sup> <sup>electron</sup>
Here, the _z_ -axis is taken along the NV symmetry axis and
B 0 is the external static magnetic field, being part of the
environmental inputs. We also consider the Hamiltonians in units of frequency through the text, or in other
words, the Planck constant is _h_ = 1. The first and
also the dominant term at _|_ B 0 _|_ _<_ 102 _._ 4 mT originates
from the dipolar spin-spin interaction between the two
unpaired electrons, resulting in a zero-field splitting between _mS_ = 0 and _mS_ = _±_ 1 of _D_ = 2 _._ 87 GHz at room
temperature. The value of _D_ changes slightly with temperature, as the dipolar interaction between the two electron spins depends on the lattice constant, which is temperature dependent [36–38]. To model the temperature
dependence of _D_, we use two different phenomenological
<sup>_n_</sup> _⊥_ <sup>=</sup> <sup>_−_</sup> <sup>2</sup> <sup>_._</sup> <sup>70</sup> <sup>MHz</sup> <sup>for</sup> <sup>14N,</sup> <sup>_an_</sup> _∥_
_a_ <sup>_n_</sup> _⊥_ <sup>=</sup> <sup>3</sup> <sup>_._</sup> <sup>65</sup> <sup>MHz</sup> <sup>for</sup> <sup>15N</sup> <sup>[42].</sup> <sup>Analogous</sup> <sup>to</sup> <sup>the</sup> <sup>electron</sup>
spin, the fifth term describes the Zeeman interaction of
the nuclear spin with B 0, with the gyromagnetic ratios
of _γ_ <sup>_n_</sup> = _−_ 4 _._ 316 MHz/T for <sup>15</sup> N and _γ_ <sup>_n_</sup> = 3 _._ 077 MHz/T
for <sup>14</sup> N. Lastly, the last term represents the quadrupole
interaction of the nuclear spin ( _Q_ = _−_ 5 _._ 01 MHz), only
present in the <sup>14</sup> N isotope. The complete energy level
structure of the <sup>3</sup> A2 state for both nitrogen isotopes
at magnetic fields smaller than _B_ GSLAC is shown in
Fig. 2 (b).
Additional terms are also present in the ground state
Hamiltonian when considering the effects from external
electric fields and lattice strain [4, 43]. The former interaction with the NV is particularly useful for electric field
sensing [44], while the lattice strain terms are relevant in
nanodiamonds, which are essential for nanoscale quantum sensing applications [27, 36]. Although these terms
are not yet implemented in QuaCCAToo yet, they can be
easily added to the predefined Hamiltonian by the user.
In many cases (Sec. III A), the nitrogen nuclear spin
terms can be neglected due to their magnitudes being
much smaller than the electron spin ones. However, these
terms are a fundamental part of the NV, serving as a basis
for other applications (Secs. III B and III C). Depending
on the goal of the application, it may be preferable to
have the <sup>15</sup> N or <sup>14</sup> N isotope [19]. The <sup>14</sup> N isotope has a
much larger natural abundance (99.6%) when compared
to <sup>15</sup> N (0.4%), but either one can be precisely selected
in purified chemical vapor deposition [45, 46] or ion implantation [46, 47] fabrication methods.
B. Optical Initialization and Readout
A requirement for quantum computing and other quantum technology applications is the ability to reliably initialize and readout quantum states [48]. An important
feature of NVs is the presence of a simple optical pumping
mechanism [9] capable of initializing the electronic spin,
in addition to providing a viable measurement method,
as represented in Fig. 2 (a). By applying a non-resonant
green laser of wavelengths ranging from 510 to 540 nm
(green solid arrow), the ground triplet states <sup>3</sup> A2 can be
driven to the excited triplet states <sup>3</sup> E in a spin-conserving
transition. From there, the NV can rapidly disperse energy to the diamond lattice, decaying back to the ground
triplet via the emission of red fluorescence (red solid arrow), while preserving its spin state _mS_ . This results in a
broad photoluminescence spectrum with a characteristic
zero-phonon line at 637 nm [49].
Alternatively, the excited NV can undergo a non-spinconserving decay with a photon emission of 1042 nm
through the singlet states, known as intersystem crossing (ISC). The excited states with _mS_ = _±_ 1 (black solid
arrow) are more likely to decay through this path than
_mS_ = 0 (black dashed arrow). Which in turn are more
probable to decay back to _mS_ = 0 (black solid arrow).
This way, after a few µs, the electron spin is polarized in
a pseudo-pure state due to the limited polarization efficiency, with a normalized population in the _mS_ = 0 level
of _n_ 0 typically greater than 0.6 [3, 21] and up to 0.9 [13].
This can be further increased to values above _n_ 0 _>_ 0 _._ 98
using the level anticrossing [10]. The exact polarization
of the populations can also be calculated from the rate
equations of the transitions [50].
The nitrogen nuclear spin, in contrast to the electron
spin, is typically in a thermal equilibrium mixed state
given by its Boltzmann distribution. This way, the initial
density matrix state of the <sup>15</sup> NV system in the Hilbert
space representation introduced in Sec. II A, for a given
population _n_ 0, is written as
where _|_ 0 _⟩≡|mS_ = 0 _⟩_ . For the <sup>14</sup> NV center, the same
considerations are still valid, but with a higher dimension density matrix. In applications where initialization
of the nuclear spin is required, the polarization of the
electron spin can be transferred to it through SWAP-like
operations [51] and dynamical nuclear polarization [52].
Apart from enabling initialization of the electron spin,
the same optical pumping mechanism can be used for
reading out the _mS_ populations. As the _mS_ = _±_ 1 states
decay more likely through the singlet states than _mS_ =
0, an increase in their populations results in a decrease
of the fluorescence intensity. This way, we define the
fluorescence observable operator simply as
_F_ ˆ _S_ = _|_ 0 _⟩⟨_ 0 _| ⊗_ 1ˆ _._ (4)
This observable is related to the _S_ <sup>ˆ</sup> _z_ operator, but not
strictly the same, because the fluorescence operator cannot be used to determine the difference between the
_mS_ = _±_ 1 states. The exact relation between the experimentally measured fluorescence and the expectation
value of the observable depends on the fundamental probability for the ISC [7, 8] and several other experimental
parameters, such as the photon collection efficiency, background counts, laser power and readout time. Rather
than simulating all of these effects, we choose a normalized observable and then we post-process the experimental data with the `ExpData` class from QuaCCAToo, which
is compatible with the data structure from the Qudi experimental control software [53].
The NV does not present a reliable direct readout
mechanism for the nuclear spin. However, the latter
can be measured with a single shot readout technique
_⊗_ <sup><u>1</u></sup>
_Z_
_ρ_ ˆ0 = <sup><u>1</u></sup>
2
1 _−_ _n_ 0 0 0
0 2 _n_ 0 0
0 0 1 _−_ _n_ 0
- _e_ <sup>_−βE_</sup> <sup>0</sup> 0
0 _e_ <sup>_−βE_</sup> <sup>1</sup>
_,_ (2)
where _Z_ = _e_ <sup>_−βE_</sup> <sup>0</sup> + _e_ <sup>_−βE_</sup> <sup>1</sup> is the partition function,
_β_ = 1 _/kBT_, and _kB_ is the Boltzmann constant. Here the
temperature _T_ appears as another environmental input
for the digital twin. _E_ 0 and _E_ 1 are the energy eigenvalues of the nitrogen nuclear spin at _mS_ = 0 calculated
from the Hamiltonian in Eq. 1. At room temperature
and moderate fields, the thermal energy is much larger
than the states-separation, _|E_ 1 _−_ _E_ 0 _|_ _≪_ _kBT_, and the
density matrix can be well-approximated by the identity matrix. Furthermore, an initial _mS_ = 0 population
smaller than 1 affects mostly the resulting contrast of the
the observable obtained after a protocol, while it slows
down numerical simulations by involving density matrices with more elements (Sec. II E). In most cases then,
the initial state can be well approximated by
_ρ_ ˆ0 <sup>_∼_</sup> = _|_ 0 _⟩⟨_ 0 _| ⊗_
1ˆ
2 <sup>_,_</sup> (3)
through repetitive conditional excitations of the electron
spin [54]. In addition, it is important to note that this optical initialization and readout mechanism is limited by
the non-radiative processes experienced by the NV [38],
which restricts the temperature range of operation of the
digital twin to values below 700 K.
In this work, the optical input and output of the NV
digital twin are not actually simulated, but instead impose postulates regarding the states initialization and
measurement observable. Therefore, the photon emission spectrum properties of the NV, such as the temperature dependent phonon mediated processes [55, 56], are
not reproduced within this model. Such photon emission
statistics of NVs can be simulated using other models [7]
that focus on the interaction of the NV center with optical fields based on first principle calculations [57]. This
interaction of the quantum mechanical spin with light,
characteristic to color centers, enables us to efficiently polarize and readout the spin state of single NV centers. A
remarkable improvement when compared to conventional
electron paramagnetic and nuclear magnetic resonances
(NMR), which require ensembles of spins for precise detection and usually rely on thermal polarization.
C. Control Field Hamiltonian _H_ <sup>ˆ</sup> 1( _t_ )
Another requirement of quantum technologies is the
ability to realize a universal set of quantum gates between the qubit states [48]. For some color centers with
small spectral diffusion, as the SiV [6], this can be easily
achieved with light. For NVs however, the energy difference between _mS_ states of the ground state triplet <sup>3</sup> A2
is in the MW frequency range. MW excitation is therefore the most straightforward method for having coherent
control of the electron spin. Similarly, transitions of the
nitrogen nuclear spin are achieved with RF pulses.
For a general time-dependent excitation field B 1( _t_ ),
the control Hamiltonian in the _HNV_ space is given by
sum of harmonic pulses, each with frequency _ω_ 0 _,k_, intensity _B_ 1 _,k_ and phase _ϕk_ . Each harmonic function is then
modulated by a rectangular pulse envelope defined as
rect( _t_ ) =
1 if 0 _≤_ _t <_ 1 _,_
0 otherwise _,_
with _tp,k_ being the pulse length and _t_ 0 _,k_ its initial position
in time. Under such harmonic pulses, Eq. 5 reduces to
_h_ ˆ1 _,k._
_H_ ˆ1( _t_ ) = _−_
_k_
cos( _ω_ 0 _,kt_ + _ϕk_ ) rect
- _<u>t −</u>_ _<u>t</u>_ <u>0</u> _<u>,k</u>_
_tp,k_
For convenience, we also define the time-independent operator
_√_
_h_ ˆ1 _,k_ _≡_ _ω_ 1 <sup>_e_</sup> _,k_
2 _S_ <sup>ˆ</sup> _x_ + _ω_ 1 <sup>_n_</sup> _,k_ <sup>2ˆ</sup> <sup>_Ix,_</sup> (7)
with the so called Rabi frequencies [3] _ω_ 1 <sup>_e_</sup>
_√_
1 <sup>_n_</sup> _,k_ <sup>=</sup> <sup>_γnB_</sup> <sup>1</sup> <sup>_,k/_</sup> <sup>2.</sup> <sup>The</sup>
_√_
1 <sup>_e_</sup> _,k_ <sup>=</sup> <sup>_γeB_</sup> <sup>1</sup> <sup>_,k/_</sup>
_H_ ˆ1( _t_ ) = _−_ B 1( _t_ ) _·_
- _γ_ <sup>_e_</sup> S <sup>ˆ</sup> + _γ_ <sup>_n_</sup> <sup>ˆ</sup> I <sup>_n_</sup> <sup>�</sup>
(5)
with the so called Rabi frequencies [3] _ω_ 1 <sup>_e_</sup> _,k_ <sup>=</sup> <sup>_γeB_</sup> <sup>1</sup> <sup>_,k/_</sup> 2
_√_
and _ω_ 1 <sup>_n_</sup> _,k_ <sup>=</sup> <sup>_γnB_</sup> <sup>1</sup> <sup>_,k/_</sup> <sup>2.</sup> <sup>The</sup> 2 and 2 normalization fac
tors in each Rabi frequency come from the relation between the spin operators S <sup>ˆ</sup> and <sup>ˆ</sup> I with the Pauli matrices
_σ_ ˆ for dimensions 3 and 2 respectively.
By taking the pulse frequency of the excitation field
_ω_ 0 _,k_ in resonance with one the electron transition [blue
arrows in Fig. 2 (b)] or the nuclear transitions (orange lines), rotations of the corresponding spin can be
achieved. There, the phase _ϕk_ controls the rotation axis
in the rotating frame [14] and the pulse duration _tp,k_ controls the rotation angle _θk_ = 2 _πω_ 1 _,ktp,k_, with _ω_ 1 _,k_ hence
being the corresponding frequency for the transition, i.e.
the Rabi frequency. Finally, by changing the pulse parameters, a complete set of unitary rotation operators
_R_ ˆ _ϕ_ ( _θ_ ) with near unity fidelities can be achieved for both
spins of the NV [51].
In most experimental conditions, we can assume that
the RF field does not interact with _S_ <sup>ˆ</sup> and the MW does
not interact with _I_ <sup>ˆ</sup>, due to the large difference in their
frequencies - an approximation which substantially increases computational performance. However, for magnetic fields around the GSLAC, the resonant frequencies
for the electron spins are on the same order than the
nuclear spins and this approximation is no longer valid.
Both regimes can be simulated with the digital twin. In
Sec. III A, we show an application without this approximation (even if the magnetic field is not close to GSLAC)
and in Secs. III A and III C, we make use of the approximation for the improved computational performance.
Typically, rotating frames are adopted [14] to remove
the time-dependency of Eq. 6. Nevertheless, the internal Hamiltonian _H_ <sup>ˆ</sup> 0 (Eq. 1) does not commute with
the rotation operators and even though the non-secular
terms can be treated as a perturbation to the dominant
terms [12, 13, 60, 61], this approach overlooks important
effects caused by the non-commuting terms [19]. The
adoption of the rotating frame and RWA also restricts
the range of operation of the MW-RF pulses software
input [16, 62]. The most general description of the NV
This definition allows our software to operate with general excitation fields, such as with arbitrary polarizations [16] or non-harmonic and non-square time dependencies [58, 59], as calculated using optimal control theory. When the NV is coupled with an additional spin, as
discussed in the following section, another operator term
is added for the corresponding spin.
While Eq. 5 describes a general framework for the NV
interaction with external control fields, most applications
assume linearly-polarized square harmonic pulses in the
form of
B 1( _t_ ) =
_k_
_B_ 1 _,k_ cos( _ω_ 0 _,kt_ + _ϕk_ ) rect
- _<u>t −</u>_ _<u>t</u>_ <u>0</u> _<u>,k</u>_
_tp,k_
x _._ (6)
Here, the field is assumed to be along the x direction, perpendicular to the quantization axis _z_ . This represents a
interaction with the control field is therefore given in the
static laboratory frame, where the precession of each spin
with different Larmor frequencies need to be accounted
for, as treated in Sec. III C.
D. Sensing Interaction Hamiltonian _H_ <sup>ˆ</sup> 2( _t_ )
One of the main applications of NV centers is in quantum sensing [63]. Differently from classical sensing, a
quantum probe is inseparable from the sensed system,
where the sensor is affecting and being affected by its
dynamics. Consequently, the sensed system must be incorporated into the Hamiltonian model of the NV.
First, let us consider that the NV is coupled to a spin
of arbitrary dimension, denoted as _I_ <sup>_c_</sup> . This spin could
be related, for instance, to a <sup>13</sup> C nuclear spin in the diamond lattice, an external spin on the surface, or some
paramagnetic defect as P1 centers [64]. Independent of
the origin of this spin, the interaction with the electron
spin will be much stronger than with the nitrogen nuclear spin, given the disparity in the gyromagnetic ratios
(Sec. II A). Hence, the interaction between the target and
the nitrogen nuclear spins can be neglected, resulting in
a Hamiltonian written in the _HNV_ _⊗HI_ _c_ space as
the increased computational cost arises from the time dependency of the calculation also during free evolutions of
the system, which would otherwise be obtained by a single matrix multiplication of the time evolution operator
(Sec. II E).
E. State Evolution Dynamics
A complete time evolution description of the NV software component given the inputs and outputs must account for the time dependencies of _H_ <sup>ˆ</sup> 1( _t_ ) (Eq. 5) and
_H_ ˆ2( _t_ ) (Eq. 9) in the laboratory frame. The dynamics
must also be applicable to mixed states described by the
density matrix _ρ_ ˆ( _t_ ). Altogether then, the time evolution
of the system can be modeled by the Liouville-von Neumann equation:
_<u>∂ρ</u>_ <u>ˆ(</u> _<u>t</u>_ <u>)</u>
= _−i_
_∂t_
- _H_ ˆ0 + _H_ ˆ1( _t_ ) + _H_ ˆ2( _t_ ) _,_ ˆ _ρ_ ( _t_ ) _._ (10)
<sup>_c_</sup> _hf_ <sup>_·_</sup> <sup>ˆI</sup> <sup>_c_</sup> <sup>+</sup> <sup>_H_</sup> <sup>ˆ</sup> 0 <sup>_c_</sup>
_H_ ˆ2 = ˆS _·_ A <sup>_c_</sup>
0 <sup>_c._</sup> (8)
This gives a set of _d_ <sup>2</sup> coupled ordinary differential equations (ODEs) for the elements of _ρ_ ˆ( _t_ ), where _d_ is the
dimension of the total Hilbert space. This number is
reduced, however, by considering that _ρ_ ˆ( _t_ ) must have a
trace equal to 1 and be Hermitian, that is _ρ_ ˆ( _t_ ) = _ρ_ ˆ <sup>_†_</sup> ( _t_ ).
Thus, obtaining the time evolution of the system is reduced to a mathematical problem of numerically solving a system of coupled ODEs for each pulse and free
evolution between pulses. For this purpose, we use
linear-multistep Adams-type numerical methods [65–67]
for solving the ODEs in discretized small time steps. The
implementation of this in QuaCCAToo is built on top of
the master equation solver provided by Quantum Toolbox in Python (QuTip) [68, 69]. Which in turn uses
the optimized and BLAS (Basic Linear Algebra Subroutines) accelerated matrix algebra subroutines provided by
SciPy and NumPy [70]. This way, the NV digital twin
offers accessibility through a high level abstraction and
human-readable syntax of Python, however this comes
at the cost of poorer efficiency compared to compiled
programming languages such as C++ or Fortran. This
performance issue can be mitigated up to some extent by
solving the time evolution of the system under different
variables (such as pulse length, free evolution times or
pulse frequency) at the same time in parallel over multiple CPU cores. However, one is still bounded by the
single threaded nature of ODEs, since the state ahead in
time depends on the previous state.
Finally, for a simulated final state _ρ_ ˆ( _tf_ ), the quantum
mechanical observable related to the fluorescence at the
end of the pulse sequence is simply given by
The coupling between the electron spin operator and the
sensed spin is described in terms of the hyperfine coupling
tensor A <sup>_c_</sup> _hf_ <sup>,</sup> <sup>which</sup> <sup>needs</sup> <sup>to</sup> <sup>be</sup> <sup>symmetric.</sup> <sup>_H_</sup> <sup>ˆ</sup> 0 <sup>_c_</sup> <sup>describes</sup>
the internal time-independent Hamiltonian of the sensed
spin. Depending on the structure of the coupling, the
energy levels shown in Fig. 2 (b) are further split. This
representation can be used to describe both single spins
coupled to the NV, or an effective approximate coupling
with ensembles [19].
Apart from spins, the NV can also be used to sense
weak oscillating fields aligned with its quantization axis
z . In this case, we consider a classical harmonic field
with frequency _ω_ 2 given by B 2( _t_ ) = _B_ 2 cos( _ω_ 2 _t_ ) z as the
sensed quantity. The interaction is thus described semiclassically in the _HNV_ space as
_H_ ˆ2( _t_ ) = _−γ_ <sup>_e_</sup> _B_ 2 cos( _ω_ 2 _t_ ) _S_ ˆ _z,_ (9)
analogous to Eq. 5. Even though Eqs. 8 and 9 describe
different physical processes, an analogy can be drawn between them. The spin _I_ <sup>_c_</sup> precesses around B 0, generating
an oscillating classical field which can be approximately
modeled by B 2( _t_ ). On the other hand, a coupled classical oscillating field can be approximated by an effective
hyperfine coupling [19]. This way, both approaches can
be used interchangeably within a certain approximation
degree, depending on whether the interaction is better
described in terms of the A <sup>_c_</sup> _hf_ <sup>and</sup> <sup>_H_</sup> <sup>ˆ</sup> 0 <sup>_c_</sup> <sup>parameters,</sup> <sup>or</sup>
using the external magnetic field B 2( _t_ ). In the quantum
case, the dynamics needs to be computed in an expanded
Hilbert space. Meanwhile, in the semi-classical picture,
with the fluorescence observable as defined in Eq. 4. This
expectation value is also denominated as the transition
probability for the state _mS_ = 0.
- _F_ ˆ _S_ ˆ _ρ_ ( _tf_ )
_⟨F_ <sup>ˆ</sup> _S⟩_ = Tr
_,_ (11)
In the Liouville-von Neumann equation, non-unitary
effects of the system’s interaction with its environment
are not accounted for. For that, the time evolution can
be generalized with the Lindblad equation [71] by introducing a dissipative term in the right-hand side of Eq. 10
as
2
```
sys = NV(B0=200, units_B0= ' mT ', N=0)
```
where the parameter `N` representing the nitrogen isotope
is set to 0. This way, we neglect the nitrogen nuclear
spin, which is not used in this application. The external magnetic field is assumed to be aligned with the NV
axis and to have a magnitude of _B_ 0 = 200 mT. The
`NV` class internally calculates the system’s observable _F_ <sup>ˆ</sup> _S_
(Sec. II B) and Hamiltonian _H_ <sup>ˆ</sup> 0 (Sec. II A), in units of
MHz by default. This way, the time units are in µs.
So far, only the electron spin of the NV is defined.
To add the <sup>13</sup> C spin to the system, the _H_ <sup>ˆ</sup> 2 Hamiltonian
needs to be defined as in Eq. 8. In this case, the internal
Hamiltonian of the <sup>13</sup> C spin is simply given by a Zeeman
interaction along the _z_ -axis, while the hyperfine coupling
between the two spins can be expressed in terms of a
single component of _a_ <sup>_c_</sup> _zz_ <sup>=</sup> <sup>130</sup> <sup>MHz</sup> <sup>[21],</sup> <sup>even</sup> <sup>though</sup>
other spatial components might exist. Hence,
- <sup>�</sup>
_,_ (12)
_k_
Γ _k_
_C_ ˆ _k_ ˆ _ρ_ ( _t_ ) ˆ _Ck_ <sup>_†_</sup>
_k_ <sup>_†_</sup> <sup>_−_</sup> <sup><u>1</u></sup>
2
- _ρ_ ˆ( _t_ ) _,_ _C_ <sup>ˆ</sup> _k_ <sup>_†C_</sup> <sup>ˆ</sup> <sup>_k_</sup>
valid for Markovian stochastic environments [72]. Each
source of the non-unitary processes is described in terms
of collapse operators _C_ <sup>ˆ</sup> _k_ and their respective rates <u>Γ</u> _<u>k</u>_ <u>.</u>
For instance, taking _C_ <sup>ˆ</sup> _±_ = _S_ <sup>ˆ</sup> _±_ with rates Γ _±_ = 1 _/_ <sup>_√_</sup> 2 _T_ 1
leads to the process of longitudinal relaxation of the
spin sublevels of the NV. In addition, _C_ <sup>ˆ</sup> _z_ = _S_ <sup>ˆ</sup> _z_ with
Γ _z_ = 1 _/_ <sup>_√_</sup> _T_ 2 corresponds to transverse relaxation or decoherence.
III. SIMULATION APPLICATIONS
Having introduced the foundational mathematical and
physical principles of the NV digital twin, we now exemplify the software usage and expand the physical discussion of its results through three applications based
on previous well-established experimental work. First,
in Sec. III A, we introduce a simple example of conditional rotations between the electron spin of the NV and
a strongly coupled spin from a <sup>13</sup> C nuclei [21]. In succession, in Sec. III B, we provide a more elaborate example, where Hahn echo [73], Carr-Purcell-Meiboom-Gill
(CPMG) [74–76] and XY8 [77] sequences are used to
detect and control external spins [13, 22], relevant for
quantum computing and sensing applications. Lastly, in
Sec. III C, we explore a quantum teleportation protocol
between two NV centers [18], a foundation for quantum
communication protocols.
A. Two-Qubit Conditional Quantum Gates
Conditional gates form the building block for quantum
information processing applications involving more than
one qubit. In the NV’s case, the energy level structure
allows to realize them straightforwardly through selective
MW and RF pulses [Fig. 2 (b)]. To begin illustrating the
use of the NV software component, we introduce a simple
application of a two-qubit conditional gate between the
electron spin of the NV and a nuclear spin from a strongly
coupled <sup>13</sup> C from the diamond lattice, first observed by
F. Jelezko _et_ _al._ (2004) [21].
First, the NV system is represented by an instance
of the `NV` class for a given external magnetic field B 0.
This can be obtained simply through the following code
snippet:
```
# System definition
from quaccatoo import NV
```
_H_ ˆ2 = _a_ <sup>_c_</sup>
<sup>_c_</sup> _zz_ <sup>_S_</sup> <sup>ˆ</sup> <sup>_zI_</sup> <sup>ˆ</sup> _z_ <sup>_c_</sup>
_z_ <sup>_c_</sup> <sup>_−_</sup> <sup>_γcB_</sup> <sup>0</sup> <sup>_I_</sup> <sup>ˆ</sup> _z_ <sup>_c_</sup>
_z_
with gyromagnetic ratio _γ_ <sup>_c_</sup> = 10 _._ 7084 _×_ 10 <sup>_−_</sup> <sup>3</sup> MHz/mT.
To model this interaction and to add the carbon spin to
the NV, the `add` `spin` method can be used as follows:
```
# H2 Hamiltonian and initial state
definition
GAMMA_C = 10.7084e-3
azz = 130
H2 = azz*tensor(jmat(1, 'z '),jmat (1/2, 'z '))
- GAMMA_C*sys.B0*tensor(qeye (3),jmat
(1/2, 'z '))
sys.add_spin(H2)
sys.rho0 = tensor(basis (3,1),basis (2,0))
```
with `tensor` representing the tensor product, `jmat` giving
the spin matrices, `basis` the _Z_ basis states, and `qeye` the
identity matrices, all imported from QuTiP.
In contrast to Eq. 3, the initial state of the nuclear
spin in this application is polarized, where _|mS_ = 0 _⟩⊗_
_|mI_ <sup>_c_</sup> = +1 _/_ 2 _⟩_ is set to the `rho0` attribute as shown above,
following QuTiP’s basis convention with `basis(3,1)`
representing _|mS_ = 0 _⟩_ and `basis(2,0)` representing
_|mI_ _c_ = +1 _/_ 2 _⟩_ . Therefore, the states are pure and can
be represented as kets, instead of density matrices. This
makes the simulation computationally less costly, due to
the fewer number of ODEs to be solved in the ket state
when compared to the whole density matrix.
The energy levels of the system can be plotted with
the `plot` ~~`e`~~ `nergy` method, a sample output of that is
shown in Fig. 3 (c). At such magnetic field above GSLAC
_B_ 0 _> B_ GSLAC (Sec. II A), the _mS_ = 0 state has a higher
energy than _mS_ = _−_ 1, in contrast to the situation depicted in Fig. 2 (b). Furthermore, the nuclear spin states
at _mS_ = 0 are only split by their Zeeman interaction,
while the sublevels at _mS_ = _−_ 1 have a contribution
from the hyperfine coupling as well. In this application,
it is important that the _|mS_ = 0 _⟩↔|mS_ = _−_ 1 _⟩_ transitions have very distinct frequencies for _mI_ _c_ = +1 _/_ 2 and
_mI_ _c_ = _−_ 1 _/_ 2 nuclear states, in order to avoid unwanted
excitations. This is ensured by the high intensity magnetic field _B_ 0 and hyperfine coupling _a_ <sup>_c_</sup> _zz_ <sup>,</sup> <sup>which</sup> <sup>leads</sup>
to these energy differences being much larger than the
bandwidth of the pulses.
The interaction with an external excitation field needs
to be represented through the operator _h_ <sup>ˆ</sup> 1, as in Eq. 7.
Assuming the Rabi frequencies of _ω_ 1 _,S_ = 20 MHz and
_ω_ 1 _,I_ = 0 _._ 8 MHz for the electron and nuclear spins, respectively (as in Ref. [21]), we have:
```
# h1 Hamiltonian definition
w1_S = 20
w1_I = 0.8
h1 = w1_S*tensor(jmat(1, 'x ')*2**.5, qeye (2))
+ w1_I*tensor(qeye (3),jmat (1/2, 'x ')*2)
w0_mw = sys. energy_levels [2]
w0_rf = sys. energy_levels [1]
```
where we also define the frequencies of the pulses
`w0` `mw` and `w0` ~~`r`~~ `f` in resonance with the transitions as
shown in Fig. 3 (c). By default, in QuaCCAToo,
the lowest energy state in the system is 0, that is
`sys.energy` ~~`l`~~ `evels[0]=0` . In this example, we take
the same Hamiltonian _h_ <sup>ˆ</sup> 1 for both MW and RF fields
(Sec. II C). However, in the subsequent examples, we assume different control Hamiltonians for the two spins for
_c_
_mI =-1/2_
_mI c_ _=+1/2_
MW
_c_
_mI =-1/2_
RF
_c_
_mI =+1/2_
improved computational performance, given their large
frequency difference.
Finally, for simulating this interaction of the excitation with the electron spin, we use the `Rabi` class and the
`square` `pulse` function to model the B 1( _t_ ) field. Typically, in a Rabi experiment, the MW (or RF) pulse length
is varied, which causes a periodic oscillation of the observable with frequency _ω_ 1. Given the necessary parameters defined previously and an array for the pulse durations, this is achieved by:
```
# Rabi electron simulation
from quaccatoo import Rabi, square_pulse
tp_S = np.linspace (0,0.15,1000)
rabi_S_sim = Rabi(
system = sys,
pulse_duration = tp_S,
h1 = h1,
pulse_params = { ' f_pulse ':w0_mw},
pulse_shape = square_pulse
)
rabi_S_sim.run()
```
with numpy imported as `np` . The `run` method is used to
execute the simulation, by setting and solving the coupled ODEs as described in Sec. II E, where the results of
the simulations are stored in the `results` attribute of the
`rabi` ~~`S`~~ ~~`s`~~ `im` object. Here, the frequency of the excitation
field B 1( _t_ ) is passed to the object through the `f` ~~`p`~~ `ulse`
key of the `pulse` `params` dictionary.
The resulting expectation value of the fluorescence
observable (Eq. 11) as a function of the pulse length
is shown in Fig. 3 (a), which can be plotted with the
`plot` ~~`r`~~ `esults` method from the `Analysis` class. In accordance with Ref. [21], the electron spin performs full
Rabi oscillations between the _mS_ = 0 and _mS_ = _−_ 1 levels, conditioned to the <sup>13</sup> C spin being at the _mI_ _c_ = +1 _/_ 2
state. The _mS_ = +1 levels and the nuclear states are not
affected by this pulse, as expected.
Apart from a conditional rotation of the electron spin,
the carbon nuclear spin can also be excited by setting
`f` ~~`p`~~ `ulse` in resonance with `w0` `rf` . Now, we consider
_|mS_ = _−_ 1 _⟩⊗|mI_ <sup>_c_</sup> = +1 _/_ 2 _⟩_ as the initial state and define an observable for the nuclear spin as
_F_ ˆ _I_ _c_ = 1ˆ _⊗|_ +1 _/_ 2 _⟩⟨_ +1 _/_ 2 _| ._ (13)
Experimentally, this is indirectly measured through the
electron spin by electron-nuclear double magnetic resonance (ENDOR) [78]. To model the decoherence, we
assume _C_ <sup>ˆ</sup> = _I_ <sup>ˆ</sup> _z_ <sup>_c_</sup> <sup>as</sup> <sup>the</sup> <sup>collapse</sup> <sup>operator</sup> <sup>in</sup> <sup>Eq.</sup> <sup>12,</sup> <sup>with</sup>
rate Γ2 = 0 _._ 5 MHz. Altogether, the time evolution of
the nuclear spin within these considerations is simulated
by:
```
# Rabi nuclear simulation
sys.rho0 = tensor(basis (3,2),basis (2,0))
sys.observable = tensor(qeye (3),basis (2,0)*
basis (2,0).dag())
```
1.0
0.5
(a)
0.0
0.00 0.05 0.10 0.15
(c)
_ms=0_
_ms=-1_
1.00
0.75
0.50
0.25
(b)
0 1 2
Pulse Length ( s)
FIG. 3. Simulated conditional rotations on (a) NV’s electron
spin _S_ and (b) nuclear spin _I_ <sup>_c_</sup> from coupled <sup>13</sup> C. (c) Energy
level diagram of the system, neglecting the _mS_ = +1 state.
By applying a resonant pulse with either one of the transitions, full Rabi oscillations are achieved to each spin, conditioned to the other. The decoherence of the nuclear spin is
modeled by a collapse operator within the Lindblad master
equation. The simulations reproduce the experimental results
from F. Jelezko _et_ _al._ (2004) [21].
```
gamma2 = .5
sys.c_ops = gamma2*tensor(qeye (3),jmat (1/2,
'z '))
tp_I = np.linspace (0,2.5,1000)
rabi_I_sim = Rabi(
system = sys,
pulse_duration = tp_I,
h1 = h1,
pulse_params = { ' f_pulse ':w0_rf}
)
rabi_I_sim.run()
```
where the `c` `ops` attribute of the `NV` instance, which
was previously empty, is now set to the operator. The
`pulse` `shape` parameter is set to square pulses by default,
which will be omitted from now on.
The results of the _⟨F_ <sup>ˆ</sup> _I_ <sup>_c_</sup> _⟩_ expectation value are shown
in Fig. 3 (b). Differing from the electron spin, the oscillation is damped by decoherence of the nuclear spin and
has a much smaller Rabi frequency due to the smaller
gyromagnetic ratio and thus, weaker coupling to the excitation field B 1( _t_ ). The digital twin accurately reproduces the results presented in Ref. [21], apart from the
fact that the simulations show a much larger contrast.
This can be attributed to an imperfect initialization of
the spins, the fundamentally limited NV readout mechanism and other experimental parameters related to the
photon detection which are not accounted for in the simulation (Sec. II B), but can be post-processed with the
`ExpData` class. Together with unconditional excitations,
these two rotations form the computational basis for arbitrary quantum gates with the NV- <sup>13</sup> C pair, which will
be further explored in the subsequent sections.
B. Sensing and Control of External Spins by
Dynamical Decoupling
The precise detection of weak spins in a noisy environment is a central challenge for quantum sensing. At
the same time, the coherent control of such magnetic
momenta via a central spin is of great interest for quantum simulation [79] and computing. Although they have
different goals, both applications can be achieved by dynamical decoupling of the spins from their noisy environment [19, 22, 76]. In the end, the problem is then
reduced to precisely modeling the interaction of the central spin (NV’s electron) and the external spin ( <sup>13</sup> C nuclei) under multipulse dynamical decoupling sequences.
Following the discussion of the previous section, we first
simulate the coherent dynamics of the NV- <sup>13</sup> C system in
a Hahn echo sequence, as experimentally studied by L.
Childress _et_ _al._ (2006) [13]. Subsequently, we simulate
the detection and control of a weakly coupled <sup>13</sup> C by a
CPMG sequence, as performed by T. H. Taminiau _et_ _al._
(2012) [22]. Finally, we simulate the sensing of a classi
cal field RF B 2( _t_ ) with the XY8 and RXY8 sequences,
as shown by L. Tsunaki _et_ _al._ (2025) [19].
Once more, we begin the simulation by instantiating
the `NV` class with the experimental parameters as given
in Ref. [13]:
```
# System definition
sys1 = NV(
B0 = 4.2,
units_B0 = ' mT ',
theta = -45,
units_angles = ' deg ',
N = 14,
temp = 300,
units_temp = 'K '
)
```
where we use the `theta` argument to represent the misalignment of the magnetic field B 0 with the NV axis _z_,
which by default is 0. Here, the magnetic field has a
small amplitude of 4.2 mT along the z _−_ x direction. In
contrast to the application in Sec. III A, the nitrogen nuclear spin cannot be neglected, as it slightly shifts the
energy levels of the electron spin, thus changing its Larmor frequency and affecting the envelope frequencies of
the Hahn echo signal. For that, we set the parameter
`N` to 14 representing the <sup>14</sup> N isotope. If the system was
otherwise composed with a <sup>15</sup> N, additional signals from
the nitrogen precession would be observed [19]. However, this is not the case for <sup>14</sup> N, due to the quadrupole
interaction that fixes the nuclear spin orientation, thus
suppressing its precession. Lastly, for illustration purposes, we set the temperature to 300 K with the `temp`
and `units` `temp` attributes, which calculates the initial
state _ρ_ ˆ0 from the Boltzmann distribution, as in Eq. 2
but for the <sup>14</sup> N isotope. If no input is given for `temp`,
as in the other applications, the initial density matrix
of the nuclear spin is assumed to be the identity matrix
(Sec. II B), where for these values of temperature and
magnetic field the thermal polarization is minimum.
The coupling Hamiltonian, as in Eq. 8, has a hyperfine
coupling tensor in units of MHz given by
representing a weaker coupling compared to Sec. III A,
but still prominent. The representation of _H_ <sup>ˆ</sup> 2 and composition with the NV is the same as performed in the
previous section. Lastly, the Rabi frequency `w1` and the
the frequency of the MW pulse excitations `w0` are defined
as follows [13]:
```
# Frequencies definition
w1 = 15
w0 = np.mean(sys1. energy_levels [12:]) - np.
mean(sys1. energy_levels [1:6])
```
Here, the frequency of the MW pulse is calculated by
subtracting the average of all six nuclear sublevels at
_mS_ = +1 from the ones in _mS_ = 0. This way, with a
A <sup>_c_</sup> _hf_ <sup>=</sup>
5 _._ 0 _−_ 6 _._ 3 _−_ 2 _._ 9
_−_ 6 _._ 3 4 _._ 2 _−_ 2 _._ 3
_−_ 2 _._ 9 _−_ 2 _._ 3 8 _._ 2
_,_
(a) Hahn Sequence (b) CPMG Sequence
1.0
0.8
0.6
0.4
0.2
0.0
16.74 16.76 16.78 16.80 16.82 16.84
( s)
_π_ _π_
_<u>τ/2</u>_ _<u>τ</u>_ _<u>τ/2</u>_
_M/2_
1.0
0.8
0.6
0.4
0.2
_π/2_ _π_ _π/2_
_<u>τ</u>_ _<u>τ</u>_
0 1 2 3 4
( s)
M:
16
32
56
96
FIG. 4. (a) Hahn echo sequence simulation of NV- <sup>13</sup> C system as performed experimentally by L. Childress _et_ _al._ (2006) [13].
The fluorescence shows a characteristic spin echo envelope modulation, with a fast and a slow frequencies corresponding to
the <sup>13</sup> C nuclear spin Larmor frequencies at _|mS_ = +1 _⟩_ and _|mS_ = 0 _⟩_ levels, respectively. The Hahn echo sequence refocuses
static dephasings from the <sup>14</sup> N nuclear spin and environment, enabling the detection of the <sup>13</sup> C nuclear spin. (b) CPMG
sequence simulation of a weakly coupled NV- <sup>13</sup> C [22] as experimentally performed by T. H. Taminiau _et_ _al._ (2012) [22]. By
repeating the _π_ -pulse and free evolution of _τ_ several times, the CPMG sequence is able to cancel out oscillating noises from the
environment, enabling the sensing of the weakly coupled <sup>13</sup> C nuclear spin. The intensities of the resonances show oscillations
with the number of pulses _M_, which can be used to perform precise conditional gates to the <sup>13</sup> C, exclusively by fast and precise
MW pulses to the electron spin.
short hard MW pulse, the _|mS_ = 0 _⟩↔|mS_ = +1 _⟩_ transition is obtained, unconditional to the nuclear states, as
opposed to Sec. III A. This leads to a _π_ -pulse duration
shorter than 1 _/_ (2 _ω_ 1), resulting from a hyperfine enhancement effect [80]. The simulated Rabi oscillation can be
seen at the QuaCCAToo tutorials.
Given the defined system with the experimental parameters from Ref. [13], the simplest dynamical decoupling sequence for suppressing the noise from the environment is the Hahn echo technique, as schematically
represented in Fig. 4 (a). The sequence is composed by
two free evolutions periods of duration _τ_, with an intermediate _π_ -pulse to the electron spin. In addition, _π/_ 2pulses are included before and after the sequence to drive
the electron spin from and to the quantization axis. In
NMR, the last projective pulse is not required though,
as the measurement is performed perpendicular to the
quantization axis. The intermediate _π_ -pulse causes a refocusing of static or slow dephasing processes, such as
those arising from the <sup>14</sup> N nuclear spin. This allows the
coupled <sup>13</sup> C nuclear spin to be probed by the NV.
For performing a Hahn echo simulation in the software,
we use the `Hahn` class:
```
# Hahn simulation
from quaccatoo import Hahn
tau_hahn = np.linspace (0.04,4,2000)
hahn_sim = Hahn(
```
```
free_duration = tau_hahn,
pi_pulse_duration = 0.0316,
system = sys1,
h1 = w1*sys1.MW_h1,
pulse_params = { ' f_pulse ':w0},
projection_pulse = True,
time_steps = 1000
)
hahn_sim.run(map_kw ={ ' num_cpus ' :32})
```
with the same arguments as defined previously. In addition, `free` ~~`d`~~ `uration` is the array containing the _τ_ values
to be simulated, `MW` ~~`h`~~ `1` is the attribute of the `sys1` object
conta _√_ <u>ining the standard MW control Hamiltonian opera-</u>
tor 2 _S_ <sup>ˆ</sup> _x_ (Eq. 7), `pi` `pulse` ~~`d`~~ `uration` is the duration of
_√_
tor 2 _S_ <sup>ˆ</sup> _x_ (Eq. 7), `pi` `pulse` ~~`d`~~ `uration` is the duration of
the simulated _π_ -pulse, `time` `steps` is the number of discrete time steps used in the simulation in each pulse, and
`projection` ~~`p`~~ `ulse` is a Boolean indicating to include a
final project _π/_ 2-pulse or not, which is set to `True` by
default and will be omitted from now on. It is important to note, however, that the actual pulse separation
is the _τ_ variable with the duration of the _π_ -pulse subtracted. In most studies, perfect _δ_ -pulses are considered
and both quantities coincide. Finally, the simulation is
executed with the `run` method, which takes a dictionary
containing the options for the parallelization routines. In
this case, we include the `num` ~~`c`~~ `pus` key as an illustration,
which limits the use of the hardware cores for the calculation, in order to avoid over-threading. If the key in the
dictionary parameter is not given, the parallelization will
run on all of hardware cores by default.
The results of the Hahn echo simulation are shown
in Fig. 4 (a), where we observe the characteristic Electron Spin Echo Envelope Modulation (ESEEM) [13, 81],
where the fluorescence observable of the electron spin
shows two frequencies. The fast one corresponds to the
Larmor frequency of the <sup>13</sup> C nuclear spin at the _mS_ = +1
level, while the slower frequency corresponds to the one
at _mS_ = 0, which is simply given by the gyromagnetic
ratio of the nuclear spin _γ_ <sup>_c_</sup> due to the hyperfine coupling being negligible at _mS_ = 0. By measuring these
modulation frequencies at different magnetic field configurations B 0, the hyperfine interaction matrix can be
experimentally reconstructed for arbitrary spins hyperfinely coupled to a central spin [19].
The Hahn echo sequence provides a simple mechanism for selective addressing and sensing spins from the
environment via the NV center, as demonstrated here.
Nonetheless, the noise filtering can be significantly improved by repeating the _π_ -pulse and free evolutions several times. This is known as the CPMG sequence [74, 75],
as shown in Fig. 4 (b). The periodic reversals of the
system’s time evolution cancels out the oscillating dephasings and environmental noises from the total evolution, except for frequencies corresponding to twice the
pulse separation _f_ 0 = 1 _/_ (2 _τ_ ) and odd multiples thereof
[82, 83]. As a result, weak oscillating magnetic fields from
single nuclear spins can be filtered from a much stronger
background, even at room temperature. This represent a
great improvement compared to superconducting quantum interference device (SQUID) [84] sensing.
For simulating a CPMG sequence of an NV weakly
coupled to a lattice <sup>13</sup> C, we instantiate the object `sys2`
with parameters _B_ 0 = 40 _._ 1 mT, _θ_ = 0 and _N_ = 14 as
in Ref. [22]. Furthermore the MW _π_ -pulse duration is
set to 10 ns, its frequency `w0` is in resonance with the
_|mS_ = 0 _⟩↔|mS_ = _−_ 1 _⟩_ transition. The hyperfine coupling tensor is
A <sup>_c_</sup> _hf_ <sup>=</sup>
0 0 0 _._ 044
0 0 0
0 _._ 044 0 0 _._ 032
_,_
(in units of MHz), representing a much weaker coupling
than in the previous case. To run the CPMG simulation
with `M` pulses, we do as follows:
```
# CPMG simulation
sol_opt = { ' atol ' :1e-16, ' rtol ' :1e-16, '
nsteps ' :1e8, ' order ' :30}
tau_cpmg = np.linspace (16.74,16.85,200)
cpmg_sim = CPMG(
free_duration = tau_cpmg,
pi_pulse_duration = 0.01,
system = sys2,
h1 = w1*sys2.MW_h1,
pulse_params = { ' f_pulse ':w0},
```
```
M = M,
time_steps = 1000,
options = sol_opt
)
cpmg_sim.run()
```
The `sol` `opt` variable contains a series of parameters
for the ODE solver, which can be passed to the object
through the `options` argument. In this case, the absolute
and relative tolerances are decreased, while the number
of steps and order are increased, to have a more robust
solution for such a long pulse sequence.
The simulation results of the CPMG sequence applied
to the NV- <sup>13</sup> C system are shown in Fig. 4 (b). The fluorescence observable shows the 8 <sup>th</sup> order resonance from
the weakly coupled <sup>13</sup> C spin, displaying oscillations in
its intensity as a function of the number of pulses _M_,
due to changes in the filtering function of the multipulse sequence [85]. By keeping a fixed pulse separation
value _τ_ and changing the number of pulses _M_, conditional gates can be applied to the nuclear spin exclusively through faster and more precise MW pulses to the
electron spin [22]. This leads to an effective decoupling
of the NV spin from arbitrary oscillating environmental
noises, allowing a precise control of the weakly coupled
13C spin. The simulation also presents a small numerical noise, resulting from truncation errors in the ODE
solver at such long _τ_ values. Both numerical simulations
of the Hahn echo and CPMG sequences match the experimental results from Refs. [13, 22], going beyond the
semi-analytical model employed there, as it can be used
for arbitrary coupling regimes, while considering realistic
pulses.
Finally, the CPMG sequence can be further improved
to decouple noises acting on different axes by intercalating _π_ -pulses over the _x_ and _y_ axes. One of these sequences is the XY8- _M_ [77], with 8 anti-symmetrized _πx,y_ pulses repeated _M_ times as schematically represented in
Fig. 5 (a). This way, the sequence has 8 _× M_ pulses and
can be used for more efficient sensing and control of external spins compared to CPMG. In this case however,
we consider the semi-classical interaction picture from
Eq. 9, where a weak classical oscillating field B 2( _t_ ) is
measured by the NV. For that we instantiate `qsys3` with
`N=15` and `B0=40` in mT. We then define the sensing field
as in Ref. [19] with _γ_ <sup>_e_</sup> _B_ 2 = 0 _._ 3 MHz and _ω_ 2 = 5 _._ 5 MHz
using:
```
# B2(t) field definition
def B2(t, gamma_B2 =5.5, w2 =0.3):
return gamma_B2*np.sin(w2*t)
H2 = [tensor(jmat(1, 'z '), qeye (2)), B2]
```
where `H2` follows the list-based definition of a timedependent Hamiltonian from QuTip. For performing the
simulation, the `XY8` class from QuaCCAToo is instantiated with the experimental parameters and run:
```
# XY8 simulation
```
(a) XY8- _M_ Sequence
_M_
_πx_ _πy_ _πx_ _πy_ _πy_ _πx_ _πy_ _πx_
_<u>τ/2</u>_ _~~τ~~_ _~~τ~~_ _~~τ~~_ _~~τ~~_ _~~τ~~_ _~~τ~~_ _~~τ~~_ _<u>τ/2</u>_
(b)
(c)
1.00
0.75
0.50
0.25
0.00
1.00
0.75
0.50
0.25
0.00
<u>3</u> <u>5</u> <u>3</u> <u>7</u>
~~4~~ ~~4~~ ~~2~~ ~~4~~
0.06 0.08 0.10 0.12 0.14 0.16
( s)
FIG. 5. (a) Schematic of the XY8-12 pulse sequence. It is
composed of 8 intercalated _π_ -pulses on _x_ and _y_ axes repeated
_M_ times, thus canceling dephasings more efficiently than the
CPMG sequence. (b) XY8-12 simulation of an NV sensing
and external field B 2( _t_ ) with frequency _ω_ 2 = 5 _._ 5 MHz [19].
The NV’s fluorescence observable shows a prominent resonant at _τ_ 0 = (2 _ω_ 2) with multiple fringes. Apart from that,
spurious harmonics are also present at fractions of _τ_ 0 due to
the system’s free evolution at the finite pulse lengths. (c)
Simulation of RXY8-12 with a phase randomization in each
XY8 block. With this random phase, the spurious harmonics
are suppressed. This demonstrates the ability of the software
to operate in arbitrary coupling regimes and time-dependent
Hamiltonians. These simulations reproduce the experimental
results presented by L. Tsunaki _et_ _al._ (2025) [19].
```
from quaccatoo import XY8
w1 = 20
tau_xy8 = np.linspace (0.06,0.17,1000)
xy8_sim = XY8(
M=12,
free_duration = tau_xy8,
pi_pulse_duration = 1/2/w1,
system = qsys3,
h1 = w1*qsys3.MW_h1,
pulse_params = { ' f_pulse ': qsys3.
MW_freqs [0]},
H2 = H2
)
```
```
xy8_sim.run()
```
where the `H2` parameter (which was by default empty)
is set with the time-dependent definition of _H_ <sup>ˆ</sup> 2( _t_ ). The
frequency of the pulse `f` ~~`p`~~ `ulse` is obtained from the
`MW` ~~`f`~~ `reqs[0]` attribute of the `NV` class, which calculates
the frequency of the _|mS_ = 0 _⟩↔|mS_ = _−_ 1 _⟩_ transition
for the NV center of the selected nitrogen isotope, considering a hard unconditional pulse.
The simulation results of the B 2( _t_ ) sensing by XY8-12
are shown in Fig. 5 (b). A prominent resonance with multiple fringes, resulting from the convolution of the filter
function of the multipulse sequence with the spectral density of B 2( _t_ ) [85], is observed at _τ_ 0 = 1 _/_ (2 _ω_ 2) <sup>_∼_</sup> = 0 _._ 09 µs.
Apart from this resonance, the XY8 spectrum presents
spurious harmonics at 3 _/_ 4, 5 _/_ 4, 3 _/_ 2 and 7 _/_ 4 fractions of
the fundamental resonance at _τ_ 0. These spurious harmonics originate from the free evolution of the system
during the finite length of the pulses [83], which can be
an issue for quantum sensing applications, as they can be
confused with other signals. However, to suppress these,
a random phase can be added to each XY8 block of the
sequence [86, 87], known as the RXY8- _M_ sequence.
To simulate the RXY8-12 sensing of the external field
B 2( _t_ ), the `RXY8` parameter is set to `True` in the `XY8` class,
with the other parameters being the same as before. The
results of these simulations are shown in Fig. 5 (c). In
this case, the fundamental resonance is the same as for
the XY8-12 sequence, but the spurious harmonics are
suppressed, in accordance with Ref. [19]. Altogether, this
shows that our simulation software can operate with arbitrary coupling regimes (weak or strong, semi-classical or
quantum) and with realistic imperfect pulses, taking into
consideration the specific time-dependency of the _H_ <sup>ˆ</sup> 1( _t_ )
and _H_ <sup>ˆ</sup> 2( _t_ ) Hamiltonians.
C. Quantum Teleportation
While the first example in Sec. III A focuses on basic
operations with the NV digital twin and Sec. III B discusses three applications related to sensing and computing, this section introduces a problem relevant to quantum communication and cryptography. The process of
quantum teleportation consists of transferring the state
of one qubit to another spatially separated one, utilizing
the non-local properties of quantum entanglement [88].
This technique is an essential building block for quantum networks [89, 90]. Here, we simulate an adapted
version of an unconditional teleportation between two
NV centers, as originally demonstrated by W. Pfaff _et_
_al._ (2014) [18]. Specifically, we focus on simulating a
simplified version of the MW and RF pulses implementation, rather than the photonic component of the experiment, which by itself the greatest technical challenge of
the experiment and the main source of errors.
This simple form of teleportation consists of two network parties: ‘Alice’ and ‘Bob’. Alice has a <sup>14</sup> NV center
CNOT Bob Refocus Hadamard State Reconstruction
_U_ ˆ ( _c_ 0 _, c_ 1)
Bob _mS_
��Ψ _−_
_R_ ˆ _y_ ( _π_ )
_c_ 0
Alice _mS_ _R_ ˆ _y_ ( _π_ ) _R_ ˆ _y_ ( _π_ )
_c_ 1
Alice _mI_ _|ψ⟩_ _R_ ˆ _φrf_
- _π_ 2 - _R_ ˆ _φrf_
- _π_ 2
FIG. 6. Circuit diagram of a teleportation protocol adapted from W. Pfaff _et_ _al._ (2014) [18]. Alice and Bob NV electron spins
are initially in a Bell state ��Ψ _−_ �, while Alice’s nitrogen spin is in a state _|ψ⟩_ to be teleported. First, a CNOT gate is applied
to Alice’s electron spin conditioned to her nuclear spin state. Second, Bob performs a phase refocus of his qubit with a _R_ <sup>ˆ</sup> _y_ ( _π_ )
pulse between two free evolutions periods _τ_ 1 and _τ_ 2. Third, Alice performs a Hadamard gate on her nuclear spin, composed
of three pulses, where the rotation axis _φ_ <sup>_rf_</sup> for the nuclear pulses is optimized to avoid phase accumulation. Fourth, Alice
measures both of her qubits yielding two classical bits _c_ 0 and _c_ 1, which also projects Bob’s qubit into a known state. Finally,
the classical bits are communicated to Bob, who performs an operation _U_ <sup>ˆ</sup> ( _c_ 0 _, c_ 1) on his qubit, thus concluding the teleportation
operation.
with two qubits, the nitrogen nuclear spin and the electron spin. Bob has another distant NV, where the nuclear spin can be neglected. This system can be defined
in QuaCCAToo using:
```
# System definition
NVb = NV(B0=18, units_B0= ' mT ', N=0)
NVa = NV(B0=25, units_B0= ' mT ', N=14)
NVb.truncate(mS=1)
NVa.truncate(mS=1, mI=1)
from quaccatoo import compose_sys
sys = compose_sys(NVb, NVa)
```
where we assume some typical values for _B_ 0. To avoid
performance issues of simulating a large Hilbert space
with dimension _d_ = 3 <sup>3</sup> = 27 from the three spin-1 subsystems, the `truncate` method is used to exclude the
_|mS_ = +1 _⟩_ and _|mI_ = +1 _⟩_ levels. This, as seen in the
previous examples, does not compromise the modeling
of the system, as long as the transition frequencies are
well separated compared to the spectral width of the excitation. This way, the system is defined within the subspaces _mS,I_ = 0 _, −_ 1, with a total dimension of _d_ = 2 <sup>3</sup> = 8
instead. Lastly, the `compose` ~~`s`~~ `ys` function is used to compose the two NV centers from Alice and Bob, which internally calculates the new attributes of the `sys` object.
Initially, the two NVs’ electron spins are in _√_ <u>a</u> maximally entangled Bell state _|_ Ψ <sup>_−_</sup> _⟩_ = ( _|_ 01 _⟩−|_ 10 _⟩_ ) _/_ 2, where
_|_ 0 _⟩≡|mS_ = 0 _⟩_ and _|_ 1 _⟩≡|mS_ = _−_ 1 _⟩_ . While this is presented as a postulate for the simulation applications, the
experimental generation of the Bell state poses a great
technological challenge, given the poor spectral stability of NVs and high relative background counts. This is
achieved through a photon emission mixing by a beam
splitter and mutual photon detection, which thus heralds an entanglement event for the two NVs’ electron
spins [91]. The optical properties of the NVs optical emission can be nonetheless improved by micro-engineering of
the diamond surface [46, 92, 93].
Apart from the initial state of the electron spin, the
state _|ψ⟩_ = _α |_ 0 _⟩_ + _β |_ 1 _⟩_ to be teleported between Alice and Bob is initially stored in Alice’s <sup>14</sup> N spin. Experimentally, it can be initialized into the state _|_ 1 _⟩≡_
_|mI_ = _−_ 1 _⟩_ by a projective measurement of the electron
spin [54, 94]. The nuclear spin can then be brought to
the state _|ψ⟩_ with the appropriate resonance pulses [18],
as discussed in Sec. III A. In the simulations, the initial
state of the three spins _|_ Ψ <sup>_−_</sup> _⟩⊗|ψ⟩_ is hence represented
by:
```
# Initial state definition
Psi_ = tensor(basis (2, 0),basis (2,1)) tensor(basis (2,1),basis (2,0))
psi = alpha*basis (2,0)+beta*basis (2,1)
sys.rho0 = tensor(Psi_,psi).unit ()
```
_√_
for given values of _α, β_ _∈_ C. By taking _α_ <u>=</u> _β_ = 1 _/_
_√_
for given values of _α, β_ _∈_ C. By taking _α_ <u>=</u> _β_ = 1 _/_ 2 we
_√_ _√_
have the initial state _|_ + _X⟩_, with _α_ = 1 _/_ 2 and _β_ = _i/_ 2
we have _|_ + _Y ⟩_, and finally with _α_ = 1 and _β_ = 0 we have
_|_ + _Z⟩_ . As in Sec. III A, the initial state in this case is
pure.
Given the initial state, the whole teleportation protocol is schematically represented in Fig. 6. Since there is
no standard predefined sequence in QuaCCAToo for this
protocol, we can simulate it by instantiating an object
from `PulsedSim` with `sys` as an argument:
```
# Sequence instantiation
from quaccatoo import PulsedSim
seq = PulsedSim(sys)
```
The first part of the teleportation protocol is a CNOT
gate on Alice’s electron spin conditioned to her nuclear
_√_
<u>=</u> _β_ = 1 _/_ 2
_√_
2 and _β_ = _i/_
spin. This is expressed by a soft selective _R_ <sup>ˆ</sup> _y_ ( _π_ ) pulse
of the _|mS_ = 0 _⟩↔|mS_ = _−_ 1 _⟩_ electron transition for
the _|mI_ = _−_ 1 _⟩_ nuclear state. The intensity of this pulse
needs to be low, in order to ensure a narrow bandwidth
excitation. Furthermore, the _|mI_ = 0 _⟩_ states would ideally remain unchanged during the operation, but due
to the system’s evolution under the time-independent
Hamiltonian _H_ <sup>ˆ</sup> 0 (Eq. 1) during the finite pulse length,
these states also accumulate a phase. This phase is minimized by taking _√_ <u>the</u> Rabi frequency of the CNOT pulse
as _ω_ 1 <sup>_cnot_</sup> = _a_ <sup>_n_</sup> _∥_ <sup>_/_</sup> 3 [18], where _a_ <sup>_n_</sup> _∥_ <sup>is</sup> <sup>the</sup> <sup>parallel</sup> <sup>compo-</sup>
The free evolution times _τ_ 1 and _τ_ 2 are chosen such that
the _R_ <sup>ˆ</sup> _y_ ( _π_ ) is exactly in the middle of the whole protocol duration prior to the state reconstruction, and thus
Bob’s qubit ends the protocol with the same state as he
initially had. This way, we have the first free evolution
time given by
_<u>π</u>_
<sup>_cnot_</sup> _π_ + <sup>_<u>tB</u>_</sup>
2
_τ_ 1 + _t_ <sup>_cnot_</sup> _π_
_<u>π</u>_
2 <sup>_B_</sup> <sup>=</sup> <sup>_<u>T</u>_</sup> 2 <sup>_,_</sup>
1 <sup>_cnot_</sup> = _a_ <sup>_n_</sup> _∥_
_√_
as _ω_ 1 <sup>_cnot_</sup> = _a_ <sup>_n_</sup> _∥_ <sup>_/_</sup> 3 [18], where _a_ <sup>_n_</sup> _∥_ <sup>is</sup> <sup>the</sup> <sup>parallel</sup> <sup>compo-</sup>
nent of the hyperfine interaction as defined in Sec. II A.
With these considerations, we can define the ODE solver
options dictionary `sol` ~~`o`~~ `pt`, the excitation frequency of
the pulse `w0` ~~`c`~~ `not`, the Rabi frequency `w1` ~~`c`~~ `not`, the duration of the pulse `tpi` ~~`c`~~ `not` and the _h_ <sup>ˆ</sup> 1 Hamiltonian for
the CNOT (Eq. 7) with:
<sup>_n_</sup> _∥_ <sup>_/_</sup>
```
# CNOT gate parameters
sol_opt = { ' nsteps ' :1e9}
w0_cnot = NVa.energy_levels [2]
w1_cnot = 2.14/3**.5
tpi_cnot = 1/(2* w1_cnot)
h1_cnot = w1_cnot*tensor(qeye (2),NVa.MW_h1)
```
where the transition frequency _ω_ 0 <sup>_cnot_</sup> is obtained from
the `energy` ~~`l`~~ `evels` attribute of `NVa` . A pulse with these
parameters can be added to the sequences with the
`add` ~~`p`~~ `ulse` method using:
```
# CNOT execution
seq.add_pulse(
duration = tpi_cnot,
h1 = h1_cnot,
pulse_params = { ' f_pulse ':w0_cnot,
' phi_t ':np.pi/2},
options = sol_opt
)
```
By default, `add` ~~`p`~~ `ulse` assumes a square pulse and 100
time steps in the time array discretization, which should
not be confused with the `nsteps` key for the solver options dictionary that is increased to `1e9` . In the lab frame,
the _ϕ_ angle of the rotation axis (Sec. II C) is expressed in
terms of the temporal phase of the excitation field `phi` ~~`t`~~ .
With this implementation, the simulation is already executed upon calling `add` ~~`p`~~ `ulse`, differently from predefined
methods which require the `run` command. However, if
the user desires to execute a sequence in parallel whereas
changing a certain variable, it can be defined within a
function and called with `run` .
One of the main challenges of the pulse implementation
of the protocol is the loss of the relative phase between
the qubits due to the dynamics from _H_ <sup>ˆ</sup> 0. Specifically,
all three spins precess with different Larmor frequency
_ω_ 0 during the finite pulse lengths, making it necessary to
correct for the phase accumulation in Bob’s qubit while
Alice performs the teleportation operation on her qubits.
For that, we implement a refocusing scheme similar to
a Hahn echo (Sec. III B), with a free evolution of _τ_ 1 followed by a _R_ <sup>ˆ</sup> _y_ ( _π_ ) pulse and another free evolution of _τ_ 2.
where _T_ is the total duration of the protocol. To implement the refocusing scheme, we define the pulse parameters for Bob’s qubit and use the `add` ~~`f`~~ `ree` `evolution`
and `add` ~~`p`~~ `ulse` methods:
```
# Refocus scheme
w1_mwb = 22
tpi_mwb = 1/(2* w1_mwb)
w0_mwb = NVb.MW_freqs [0]
h1_mwb = w1_mwb*tensor(NVb.MW_h1,qeye (2),
qeye (2))
seq. add_free_evolution (tau1)
seq.add_pulse(
duration = tpi_mwb,
h1 = h1_mwb,
pulse_params = { ' f_pulse ': w0_mwb,
' phi_t ':np.pi/2},
options = sol_opt
)
seq. add_free_evolution (tau2)
```
where `tau1` and `tau2` are defined with their respective
values, with _τ_ 2 as calculated below. In Ref. [18], the
phase of Bob’s qubit is protected with an XY4 sequence,
as introduced in Sec. III B. However, in this simulation,
the implementation would become more complex than
the straight experimental realization with multi-channel
pulse generation, due to the intricate time placement of
the _π_ -pulses on Bob’s qubit. In the end, this difference
in the refocusing scheme will require small adjustments
to Bob’s state reconstruction pulses, as discussed in the
following analysis.
The next step of the protocol is a Hadamard gate on
Alice’s nuclear spin, which can be decomposed with two
rotations, such as _R_ <sup>ˆ</sup> _y_ ( _π/_ 2) _R_ <sup>ˆ</sup> _z_ ( _π_ ). In this case, the first
rotation on the _z_ -axis responsible for correcting the phase
can be omitted, hence configuring a pseudo-Hadamard
gate. In addition, due to the fact that the transition
frequency of the nuclear spin depends on the _mS_ state
[Fig. 2 (b)], the gate can be composed by three pulses:
a conditional rotation of _R_ <sup>ˆ</sup> _φrf_ ( _π/_ 2) on the nuclear spin
over some chosen axis _φ_ <sup>_rf_</sup>, an unconditional rotation of
_R_ ˆ _y_ ( _π_ ) on Alice’s spin, and another rotation of _R_ ˆ _φrf_ ( _π/_ 2)
on the nuclear spin [18]. This way, the first pulse changes
the nuclear state for _mS_ = _−_ 1, then the electron spin
is inverted and the same RF pulses is applied again.
Assuming some typical values for the pulse parameters,
where the Rabi frequency of Alice’s electron spin for a
hard pulse `w1` ~~`m`~~ `wa` is now much larger than for the CNOT
gate, the three pulses are simulated with:
<u>Outputs</u> _<u>c</u>_ <u>0</u> _<u>c</u>_ <u>1</u>
_|ψ⟩_
<u>00</u> <u>01</u> <u>10</u> <u>11</u>
<u>�</u> _<u>π</u>_ 2 <u>�</u> _R_ ˆ _z_ ( _π_ ) ˆ _Ry_
<u>�</u> _<u>π</u>_ 2 <u>�</u> _R_ ˆ _z_ ( _π_ ) ˆ _Ry_ <u>�</u> _<u>π</u>_ 2 <u>�</u> _R_ ˆ _−y_ <u>�</u> _<u>π</u>_ 2 <u>�</u>
_|_ + _X⟩_
_|_ + _Y ⟩_
_|_ + _Z⟩_
_R_ ˆ _−y_
<u>0.9585</u> <u>0.9713</u> <u>0.9779</u> <u>0.9945</u>
_R_ ˆ _y_ ( _π_ ) _R_ ˆ _y_ ( _π_ ) 1ˆ 1ˆ
<u>0.9999</u> <u>0.9998</u> <u>0.9985</u> <u>0.9981</u>
<u>0.9624</u> <u>0.9814</u> <u>0.9889</u> <u>0.9878</u>
_R_ ˆ _z_ ( _π_ ) ˆ _Rx_
<u>�</u> _<u>π</u>_ 2 <u>�</u> _R_ ˆ _−x_
<u>�</u> _<u>π</u>_ 2 <u>�</u> _R_ ˆ _z_ ( _π_ ) ˆ _Rx_
<u>�</u> _<u>π</u>_ 2 <u>�</u> _R_ ˆ _−x_ <u>�</u> _<u>π</u>_ 2 <u>�</u>
TABLE I. Bob’s state reconstruction operations _U_ <sup>ˆ</sup> ( _c_ 0 _, c_ 1) and
resulting fidelities for each input states and classical outputs
measured by Alice. All inputs and outputs show fidelities
close to 1. Comparatively to each other, the _|_ + _Z⟩_ state shows
higher values, due to the fact that the state is less prone
to dephasings in the plane perpendicular to the quantization
axis.
```
# Hadamard gate
w0_rf = NVa.RF_freqs [2]
w0_mwa = NVa.MW_freqs [0]
w1_rf = .2
w1_mwa = 16
tpi_rf = 1/(2* w1_rf)
tpi_mwa = 1/(2* w1_mwa)
h1_rf = w1_rf*tensor(qeye (2),NVa.RF_h1)
h1_mwa = w1_mwa*tensor(qeye (2),NVa.MW_h1)
seq.add_pulse(
duration = tpi_rf /2,
h1 = h1_rf,
pulse_params ={ ' f_pulse ':w0_rf,
' phi_t ':phi_rf},
options=sol_opt
)
seq.add_pulse(
duration = tpi_mwa,
h1 = h1_mwa,
pulse_params ={ ' f_pulse ': w0_mwa,
' phi_t ':np.pi/2},
options=sol_opt
)
seq.add_pulse(
duration = tpi_rf /2,
h1 = h1_rf,
pulse_params ={ ' f_pulse ':w0_rf,
' phi_t ':phi_rf},
options=sol_opt
)
```
The rotation axis `phi` ~~`r`~~ `f` ( _φ_ <sup>_rf_</sup> ) and the free evolution
time _τ_ 2 need to be optimized for avoiding again that nuclear spin accumulates phases during the gate. Thus, following the calibration procedure as discussed in detail in
Ref. [90] and shown in QuaCCAToo tutorials, we obtain
_φ_ <sup>_rf_</sup> = 2 _._ 95 radians (169 <sup>_◦_</sup> ). By further optimizing the
final teleportation fidelity, we choose the total refocusing
procedure duration to be _τ_ 1 + _τ_ 2 + _t_ <sup>_MW_</sup> _π_ <sup>_a_</sup> = 2 _._ 26 µs, which
then determines the value of _τ_ 2. In contrast, dephasings
of Alice’s electron spin are already being refocused by
the intermediate _π_ -pulse, as in the Hahn sequence used
in Sec. III B.
At this point, the teleportation of the _|ψ⟩_ = _α |_ 0 _⟩_ + _β |_ 1 _⟩_
state to Bob’s NV has already taken place, who has a
superposition state composed of four different possible
combinations with the coefficients _α_ and _β_ [88]. Thus,
with Alice measuring her qubits, Bob’s qubit will be projected in one of the four combinations. Physically, the
electron spin is measured by the fluorescence observable,
as in Eq. 4, while the nuclear spin is measured using the
electron spin as an auxiliary qubit [54], which gives rise
to an observable as
_F_ ˆ _I_ _n_ = 1ˆ _⊗_ 1ˆ _⊗|_ 1 _⟩⟨_ 1 _| ._
Given the two observables, Alice’s measurements are implemented with the `measure` `qsys` method:
```
# Alice measurements
obs0 = tensor(qeye (2),fock_dm (2, 0),qeye (2)
)
c0 = 1 - seq.measure_qsys(observable=obs0)
obs1 = tensor(qeye (2),qeye (2),fock_dm (2, 1)
)
c1 = seq.measure_qsys(observable=obs1)
```
with `fock` ~~`d`~~ `m` imported from QuTip. Besides collapsing
the system in one of the eigenstates of the observables,
the two measurements performed with the `measure` ~~`q`~~ `sys`
method yield two classical bits `c0` ( _c_ 0) and `c1` ( _c_ 1). These
two classical bits are then communicated to Bob via
a classical channel, who now needs to reconstruct the
_|ψ⟩_ state on his qubit with some operation _U_ <sup>ˆ</sup> ( _c_ 0 _, c_ 1),
which also depends on the input state _|ψ⟩_ in this application [18]. The corresponding operations _U_ <sup>ˆ</sup> ( _c_ 0 _, c_ 1) and
their resulting fidelity for each possible _c_ 0 and _c_ 1 and input states _|_ + _X⟩_, _|_ + _Y ⟩_ and _|_ + _Z⟩_ are shown in Tab. I,
which slightly differ from Ref. [18] due to the different
refocusing scheme and the qubit ordering.
To exemplify the state reconstruction process, we take
the _|_ + _Z⟩_ input state as an example. If Alice’s electron
spin qubit is measured in the _|_ 1 _⟩_ state yielding _c_ 0 _,_ _c_ 1 =
1 _,_ 0 or _c_ 0 _,_ _c_ 1 = 1 _,_ 1, Bob does not need to perform any
operation on his qubit, which is already in the state _|ψ⟩_ .
However, if Alice measures her electron spin in the state
_|_ 0 _⟩_ with _c_ 0 _,_ _c_ 1 = 0 _,_ 1 or _c_ 0 _,_ _c_ 1 = 0 _,_ 0, then Bob needs to
perform a rotation of _R_ <sup>ˆ</sup> _y_ ( _π_ ) so that his qubit is then in
the state _|ψ⟩_ . Altogether then, the state reconstruction
for an initial state _|_ + _Z⟩_ is implemented with:
```
# State reconstruction
if c0 == 0. and c1 == 0.:
seq.add_pulse(tpi_mwb, h1_mwb,
pulse_params ={ ' f_pulse ':w0_mwb,
' phi_t ':np.pi/2}, options=
sol_opt)
elif c0 == 0. and c1 == 1.:
seq.add_pulse(tpi_mwb, h1_mwb,
pulse_params ={ ' f_pulse ':w0_mwb,
' phi_t ':np.pi/2}, options=
sol_opt)
elif c0 == 1. and c1 == 0.:
```
Simulation Ideal State
|1
|1
(a) | + X
Re( ij <sup>)</sup>
1.0
0.5
0.0
0.5
1.0
|1
(c) | + Z
Re( ij <sup>)</sup>
1.0
0.5
0.0
0.5
1.0
|0
|0
|1
|1
|0
|0
|1
|1
Re( ij <sup>)</sup>
1.0
0.5
0.0
0.5
1.0
|1
Im( ij <sup>)</sup>
1.0
0.5
0.0
0.5
1.0
|1
|1
Im( ij <sup>)</sup>
1.0
0.5
0.0
0.5
1.0
|1
|0
|0
|0
|0
|0
|0
Im( ij <sup>)</sup>
1.0
0.5
0.0
0.5
1.0
|1
(b) | + Y
|0
|0
FIG. 7. Simulated density matrices from teleportation protocol compared to the ideal teleported states of (a) _|_ + _X⟩_, (b) _|_ + _Y ⟩_
and (c) _|_ + _Z⟩_ . Overall, the simulations show a good agreement with the ideal state, with small deviations in the diagonal
elements of the _|_ + _X⟩_ and _|_ + _Y ⟩_ input states due to dephasings between the three qubits, with the resulting fidelities being
shown in Tab. I. Such simulated fidelities are larger than the experimental values obtained by W. Pfaff _et_ _al._ (2014) [18], in view
of the fact that errors in the state initialization and readout are not considered. The principles involved in the teleportation
protocol serve as the basis for quantum network applications.
```
pass
elif c0 == 1. and c1 == 1.:
pass
```
In the other two initial inputs however, _π/_ 2 pulses are
also required to reconstruct the teleported state. Where
in these cases, the phase accumulated by Bob’s qubit alters the final state and needs to be corrected, which is not
the case for the _π_ -pulse with a complete population inversion. This can be achieved by adding a free evolution
of duration _τ_ 3 such that the qubit will have completed an
integer number of Larmor precessions and thus will have
returned to the same state. Mathematically, this means
that the free evolution duration to cancel the phase accumulation must be
_τ_ 3 = <sup>_<u>⌈ω</u>_</sup> <u>0</u> <sup>_B_</sup>
<u>0</u> <sup>_Bt_</sup> _<u>π</u>_ <sup>_B/_</sup> <sup><u>2</u></sup> <sup>_<u>⌉</u>_</sup>
_ω_ 0 <sup>_B_</sup>
_<u>π</u>_ <sup>_B/_</sup> <sup><u>2</u></sup> <sup>_<u>⌉</u>_</sup> _−_ <sup>_<u>t</u>_</sup> _<u>π</u>_ <sup>_B_</sup>
0 <sup>_B_</sup> 2
_<u>π</u>_
<sup>_B_</sup>
2 <sup>_,_</sup>
where _ω_ 0 <sup>_B_</sup>
where _ω_ 0 <sup>_B_</sup> is the Larmor frequency for Bob’s NV and
_t_ <sup>_B_</sup> _π_ <sup>the</sup> <sup>_π_</sup> <sup>-pulse</sup> <sup>duration,</sup> <sup>as</sup> <sup>previously</sup> <sup>defined.</sup> <sup>Here,</sup> <sup>_⌈·⌉_</sup>
denotes the ceiling function, which rounds the value up to
the nearest integer. Finally, the _π_ rotations around the _z_ axis _R_ <sup>ˆ</sup> _z_ ( _π_ ) present in some _U_ <sup>ˆ</sup> ( _c_ 0 _, c_ 1) can also be obtained
simply with a free evolution of duration 1 _/_ (2 _ω_ 0 <sup>_B_</sup> <sup>).</sup>
The simulated density matrices for each input state
_|ψ⟩_ and an arbitrary output _c_ 0 _c_ 1 are visualized in
Fig. 7, which can be plotted via QuaCCAToo with the
`plot` ~~`h`~~ `istogram` function. The real and imaginary components are compared with the ideal teleported states of
(a) _|_ + _X⟩_, (b) _|_ + _Y ⟩_ and (c) _|_ + _Z⟩_, where we observe
overall a strong agreement. Small deviations can be seen
in the diagonal elements of the _|_ + _X⟩_ and _|_ + _Y ⟩_ states,
which can be attributed to phase accumulations. The
corresponding fidelities for each inputs and outputs are
given in Tab. I. Their values being larger than the corresponding experimental values provided in Ref. [18] can
be attributed to the fact that this simulation does not
consider errors in the optical initialization of the entangled state, neither the spin readout, nor its decoherence.
Nonetheless, this application complements the original
work with a rigorous simulation of the MW and RF pulses
components of the digital twin.
By avoiding the adoption of a rotating frame, a new
layer of complexity to the dynamics of the system is
introduced, related to the phase accumulations of each
qubit in the laboratory frame. These phase accumulations are often overlooked in perturbative models, such
0 <sup>_B_</sup> <sup>).</sup>
as the RWA, which may lead to discrepancies in experimental results [16, 17, 19]. Another interesting result
can be observed by comparing the fidelities for each input state. The _|_ + _Z⟩_ state along the quantization axis of
the NVs presents higher fidelities, due to the fact that
this state is less prone to the phase accumulations in the
perpendicular plane of the quantization.
IV. CONCLUSION AND OUTLOOK
Color centers are prominent physical platforms in the
second quantum revolution, with groundbreaking applications within computing [17, 22, 58, 95, 96], sensing [13, 19, 28, 29, 34, 60, 82], networks [18, 89, 90] and
memory-tokens [97, 98]. The interaction of the quantummechanical spin with optical fields can enable simple experimental control with a great potential for scalability [99] and integration with other systems. At the same
time, their solid state host can provide chemical and mechanical stability [27], combined with long quantum state
lifetimes [96]. Among the color center systems, NVs have
been an epicenter of research, given their simple and robust optical initialization and readout mechanism [9, 10],
in addition to the precise spin manipulation by MW and
RF pulses [3, 13, 21]. A free and open-source software
for simulating the NV system and its interaction with the
environment is therefore vital for the continued progress
of the field. Simplicity and usability are also essential for
educational purposes.
In this work, we have rigorously modeled the NV
Hamiltonian numerically with its environmental inputs,
both its time-independent internal component _H_ <sup>ˆ</sup> 0, as well
as its interaction with control fields _H_ <sup>ˆ</sup> 1( _t_ ) and sensing
targets _H_ <sup>ˆ</sup> 2( _t_ ). The description of the time evolution dynamics under MW and RF control fields makes no use
of perturbative approximation methods, which can lead
to discrepancies between theory and experiments [19].
The simulation framework is based on the solution of the
Lindblad equations within the static laboratory frame,
which can account for non-unitary processes, such as relaxation and decoherence.
The optical inputs and outputs are not actually simulated in this work, but rather used as postulates for the
states initialization and measurement observable. While
the exact simulation of the NV’s interaction with the
optical field can bring important insights into its operation [7, 57], other systems heavily rely on the rigorous
mathematical description of this interaction with light,
such as SiV centers in diamond. This way, in order for
the simulation software to operate with arbitrary NV applications and other color centers, a proper quantummechanical description of the spins and Fock space interaction needs to be modeled. Or within a semi-classical
approach of the electric field interaction with an electric dipole moment, as used for spins in magnetic field.
Furthermore, the rest of this work can be readily implemented with other color centers through the use of
QuaCCAToo, by adjusting the Hamiltonians, observables
and initial states of the desired system.
The usability, robustness, range and flexibility of our
framework are attested by the three application examples provided here. Within the scope of quantum computing and sensing, Secs. III A and III B, we have shown
that the software precisely describes the NV’s (hyperfine) interaction with externally coupled spins in different regimes. This enables the simulation of long and
complex dynamical decoupling sequences, as well as simpler conditional and unconditional excitations by the control field. The use of realistic finite-length MW and RF
pulses gives rise to interesting physical phenomena, which
would otherwise not be accounted for in widely adopted
approximations of _δ_ -pulses with no temporal length. All
of these simulations are implemented with QuaCCAToo’s
pre-built pulsed sequences and methods, with a concise
and intuitive usability.
In Sec. III C, we expand the scope of the digital twin
with a simulation of a quantum network application,
where a quantum state is teleported between two entangled NV spins, within a custom built QuaCCAToo
pulsed sequence. Once more, the solution of the system dynamics in the laboratory frame brings new physical elements to the simulation related to the relative
phase accumulated by the qubits due to the effect of _H_ <sup>ˆ</sup> 0
during finite pules, which are mostly overlooked by the
adoption of rotating frames. All these applications also
serve to validate our software, by showing robust correlations with the experimental results from previously
established groundbreaking reports [13, 18, 19, 21, 22].
Furthermore, this work complements the original experimental studies with a rigorous numerical modeling of the
pulse implementation in the laboratory frame. Where,
as demonstrated here, in the ambiguous resonances of
DD sequences in Sec. III B and the phase accumulation
in the teleportation from Sec. III C, oversimplifications of
the system’s dynamics under the control fields can overlook important physical effects [15, 16, 19, 83].
Apart from the absence of a complete simulation of
the NV interaction with optical fields, other limitations
of the digital twin are related to Python’s limited performance compared to compiled programming languages,
such as C++ and Fortran. On the other hand, Python
holds unmatched accessibility, provided by its simple and
human-readable syntax. An alternative high-level dynamic programming language with better performance
than Python, but with similar accessibility, would be
the fast evolving Julia language [100]. While this could
potentially improve the software’s efficiency, it requires
testing and these mathematical problems are nonetheless
limited by their intrinsic single threaded nature. That is,
for calculating the quantum state in a later time step, one
needs to calculate it in all previous elements of the time
array in sequence. This inherently limits the use of parallelization procedures in the CPU only for different variables in the sequence (such as the frequency of the pulse
or the pulse separation values) and not the time array it
self. Alternatively, performance improvements could be
gained from new theoretical developments in quantum
master equation solvers [11], such as Dyson series based
solvers [101].
DATA AND CODE AVAILABILITY
All experimental data and simulations used in this
work are available at the QuaCCAToo Github repository [20]. All simulations were done with version number
1.1.0 of the QuaCCAToo software and due to its active
development, these implementation might become outdated.
[1] G. Thiering and A. Gali, in _Diamond_ _for_ _[Quantum](https://doi.org/10.1016/bs.semsem.2020.03.001)_ _Ap-_
_[plications](https://doi.org/10.1016/bs.semsem.2020.03.001)_ _Part_ _1_, Semiconductors and Semimetals, Vol.
103, edited by C. E. Nebel, I. Aharonovich, N. Mizuochi,
and M. Hatano (Elsevier, 2020) pp. 1–36.
[2] R. J. D. Tilley, Color centers, in _[Encyclopedia](https://doi.org/10.1007/978-3-642-27851-8_223-2)_ _of_ _Color_
_Science_ _[and](https://doi.org/10.1007/978-3-642-27851-8_223-2)_ _Technology_, edited by R. Luo (Springer
New York, New York, NY, 2014) pp. 1–9.
[3] F. Jelezko, T. Gaebel, I. Popa, A. Gruber, and
J. Wrachtrup, Phys. Rev. Lett. [92](https://doi.org/10.1103/PhysRevLett.92.076401), 076401 (2004).
[4] E. V. Levine, M. J. Turner, P. Kehayias, C. A. Hart,
N. Langellier, R. Trubko, D. R. Glenn, R. R. Fu, and
R. L. Walsworth, Nanophotonics 8, 1945 (2019).
[5] S. Pezzagna and J. Meijer, Applied [Physics](https://doi.org/10.1063/5.0007444) Reviews 8,
[011308](https://doi.org/10.1063/5.0007444) (2021).
[6] J. N. Becker and C. Becher, physica [status](https://doi.org/10.1002/pssa.201700586) solidi (a)
[214](https://doi.org/10.1002/pssa.201700586), 1700586.
[7] I. Panadero, H. Espin´os, L. Tsunaki, K. Volkova,
A. Tobalina, J. Casanova, P. Acedo, B. Naydenov,
R. Puebla, and E. Torrontegui, Physical [Review](https://doi.org/10.1103/PhysRevApplied.22.014035) Applied 22, 014035 (2024).
[8] I. Medina, S. R. Muniz, E. I. Goettems, and
D. O. Soares-Pinto, [Thermodynamics](https://arxiv.org/abs/2503.08769) of the optical
pumping process in nitrogen-vacancy centers (2025),
[arXiv:2503.08769](https://arxiv.org/abs/2503.08769) [quant-ph].
[9] A. Gruber, A. Dr¨abenstedt, C. Tietz, L. Fleury,
J. Wrachtrup, and C. von Borczyskowski, [Science](https://doi.org/10.1126/science.276.5321.2012) 276,
[2012](https://doi.org/10.1126/science.276.5321.2012) (1997).
[10] V. Jacques, P. Neumann, J. Beck, M. Markham,
D. Twitchen, J. Meijer, F. Kaiser, G. Balasubramanian, F. Jelezko, and J. Wrachtrup, Phys. [Rev.](https://doi.org/10.1103/PhysRevLett.102.057403) Lett.
102, [057403](https://doi.org/10.1103/PhysRevLett.102.057403) (2009).
[11] F. Campaioli, J. H. Cole, and H. Hapuarachchi, [PRX](https://doi.org/10.1103/PRXQuantum.5.020202)
Quantum [5](https://doi.org/10.1103/PRXQuantum.5.020202), 020202 (2024).
[12] J. T. Oon, J. Tang, C. A. Hart, K. S. Olsson, M. J.
Turner, J. M. Schloss, and R. L. Walsworth, [Physical](https://doi.org/10.1103/PhysRevB.106.054110)
Review B [106](https://doi.org/10.1103/PhysRevB.106.054110), 054110 (2022).
[13] L. Childress, M. V. G. Dutt, J. M. Taylor, A. S. Zibrov,
F. Jelezko, J. Wrachtrup, P. R. Hemmer, and M. D.
Lukin, Science [314](https://doi.org/10.1126/science.1131871), 281 (2006).
[14] C. Slichter, _Principles_ _of_ _[Magnetic](https://books.google.de/books?id=zgnrRkaIhFoC)_ _Resonance_, Springer
Series in Solid-State Sciences (Springer Berlin Heidelberg, 1996).
[15] D. Yudilevich, A. Salhov, I. Schaefer, K. Herb, A. Ret
zker, and A. Finkler, New Journal of Physics (2023).
ACKNOWLEDGMENTS
We acknowledge Dr. Kseniia Volkova from HelmholtzZentrum Berlin for designing the QuaCCAToo logo. We
are also grateful to Simon Sekavˇcnik from the Technical University of Munich for the insightful discussions on
the concept of the digital twin. This work was supported
by the _Bundesministerium_ _f¨ur_ _Bildung_ _und_ _Forschung_
(BMBF) under the project _DIamant-basiert QuantenTO-_
_Ken_ (DIQTOK - n <sup>o</sup> 16KISQ034) and Diamant-basierte
Quantenmaterialien (DIAQUAM - n <sup>o</sup> 13N16956). In addition, this work received funding from the _Deutsche_
_Forschungsgemeinschaft_ (DFG) grant 410866378.
[16] P. London, P. Balasubramanian, B. Naydenov, L. P.
McGuinness, and F. Jelezko, Phys. Rev. [A](https://doi.org/10.1103/PhysRevA.90.012302) 90, 012302
[(2014).](https://doi.org/10.1103/PhysRevA.90.012302)
[17] J. Scheuer, X. Kong, R. S. Said, J. Chen, A. Kurz,
L. Marseglia, J. Du, P. R. Hemmer, S. Montangero,
T. Calarco, _et_ _al._, New Journal of [Physics](https://iopscience.iop.org/article/10.1088/1367-2630/16/9/093022) 16, 093022
[(2014).](https://iopscience.iop.org/article/10.1088/1367-2630/16/9/093022)
[18] W. Pfaff, B. J. Hensen, H. Bernien, S. B. van Dam, M. S.
Blok, T. H. Taminiau, M. J. Tiggelman, R. N. Schouten,
M. Markham, D. J. Twitchen, and R. Hanson, [Science](https://doi.org/10.1126/science.1253512)
345, 532 (2014).
[19] L. Tsunaki, A. Singh, K. Volkova, S. Trofimov, T. Preg
nolato, T. Schr¨oder, and B. Naydenov, [Physical](https://doi.org/10.1103/PhysRevA.111.022606) Review
A 111, [022606](https://doi.org/10.1103/PhysRevA.111.022606) (2025).
[20] L. Tsunaki, A. Singh, S. Trofimov, K. Volkova, and
B. Naydenov, Quantum Color [Centers](https://github.com/QISS-HZB/QuaCCAToo) Analysis Toolbox [(QuaCCAToo).](https://github.com/QISS-HZB/QuaCCAToo)
[21] F. Jelezko, T. Gaebel, I. Popa, M. Domhan, A. Gruber,
and J. Wrachtrup, Phys. Rev. Lett. [93](https://doi.org/10.1103/PhysRevLett.93.130501), 130501 (2004).
[22] T. H. Taminiau, J. J. T. Wagenaar, T. van der Sar,
F. Jelezko, V. V. Dobrovitski, and R. Hanson, [Phys.](https://doi.org/10.1103/PhysRevLett.109.137602)
Rev. Lett. [109](https://doi.org/10.1103/PhysRevLett.109.137602), 137602 (2012).
[23] C. J. Wort and R. S. Balmer, Materials [Today](https://doi.org/10.1016/S1369-7021%0x2807%0x2970349-8) 11, 22
[(2008).](https://doi.org/10.1016/S1369-7021%0x2807%0x2970349-8)
[24] K. O. Ho, K. C. Wong, M. Y. Leung, Y. Y. Pang, W. K.
Leung, K. Y. Yip, W. Zhang, J. Xie, S. K. Goh, and
[S. Yang, Journal of Applied Physics](https://doi.org/10.1063/5.0052233) 129, 241101 (2021).
[25] X.-D. Chen, C.-H. Dong, F.-W. Sun, C.-L. Zou, J.-M.
[Cui, Z.-F. Han, and G.-C. Guo, Applied Physics Letters](https://doi.org/10.1063/1.3652910)
99, [161903](https://doi.org/10.1063/1.3652910) (2011).
[26] V. M. Acosta, E. Bauch, M. P. Ledbetter, A. Waxman,
L.-S. Bouchard, and D. Budker, Phys. Rev. Lett. 104,
[070801](https://doi.org/10.1103/PhysRevLett.104.070801) (2010).
[27] M. Fujiwara, S. Sun, A. Dohms, Y. Nishimura, K. Suto,
Y. Takezawa, K. Oshimi, L. Zhao, N. Sadzak, Y. Umehara, Y. Teki, N. Komatsu, O. Benson, Y. Shikano, and
E. Kage-Nakadai, Science Advances [6](https://doi.org/10.1126/sciadv.aba9636), eaba9636 (2020).
[28] S. Chen _et_ _al._, Proceedings of the [National](https://doi.org/10.1073/pnas.2118876119) Academy of
Sciences 119, e2118876119 (2022).
[29] N. Aslam _et_ _al._, Nature Reviews [Physics](https://doi.org/10.1038/s42254-023-00558-3) 5, 157 (2023).
[30] G. Thiering and A. Gali, in _Diamond_ _for_ _[Quantum](https://doi.org/10.1016/bs.semsem.2020.03.001)_ _Ap-_
_[plications](https://doi.org/10.1016/bs.semsem.2020.03.001)_ _Part_ _1_, Semiconductors and Semimetals, Vol.
103, edited by C. E. Nebel, I. Aharonovich, N. Mizuochi,
and M. Hatano (Elsevier, 2020) pp. 1–36.
[31] J. A. Larsson and P. Delaney, Phys. Rev. [B](https://doi.org/10.1103/PhysRevB.77.165201) 77, 165201
[(2008).](https://doi.org/10.1103/PhysRevB.77.165201)
[32] A. Gali, M. Fyta, and E. Kaxiras, Phys. [Rev.](https://doi.org/10.1103/PhysRevB.77.155206) B 77,
[155206](https://doi.org/10.1103/PhysRevB.77.155206) (2008).
[33] M. W. Doherty, N. B. Manson, P. Delaney, F. Jelezko,
J. Wrachtrup, and L. C. Hollenberg, Physics Reports
528 [,](https://doi.org/10.1016/j.physrep.2013.02.001) 1 (2013).
[34] L. Rondin, J.-P. Tetienne, T. Hingant, J.-F. Roch,
P. Maletinsky, and V. Jacques, Reports on Progress in
Physics [77](https://doi.org/10.1088/0034-4885/77/5/056503), 056503 (2014).
[35] J. H. N. Loubser and J. A. van Wyk, [Reports](https://doi.org/10.1088/0034-4885/41/8/002) on
Progress in [Physics](https://doi.org/10.1088/0034-4885/41/8/002) 41, 1201 (1978).
[36] T. Plakhotnik, M. W. Doherty, J. H. Cole, R. Chapman,
and N. B. Manson, Nano Letters [14](https://doi.org/10.1021/nl501841d), 4989 (2014), pMID:
25102035, [https://doi.org/10.1021/nl501841d.](https://arxiv.org/abs/https://doi.org/10.1021/nl501841d)
[37] X.-D. Chen, C.-H. Dong, F.-W. Sun, C.-L. Zou, J.-M.
[Cui, Z.-F. Han, and G.-C. Guo, Applied Physics Letters](https://doi.org/10.1063/1.3652910)
99, [161903](https://doi.org/10.1063/1.3652910) (2011).
[38] D. M. Toyli, D. J. Christle, A. Alkauskas, B. B. Buckley,
C. G. Van de Walle, and D. D. Awschalom, [Phys.](https://doi.org/10.1103/PhysRevX.2.031001) Rev.
X 2, [031001](https://doi.org/10.1103/PhysRevX.2.031001) (2012).
[39] V. Iv´ady, H. Zheng, A. Wickenbrock, L. Bougas,
G. Chatzidrosos, K. Nakamura, H. Sumiya, T. Ohshima,
J. Isoya, D. Budker, [I. A. Abrikosov, and A. Gali, Phys.](https://doi.org/10.1103/PhysRevB.103.035307)
Rev. B [103](https://doi.org/10.1103/PhysRevB.103.035307), 035307 (2021).
[40] D. A. Broadway, J. D. Wood, L. T. Hall, A. Stacey,
M. Markham, D. A. Simpson, J.-P. Tetienne, and L. C.
Hollenberg, Physical Review [Applied](https://doi.org/10.1103/PhysRevApplied.6.064001) 6, 064001 (2016).
[41] Z. Qiu, U. Vool, A. Hamo, and A. Yacoby, npj Quantum
Information 7, 39 (2021).
[42] S. Felton, A. M. Edmonds, M. E. Newton, P. M. Mar
tineau, D. Fisher, D. J. Twitchen, and J. M. Baker,
Physical Review B 79, 075203 (2009).
[43] M. W. Doherty, F. Dolde, H. Fedder, F. Jelezko,
J. Wrachtrup, N. B. Manson, and L. C. L. Hollenberg,
Phys. Rev. B [85](https://doi.org/10.1103/PhysRevB.85.205203), 205203 (2012).
[44] F. Dolde, H. Fedder, M. W. Doherty, T. N¨obauer,
F. Rempp, G. Balasubramanian, T. Wolf, F. Reinhard,
L. C. Hollenberg, F. Jelezko, _et_ _al._, Nature Physics 7,
459 (2011).
[45] T. Luo, L. Lindner, J. Langer, V. Cimalla, X. Vidal,
F. Hahl, C. Schreyvogel, S. Onoda, S. Ishii, T. Ohshima,
D. Wang, D. A. Simpson, B. C. Johnson, M. Capelli,
R. Blinder, and J. Jeske, New Journal [of](https://doi.org/10.1088/1367-2630/ac58b6) Physics 24,
[033030](https://doi.org/10.1088/1367-2630/ac58b6) (2022).
[46] M. M. Delgado, L. Tsunaki, S. Michaelson, M. K. Kun
tumalla, J. P. Reithmaier, A. Hoffman, B. Naydenov,
and C. Popov, Diamond and [Related](https://doi.org/10.1016/j.diamond.2025.112126) Materials 154,
[112126](https://doi.org/10.1016/j.diamond.2025.112126) (2025).
[47] S. Pezzagna, B. Naydenov, F. Jelezko, J. Wrachtrup,
and J. Meijer, New Journal of [Physics](https://doi.org/10.1088/1367-2630/12/6/065017) 12, 065017
[(2010).](https://doi.org/10.1088/1367-2630/12/6/065017)
[48] D. P. DiVincenzo, Fortschritte der [Physik:](https://doi.org/10.1002/1521-3978%0x28200009%0x2948:9/11<771::AID-PROP771>3.0.CO;2-E) Progress of
Physics [48](https://doi.org/10.1002/1521-3978%0x28200009%0x2948:9/11<771::AID-PROP771>3.0.CO;2-E), 771 (2000).
[49] A. Gruber, A. Dr¨abenstedt, C. Tietz, L. Fleury,
J. Wrachtrup, and C. von Borczyskowski, [Science](https://doi.org/10.1126/science.276.5321.2012) 276,
[2012](https://doi.org/10.1126/science.276.5321.2012) (1997).
[50] J.-P. Tetienne, L. Rondin, P. Spinicelli, M. Chipaux,
[T. Debuisschert, J.-F. Roch, and V. Jacques, New Jour-](https://doi.org/10.1088/1367-2630/14/10/103033)
nal of [Physics](https://doi.org/10.1088/1367-2630/14/10/103033) 14, 103033 (2012).
[51] M. S. Everitt, S. Devitt, W. J. Munro, and K. Nemoto,
Phys. Rev. A [89](https://doi.org/10.1103/PhysRevA.89.052317), 052317 (2014).
[52] I. Schwartz, J. Scheuer, B. Tratzmiller, S. M¨uller,
Q. Chen, I. Dhand, Z.-Y. Wang, C. M¨uller, B. Nay
denov, F. Jelezko, and M. B. Plenio, Science [Advances](https://doi.org/10.1126/sciadv.aat8978)
4, [eaat8978](https://doi.org/10.1126/sciadv.aat8978) (2018).
[53] J. M. Binder, A. Stark, N. Tomek, J. Scheuer, F. Frank,
K. D. Jahnke, C. M¨uller, S. Schmitt, M. H. Metsch,
T. Unden, T. Gehring, A. Huck, U. L. Andersen, L. J.
Rogers, and F. Jelezko, SoftwareX [6](https://doi.org/https://doi.org/10.1016/j.softx.2017.02.001), 85 (2017).
[54] P. Neumann, J. Beck, M. Steiner, F. Rempp, H. Fedder,
P. R. Hemmer, J. Wrachtrup, and F. Jelezko, [Science](https://doi.org/10.1126/science.1189075)
329, 542 (2010).
[55] R. Albrecht, A. Bommer, C. Deutsch, J. Reichel, and
C. Becher, Phys. Rev. Lett. [110](https://doi.org/10.1103/PhysRevLett.110.243602), 243602 (2013).
[56] H. Hapuarachchi, F. Campaioli, and J. H. Cole,
Nanophotonics 11, 4919 (2022).
[57] Y. Chen, L. Oberg, J. Flick, A. Lozovoi, C. A. Meriles,
and M. W. Doherty, Phys. Rev. B [109](https://doi.org/10.1103/PhysRevB.109.L201115), L201115 (2024).
[58] F. Dolde, V. Bergholm, Y. Wang, I. Jakobi, B. Nayde
nov, S. Pezzagna, J. Meijer, F. Jelezko, P. Neumann,
T. Schulte-Herbr¨uggen, _et_ _al._, Nature [communications](https://www.nature.com/articles/ncomms4371)
5, [3371](https://www.nature.com/articles/ncomms4371) (2014).
[59] B. T. Torosov and N. V. Vitanov, Physical [Review](https://doi.org/10.1103/PhysRevApplied.18.034062) Ap
plied 18, 034062 (2022).
[60] L. Childress, M. V. G. Dutt, J. M. Taylor, A. S. Zibrov,
F. Jelezko, J. Wrachtrup, P. R. Hemmer, and M. D.
Lukin, Science [314](https://doi.org/10.1126/science.1131871), 281 (2006).
[61] Y. Azuma, S. Nomura, H. Watanabe, and S. Kashiwaya,
Angle dependence of <sup>15</sup> n [nuclear](https://arxiv.org/abs/2306.07556) spin dynamics in dia[mond](https://arxiv.org/abs/2306.07556) nv centers (2023).
[62] H. J. Mamin, M. H. Sherwood, M. Kim, C. T. Rettner,
K. Ohno, D. D. Awschalom, and D. Rugar, [Phys.](https://doi.org/10.1103/PhysRevLett.113.030803) Rev.
Lett. 113 [,](https://doi.org/10.1103/PhysRevLett.113.030803) 030803 (2014).
[63] [C. L. Degen, F. Reinhard, and P. Cappellaro, Rev. Mod.](https://doi.org/10.1103/RevModPhys.89.035002)
Phys. 89 [,](https://doi.org/10.1103/RevModPhys.89.035002) 035002 (2017).
[64] S. Trofimov, C. Thessalonikios, V. Deinhart, A. Spyran
tis, L. Tsunaki, K. Volkova, K. H¨oflich, and B. Naydenon, Local nanoscale probing [of](https://arxiv.org/abs/2507.13295) electron spins using nv
[centers in diamond (2025), arXiv:2507.13295 [quant-ph].](https://arxiv.org/abs/2507.13295)
[65] F. Iavernaro and F. Mazzia, Applied [Numerical](https://www.sciencedirect.com/science/article/pii/S0168927498000397) Math
ematics [28](https://www.sciencedirect.com/science/article/pii/S0168927498000397), 107 (1998).
[66] L. Brugnano, K. Burrage, and P. Burrage, BIT [Numer-](https://link.springer.com/article/10.1023/A:1022363612387)
ical [Mathematics](https://link.springer.com/article/10.1023/A:1022363612387) 40, 451 (2000).
[67] G. K. Gupta, R. Sacks-Davis, and P. E. Tescher, [ACM](https://doi.org/10.1145/4078.4079)
Computing [Surveys](https://doi.org/10.1145/4078.4079) (CSUR) 17, 5 (1985).
[68] [J. Johansson, P. Nation, and F. Nori, Computer Physics](https://doi.org/10.1016/j.cpc.2012.02.021)
[Communications](https://doi.org/10.1016/j.cpc.2012.02.021) 183, 1760 (2012).
[69] [J. Johansson, P. Nation, and F. Nori, Computer Physics](https://doi.org/10.1016/j.cpc.2012.11.019)
[Communications](https://doi.org/10.1016/j.cpc.2012.11.019) 184, 1234 (2013).
[70] T. E. Oliphant, Computing in science & engineering
[10.1109/MCSE.2007.58.](https://doi.org/10.1109/MCSE.2007.58)
[71] G. Lindblad, Communications in [mathematical](https://link.springer.com/article/10.1007/bf01608499) physics
48, [119](https://link.springer.com/article/10.1007/bf01608499) (1976).
[72] H.-P. Breuer and F. Petruccione, _The_ _theory_ _of_ _open_
_quantum_ _systems_ (OUP Oxford, 2002).
[73] E. L. Hahn, Phys. Rev. [80](https://doi.org/10.1103/PhysRev.80.580), 580 (1950).
[74] H. Y. Carr and E. M. Purcell, Phys. Rev. [94](https://doi.org/10.1103/PhysRev.94.630), 630 (1954).
[75] S. Meiboom and D. Gill, Review of [Scientific](https://doi.org/10.1063/1.1716296) Instru
ments [29](https://doi.org/10.1063/1.1716296), 688 (2004).
[76] B. Naydenov, F. Dolde, L. T. Hall, C. Shin, H. Fedder,
[L. C. L. Hollenberg, F. Jelezko, and J. Wrachtrup, Phys.](https://doi.org/10.1103/PhysRevB.83.081201)
Rev. B [83](https://doi.org/10.1103/PhysRevB.83.081201), 081201 (2011).
[77] T. Gullion, D. B. Baker, and M. S. Conradi, [Journal](https://doi.org/https://doi.org/10.1016/0022-2364%0x2890%0x2990331-3) of
Magnetic [Resonance](https://doi.org/https://doi.org/10.1016/0022-2364%0x2890%0x2990331-3) (1969) 89, 479 (1990).
[78] K. Dinse and C. Winscom, Triplet state odmr spec
troscopy (1982).
[79] [J. Cai, A. Retzker, F. Jelezko, and M. B. Plenio, Nature](https://www.nature.com/articles/nphys2519)
Physics 9, 168 (2013).
[80] P. Neumann, _Towards_ _a_ _room_ _temperature_ _solid_ _state_
_quantum_ _processor-the_ _nitrogen-vacancy_ _center_ _in_ _dia-_
_mond_, Ph.D. thesis, Stuttgart, Universit¨at Stuttgart,
Diss., 2011 (2012).
[81] L. G. Rowan, E. L. Hahn, and W. B. Mims, [Phys.](https://doi.org/10.1103/PhysRev.137.A61) Rev.
13, [AB61](https://doi.org/10.1103/PhysRev.137.A61) (1965).
[82] G. de Lange, D. Rist`e, V. V. Dobrovitski, and R. Han
son, Phys. Rev. Lett. [106](https://doi.org/10.1103/PhysRevLett.106.080802), 080802 (2011).
[83] M. Loretz, J. M. Boss, T. Rosskopf, H. J. Mamin, D. Ru
gar, and C. L. Degen, Phys. Rev. X [5](https://doi.org/10.1103/PhysRevX.5.021009), 021009 (2015).
[84] R. L. Fagaly, Review of [Scientific](https://doi.org/10.1063/1.2354545) Instruments 77,
[101101](https://doi.org/10.1063/1.2354545) (2006).
[85] C. M¨uller, _Sensing_ _single_ _spins_ _with_ _colour_ _centres_ _in_
_diamond_, Ph.D. thesis (2016).
[86] Z.-Y. Wang, J. E. Lang, S. Schmitt, J. Lang,
J. Casanova, L. McGuinness, T. S. Monteiro, F. Jelezko,
and M. B. Plenio, Phys. Rev. Lett. [122](https://doi.org/10.1103/PhysRevLett.122.200403), 200403 (2019).
[87] J. F. Haase, Z.-Y. Wang, J. Casanova, and M. B. Plenio,
Phys. Rev. A [94](https://doi.org/10.1103/PhysRevA.94.032322), 032322 (2016).
[88] I. Oliveira, R. Sarthour Jr, T. Bonagamba, E. Azevedo,
and J. C. Freitas, _[NMR quantum information processing](https://shop.elsevier.com/books/nmr-quantum-information-processing/oliveira/978-0-444-52782-0)_
(Elsevier, 2007).
[89] P. C. Humphreys, N. Kalb, J. P. Morits, R. N. Schouten,
R. F. Vermeulen, D. J. Twitchen, M. Markham, and
R. Hanson, Nature 558 [,](https://www.nature.com/articles/s41586-018-0200-5) 268 (2018).
[90] M. Pompili, S. L. N. Hermans, S. Baier, H. K. C.
Beukers, P. C. Humphreys, R. N. Schouten, R. F. L.
Vermeulen, M. J. Tiggelman, L. dos Santos Martins,
B. Dirkse, S. Wehner, and R. Hanson, Science [372](https://doi.org/10.1126/science.abg1919), 259
[(2021).](https://doi.org/10.1126/science.abg1919)
[91] H. Bernien, B. Hensen, W. Pfaff, G. Koolstra, M. S.
Blok, L. Robledo, T. H. Taminiau, M. Markham, D. J.
Twitchen, L. Childress, _et_ _al._, Nature [497](https://www.nature.com/articles/nature12016), 86 (2013).
[92] J. Hadden, J. Harrison, A. C. Stanley-Clarke,
L. Marseglia, Y.-L. Ho, B. Patton, J. L. O’Brien,
and J. Rarity, Applied Physics Letters 97,
[10.1063/1.3519847](https://doi.org/10.1063/1.3519847) (2010).
[93] L. Marseglia, J. Hadden, A. C. Stanley-Clarke, J. Har
rison, B. Patton, Y.-L. Ho, B. Naydenov, F. Jelezko,
J. Meijer, P. Dolan, _et_ _al._, Applied Physics Letters 98,
[10.1063/1.3573870](https://doi.org/10.1063/1.3573870) (2011).
[94] L. Robledo, L. Childress, H. Bernien, B. Hensen, P. F.
Alkemade, and R. Hanson, Nature 477 [,](https://www.nature.com/articles/nature10401) 574 (2011).
[95] G. Waldherr, Y. Wang, S. Zaiser, M. Jamali, T. Schulte
Herbr¨uggen, H. Abe, T. Ohshima, J. Isoya, J. Du,
P. Neumann, _et_ _al._, Nature 506 [,](https://www.nature.com/articles/nature12919) 204 (2014).
[96] P. C. Maurer, G. Kucsko, C. Latta, L. Jiang, N. Y. Yao,
S. D. Bennett, F. Pastawski, D. Hunger, N. Chisholm,
M. Markham, D. J. Twitchen, J. I. Cirac, and M. D.
Lukin, Science 336 [,](https://doi.org/10.1126/science.1220513) 1283 (2012).
[97] L. Tsunaki, B. Bauerhenne, M. Xibraku, M. E. Gar
cia, K. Singer, and B. Naydenov, Quantum [Science](http://iopscience.iop.org/article/10.1088/2058-9565/ae03e6) and
[Technology](http://iopscience.iop.org/article/10.1088/2058-9565/ae03e6) (2025).
[98] B. Bauerhenne, L. Tsunaki, J. Thieme, B. Nayde
nov, and K. Singer, Quantum [Science](http://iopscience.iop.org/article/10.1088/2058-9565/ae03e7) and Technology
[(2025).](http://iopscience.iop.org/article/10.1088/2058-9565/ae03e7)
[99] P.-J. Stas, Y. Q. Huan, B. Machielse, E. N. Knall,
A. Suleymanzade, B. Pingault, M. Sutula, S. W. Ding,
C. M. Knaut, D. R. Assumpcao, _et_ _al._, Science [378](https://doi.org/10.1126/science.add9771), 557
[(2022).](https://doi.org/10.1126/science.add9771)
[100] J. Bezanson, S. Karpinski, V. B. Shah, and A. Edelman,
Julia: [A fast dynamic language for technical computing](https://arxiv.org/abs/1209.5145)
(2012), [arXiv:1209.5145](https://arxiv.org/abs/1209.5145) [cs.PL].
[101] R. Shillito, J. A. Gross, A. Di Paolo, E. Genois, and
A. Blais, Phys. Rev. Res. [3](https://doi.org/10.1103/PhysRevResearch.3.033266), 033266 (2021).
섹션 본문
섹션 본문이 없습니다.
참고문헌 84건
- (제목 없음) BIT Numerical Mathematics · Springer Science+Business Media · 2000 10.1023/a:1022363612387
- Theory of the ground-state spin of the NV<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:msup><mml:mrow /><mml:mo>−</mml:mo></mml:msup></mml:math>center in diamond Physical Review B · American Physical Society · 2012 10.1103/physrevb.85.205203
- A large-scale quantum simulator on a diamond surface at room temperature Nature Physics · Nature Portfolio · 2013 10.1038/nphys2519
- Single-Shot Readout of a Single Nuclear Spin Science · American Association for the Advancement of Science · 2010 10.1126/science.1189075
- Detection and Control of Individual Nuclear Spins Using a Weakly Coupled Electron Spin Physical Review Letters · American Physical Society · 2012 10.1103/physrevlett.109.137602
- Solving ordinary differential equations by generalized Adams methods: properties and implementation techniques Applied Numerical Mathematics · Elsevier BV · 1998 10.1016/s0168-9274(98)00039-7
- Multipulse Double-Quantum Magnetometry with Near-Surface Nitrogen-Vacancy Centers Physical Review Letters · American Physical Society · 2014 10.1103/physrevlett.113.030803
- <i>Ab initio</i>supercell calculations on nitrogen-vacancy center in diamond: Electronic structure and hyperfine tensors Physical Review B · American Physical Society · 2008 10.1103/physrevb.77.155206
- Dynamical decoupling of a single-electron spin at room temperature Physical Review B · American Physical Society · 2011 10.1103/physrevb.83.081201
- Effects of Diffusion on Free Precession in Nuclear Magnetic Resonance Experiments Physical Review · American Institute of Physics · 1954 10.1103/physrev.94.630
- High-fidelity projective read-out of a solid-state spin quantum register Nature · Nature Portfolio · 2011 10.1038/nature10401
- Hyperfine interaction in the ground state of the negatively charged nitrogen vacancy center in diamond Physical Review B · American Physical Society · 2009 10.1103/physrevb.79.075203
- Electron-Spin-Echo Envelope Modulation Physical Review · American Institute of Physics · 1965 10.1103/physrev.137.a61
- Diamond as an electronic material Materials Today · Elsevier BV · 2008 10.1016/s1369-7021(07)70349-8
- Temperature Dependence of the Nitrogen-Vacancy Magnetic Resonance in Diamond Physical Review Letters · American Physical Society · 2010 10.1103/physrevlett.104.070801
- New, compensated Carr-Purcell sequences Journal of Magnetic Resonance (1969) · Elsevier BV · 1990 10.1016/0022-2364(90)90331-3
- Measurement and Control of Single Nitrogen-Vacancy Center Spins above 600 K Physical Review X · American Physical Society · 2012 10.1103/physrevx.2.031001
- Coupling of a Single Nitrogen-Vacancy Center in Diamond to a Fiber-Based Microcavity Physical Review Letters · American Physical Society · 2013 10.1103/physrevlett.110.243602
- Spurious Harmonic Response of Multipulse Quantum Sensing Sequences Physical Review X · American Physical Society · 2015 10.1103/physrevx.5.021009
- Strong driving of a single spin using arbitrarily polarized fields Physical Review A · American Physical Society · 2014 10.1103/physreva.90.012302
- On the generators of quantum dynamical semigroups Communications in Mathematical Physics · Springer Science+Business Media · 1976 10.1007/bf01608499
- Nanofabricated solid immersion lenses registered to single emitters in diamond Applied Physics Letters · American Institute of Physics · 2011 10.1063/1.3573870
- Electric-field sensing using single diamond spins Nature Physics · Nature Portfolio · 2011 10.1038/nphys1969
- Electronic structure of the nitrogen-vacancy center in diamond from first-principles theory Physical Review B · American Physical Society · 2008 10.1103/physrevb.77.165201
- High-fidelity spin entanglement using optimal control Nature Communications · Nature Portfolio · 2014 10.1038/ncomms4371
- A review of recent developments in solving ODEs ACM Computing Surveys · Association for Computing Machinery · 1985 10.1145/4078.4079
- The nitrogen-vacancy colour centre in diamond Physics Reports · Elsevier BV · 2013 10.1016/j.physrep.2013.02.001
- Coherent Dynamics of Coupled Electron and Nuclear Spin Qubits in Diamond Science · American Association for the Advancement of Science · 2006 10.1126/science.1131871
- Observation of Coherent Oscillations in a Single Electron Spin Physical Review Letters · American Physical Society · 2004 10.1103/physrevlett.92.076401
- All-Optical Thermometry and Thermal Properties of the Optically Detected Spin Resonances of the NV<sup>–</sup> Center in Nanodiamond Nano Letters · American Chemical Society · 2014 10.1021/nl501841d
- Quantum error correction in a solid-state hybrid spin register Nature · Nature Portfolio · 2014 10.1038/nature12919
- Temperature dependent energy level shifts of nitrogen-vacancy centers in diamond Applied Physics Letters · American Institute of Physics · 2011 10.1063/1.3652910
- Observation of Coherent Oscillation of a Single Nuclear Spin and Realization of a Two-Qubit Conditional Quantum Gate Physical Review Letters · American Physical Society · 2004 10.1103/physrevlett.93.130501
- Dynamic Polarization of Single Nuclear Spins by Optical Pumping of Nitrogen-Vacancy Color Centers in Diamond at Room Temperature Physical Review Letters · American Physical Society · 2009 10.1103/physrevlett.102.057403
- Modified Spin-Echo Method for Measuring Nuclear Relaxation Times Review of Scientific Instruments · American Institute of Physics · 1958 10.1063/1.1716296
- Single-Spin Magnetometry with Multipulse Sensing Sequences Physical Review Letters · American Physical Society · 2011 10.1103/physrevlett.106.080802
- High-fidelity gate operations with the coupled nuclear and electron spins of a nitrogen-vacancy center in diamond Physical Review A · American Physical Society · 2014 10.1103/physreva.89.052317
- Superconducting quantum interference device instruments and applications Review of Scientific Instruments · American Institute of Physics · 2006 10.1063/1.2354545
- Scanning Confocal Optical Microscopy and Magnetic Resonance on Single Defect Centers Science · American Association for the Advancement of Science · 1997 10.1126/science.276.5321.2012
- Heralded entanglement between solid-state qubits separated by three metres Nature · Nature Portfolio · 2013 10.1038/nature12016
- QuTiP: An open-source Python framework for the dynamics of open quantum systems Computer Physics Communications · Elsevier BV · 2012 10.1016/j.cpc.2012.02.021
- Strongly enhanced photon collection from diamond defect centers under microfabricated integrated solid immersion lenses Applied Physics Letters · American Institute of Physics · 2010 10.1063/1.3519847
- Magnetometry with nitrogen-vacancy defects in diamond Reports on Progress in Physics · IOP Publishing · 2014 10.1088/0034-4885/77/5/056503
- Room-Temperature Quantum Bit Memory Exceeding One Second Science · American Association for the Advancement of Science · 2012 10.1126/science.1220513
- Creation efficiency of nitrogen-vacancy centres in diamond New Journal of Physics · IOP Publishing · 2010 10.1088/1367-2630/12/6/065017
- QuTiP 2: A Python framework for the dynamics of open quantum systems Computer Physics Communications · Elsevier BV · 2012 10.1016/j.cpc.2012.11.019
- Electron spin resonance in the study of diamond Reports on Progress in Physics · IOP Publishing · 1978 10.1088/0034-4885/41/8/002
- The Physical Implementation of Quantum Computation Fortschritte der Physik · Wiley · 2000 10.1002/1521-3978(200009)48:9/11<771::aid-prop771>3.0.co;2-e
- Precise qubit control beyond the rotating wave approximation New Journal of Physics · IOP Publishing · 2014 10.1088/1367-2630/16/9/093022
- Basic Concepts on Nuclear Magnetic Resonance Elsevier eBooks · Elsevier BV · 2007 10.1016/b978-044452782-0/50004-x
- Pulse-phase control for spectral disambiguation in quantum sensing protocols Physical review. A/Physical review, A · American Physical Society · 2016 10.1103/physreva.94.032322
- Qudi: A modular python suite for experiment control and data processing SoftwareX · Elsevier BV · 2017 10.1016/j.softx.2017.02.001
- Unconditional quantum teleportation between distant solid-state quantum bits Science · American Association for the Advancement of Science · 2014 10.1126/science.1253512
- Coherence Properties and Quantum Control of Silicon Vacancy Color Centers in Diamond physica status solidi (a) · Wiley · 2017 10.1002/pssa.201700586
- Robust optical polarization of nuclear spin baths using Hamiltonian engineering of nitrogen-vacancy center quantum dynamics Science Advances · American Association for the Advancement of Science · 2018 10.1126/sciadv.aat8978
- Deterministic delivery of remote entanglement on a quantum network Nature · Nature Portfolio · 2018 101038s4158601802005
- Randomization of Pulse Phases for Unambiguous and Robust Quantum Sensing Physical Review Letters · American Physical Society · 2019 10.1103/physrevlett.122.200403
- Magnetic-field-dependent photodynamics of single NV defects in diamond: an application to qualitative all-optical magnetic imaging New Journal of Physics · IOP Publishing · 2012 10.1088/1367-2630/14/10/103033
- Principles and techniques of the quantum diamond microscope Nanophotonics · De Gruyter · 2018 10.1515/nanoph-2019-0209
- Real-time nanodiamond thermometry probing in vivo thermogenic responses Science Advances · American Association for the Advancement of Science · 2020 10.1126/sciadv.aba9636
- Photoluminescence at the ground-state level anticrossing of the nitrogen-vacancy center in diamond: A comprehensive study Physical review. B./Physical review. B · American Physical Society · 2021 10.1103/physrevb.103.035307
- Quantum sensing Reviews of Modern Physics · American Physical Society · 2017 10.1103/revmodphys.89.035002
- Anticrossing Spin Dynamics of Diamond Nitrogen-Vacancy Centers and All-Optical Low-Frequency Magnetometry Physical Review Applied · American Physical Society · 2016 10.1103/physrevapplied.6.064001
- Realization of a multinode quantum network of remote solid-state qubits Science · American Association for the Advancement of Science · 2021 10.1126/science.abg1919
- Quantum computer based on color centers in diamond Applied Physics Reviews · American Institute of Physics · 2021 10.1063/5.0007444
- Nuclear spin assisted magnetic field angle sensing npj Quantum Information · Nature Portfolio · 2021 10.1038/s41534-021-00374-6
- Recent developments of quantum sensing under pressurized environment using the nitrogen vacancy (NV) center in diamond Journal of Applied Physics · American Institute of Physics · 2021 10.1063/5.0052233
- Fast and differentiable simulation of driven quantum systems Physical Review Research · American Physical Society · 2021 10.1103/physrevresearch.3.033266
- Immunomagnetic microscopy of tumor tissues using quantum sensors in diamond Proceedings of the National Academy of Sciences · National Academy of Sciences · 2022 10.1073/pnas.2118876119
- Creation of nitrogen-vacancy centers in chemical vapor deposition\n diamond for sensing applications arXiv (Cornell University) · Cornell University · 2021 10.1088/1367-2630/ac58b6
- Spin Echoes Physical Review · American Institute of Physics · 1950 10.1103/physrev.80.580
- Ramsey envelope modulation in NV diamond magnetometry Physical review. B./Physical review. B · American Physical Society · 2022 10.1103/physrevb.106.054110
- Experimental Demonstration of Composite Pulses on IBM’s Quantum Computer Physical Review Applied · American Physical Society · 2022 10.1103/physrevapplied.18.034062
- NV‐plasmonics: modifying optical emission of an NV <sup>−</sup> center via plasmonic metal nanoparticles Nanophotonics · De Gruyter · 2022 10.1515/nanoph-2022-0429
- Robust multi-qubit quantum network node with integrated error detection Science · American Association for the Advancement of Science · 2022 10.1126/science.add9771
- Quantum sensors for biomedical applications Nature Reviews Physics · Nature Portfolio · 2023 10.1038/s42254-023-00558-3
- Coherent manipulation of nuclear spins in the strong driving regime New Journal of Physics · IOP Publishing · 2023 10.1088/1367-2630/ad0c0b
- Semiempirical <i>ab initio</i> modeling of bound states of deep defects in semiconductor quantum technologies Physical review. B./Physical review. B · American Physical Society · 2024 10.1103/physrevb.109.l201115
- Quantum Master Equations: Tips and Tricks for Quantum Optics, Quantum Computing, and Beyond PRX Quantum · American Physical Society · 2024 10.1103/prxquantum.5.020202
- Photon-emission statistics for single nitrogen-vacancy centers Physical Review Applied · American Physical Society · 2024 10.1103/physrevapplied.22.014035
- Ambiguous resonances in multipulse quantum sensing with nitrogen-vacancy centers Physical review. A/Physical review, A · American Physical Society · 2025 10.1103/physreva.111.022606
- Impact of annealing and nanostructuring on properties of NV centers created by different techniques Diamond and Related Materials · Elsevier BV · 2025 10.1016/j.diamond.2025.112126
- Security analysis of ensemble-based quantum token protocol under advanced attacks Quantum Science and Technology · IOP Publishing · 2025 10.1088/2058-9565/ae03e7
- Ensemble-based quantum token protocol benchmarked on IBM quantum processors Quantum Science and Technology · IOP Publishing · 2025 10.1088/2058-9565/ae03e6