<codeBook xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="ddi:codebook:2_5 http://www.ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd" xmlns="ddi:codebook:2_5">
  <docDscr>
    <citation>
      <titlStmt>
        <titl xml:lang="sv"></titl>
        <parTitl xml:lang="en">Data and Codes for "Decoherence of Schroedinger cat states in light of wave/particle duality"</parTitl>
        <IDNo agency="SND">doi-10-17045-sthlmuni-31000072-0</IDNo>
        <IDNo agency="DOI">https://doi.org/10.17045/STHLMUNI.31000072</IDNo>
      </titlStmt>
      <prodStmt>
        <producer xml:lang="en" abbr="SND">Swedish National Data Service</producer>
        <producer xml:lang="sv" abbr="SND">Svensk nationell datatjänst</producer>
      </prodStmt>
      <holdings URI="https://doi.org/10.17045/STHLMUNI.31000072">Landing page</holdings>
    </citation>
  </docDscr>
  <stdyDscr>
    <citation>
      <titlStmt>
        <titl xml:lang="sv"></titl>
        <parTitl xml:lang="en">Data and Codes for "Decoherence of Schroedinger cat states in light of wave/particle duality"</parTitl>
        <IDNo agency="SND">doi-10-17045-sthlmuni-31000072-0</IDNo>
        <IDNo agency="DOI">https://doi.org/10.17045/STHLMUNI.31000072</IDNo>
      </titlStmt>
      <rspStmt>
        <AuthEnty xml:lang="en" affiliation="Stockholm University">Mavrogordatos, Themistoklis</AuthEnty>
      </rspStmt>
      <prodStmt />
      <distStmt>
        <distrbtr xml:lang="en" abbr="SND" URI="https://snd.se">Swedish National Data Service</distrbtr>
        <distrbtr xml:lang="sv" abbr="SND" URI="https://snd.se">Svensk nationell datatjänst</distrbtr>
        <distDate xml:lang="en" date="2026-01-08" />
      </distStmt>
      <verStmt>
        <version elementVersion="0" elementVersionDate="2026-01-08" />
      </verStmt>
      <holdings URI="https://doi.org/10.17045/STHLMUNI.31000072">Landing page</holdings>
    </citation>
    <stdyInfo>
      <subject />
      <abstract xml:lang="en" contentType="abstract">We challenge the standard picture of decohering Schroedigner cat states as an ensemble average obeying a Lindblad master equation, brought about locally from an irreversible interaction with an environment. We generate self-consistent collections of pure system states correlated with specific environmental records, corresponding to the function of the wave-particle correlator first introduced [Phys. Rev. Lett. 85, 1855 (2000)]. In the spirit of [Coherent States: Past, Present and Future, pp. 75-91, World Scientific (1994)], we find that the complementary unravelings evince a pronounced disparity when the ``position'' and ``momentum'' of the damped cavity mode -- an explicitly open quantum system -- are measured. Intensity-field correlations may largely deviate from a monotonic decay, while Wigner functions of the cavity state display contrasting manifestations of quantum interference when conditioned on photon counts sampling a continuous photocurrent. In turn, the conditional photodetection events mark the contextual diffusion of both the net charge generated at the homodyne detector, and the electromagnetic field amplitude in the resonator.

The present dataset includes codes and data as MATLAB .m and .mat files, respectively. Data generated and used for each figure are grouped according to the figure order in the manuscript. For example, FIG2/W_J3_0.mat corresponds to the matrix data used to plot a conditioned Wigner function in Fig. 2,namely the one at the time (3-1)dt=2dt with local-oscillator phase equal to 0. 

The main MATLAB code for generating quantum trajectories and the intensity-field correlation function, depicted in Fig. 2, is titled HomCat.m. The main code used to generate the charge distributions depicted in Fig. 3 is titled Trajectory_WPC.m.The rest serve as  auxiliary scripts either to assess the principal data or plot specific functions.</abstract>
      <sumDscr />
    </stdyInfo>
    <method>
      <dataColl />
    </method>
    <dataAccs>
      <useStmt>
        <restrctn xml:lang="en">Access to data through an external actor. </restrctn>
        <restrctn xml:lang="sv">Åtkomst till data via extern aktör. </restrctn>
      </useStmt>
    </dataAccs>
    <othrStdyMat />
  </stdyDscr>
</codeBook>