\section{#1}\vspace*{-2mm}}
\newcommand{\mysubsection}[1]{\vspace*{-1mm}\subsection{#1}\vspace*{-1mm}}
\newcommand{\mysubsubsection}[1]{\subsubsection{#1}}

\crefformat{footnote}{#2\footnotemark[#1]#3}

\title{GANStrument: Adversarial Instrument Sound Synthesis\\ with Pitch-invariant Instance Conditioning}
\name{Gaku Narita, Junichi Shimizu, and Taketo Akama}
\address{Sony Computer Science Laboratories, Tokyo, Japan}

\begin{document}
\maketitle
\begin{abstract}\vspace*{-1mm}
We propose GANStrument, a generative adversarial model for instrument sound synthesis.
Given a one-shot sound as input, it is able to generate pitched instrument sounds that reflect the timbre of the input within an interactive time.
By exploiting instance conditioning, GANStrument achieves better fidelity and diversity of synthesized sounds and generalization ability to various inputs.
In addition, we introduce an adversarial training scheme for a pitch-invariant feature extractor that significantly improves the pitch accuracy and timbre consistency.
Experimental results show that GANStrument outperforms strong baselines that do not use instance conditioning in terms of generation quality and input editability.
Qualitative examples are available online\footnote{\label{1}Audio examples are available on \url{https://ganstrument.github.io/ganstrument-demo/}}.
\end{abstract}
\begin{keywords}
neural synthesizer, generative adversarial networks, adversarial feature extraction
\end{keywords}

\mysection{Introduction}
\label{sec:introduction}

Since the advent of computers, many musicians and researchers have explored ways to generate music with computers.
There are two main approaches: direct synthesis of music sounds including melody and accompaniment, and single note synthesis followed by playing symbolic music like MIDI.
The former enables end-to-end music synthesis, but has low controllability of generation.
The latter enables MIDI and timbre to be independently controlled and is compatible with production flows in the music industry.
In this paper, we tackled instrument sound synthesis for the latter approach.

Realistic instrument sounds are typically synthesized with samplers that utilize recorded one-shot sounds.
Although arbitrary sound materials can be exploited, it is difficult to synthesize a completely new timbre or intelligently combine multiple sounds.
In contrast, recently reported deep generative models for audio synthesis \cite{engel2017neural,engel2018gansynth,DBLP:conf/ismir/LuoAH19,nistal2020drumgan,engel2020ddsp,shan2022differentiable} have the potential to generate and mix a variety of timbres by exploring the latent space.
Our aim is to design a neural synthesizer that combines the flexibility of samplers with the generative power of deep networks, thereby enabling users to freely control the timbre by leveraging existing sound materials.
For practical use, it needs to not only be generalized to a variety of inputs but also be able to generate high-quality audio with accurate pitch within an interactive time.

Towards this end, we present GANStrument, a novel neural instrument sound synthesizer.
To enable the model to accept various inputs, we focus on instance conditioning \cite{casanova2021instanceconditioned}, a new GAN training scheme for conditioning a model on input features.
In addition, we present a pitch-invariant feature extractor based on adversarial training that disentangles the latent space and significantly improves pitch accuracy and timbre consistency.
Furthermore, use of the modern GAN architecture, parallel sampling with spectrogram representation, and carefully designed audio inversion enables high-quality audio to be generated within an interactive time.

\mysection{Method}
\label{sec:method}

\begin{figure*}[t]
  \centering
     \includegraphics[height=3.5cm]{img/ganstrument_overview_v5.png}
     \vspace*{-4mm}
     \caption{Overview of GANStrument. Left side shows training and inference pipeline of generative model. Right side depicts adversarial training scheme of feature extractor.}
     \label{fig:model_overview}
\end{figure*}

As depicted in Fig. \ref{fig:model_overview}, the input waveform is first transformed into a mel-spectrogram $\mathbf{x}_i$, and its feature $\mathbf{h}_i$ is extracted with the feature extractor $f_\phi$.
It is fed into the generator $G$ together with pitch $\mathbf{p}$ and noise $\mathbf{z}$ to synthesize a mel-spectrogram $\mathbf{x}^\mathrm{g}$, which is transformed into a waveform by optimization-based audio inversion.
Feature extractor $f_\phi$ is first trained by incorporating the pitch-adversarial loss into a standard classification loss.
Using a frozen feature extractor, we jointly train the generator $G$ and discriminator $D$ with input neighborhoods as real samples.

\mysubsection{Instance conditioning}
\label{subsec:instance_conditioning}

Class-conditional GANs partition the entire data distribution into multiple distributions without overlap.
In contrast, instance-conditioned GAN \cite{casanova2021instanceconditioned} partitions the entire data distribution into many overlapping local distributions and thereby model a complex distribution.
By conditioning both the generator and discriminator with instance feature $\mathbf{h}_i = f_\phi(\mathbf{x}_i)$ and pitch $\mathbf{p}$, we model a local distribution of instance neighborhood $p(\mathbf{x} | \mathbf{h}_i, \mathbf{p})$ and represent the entire data distribution $p(\mathbf{x})$ as a mixture of these distributions: $\sum_{\mathbf{h}_i} \sum_{\mathbf{p}} p(\mathbf{x} | \mathbf{h}_i, \mathbf{p}) p(\mathbf{p} | \mathbf{h}_i) p(\mathbf{h}_i)$.

We follow the training procedure of Casanova et al. \cite{casanova2021instanceconditioned}.
For input $\mathbf{x}_i$, let $\mathcal{A}_i$ be the $L_2$-based $k$ nearest neighbors of $\mathbf{x}_i$ over the feature space defined by $f_\phi$.
As shown in Fig. \ref{fig:model_overview}, we sample neighborhood data point $\mathbf{x}_j$ from the uniform distribution $\mathcal{U}(\mathcal{A}_i)$.
Then $\mathbf{x}_j$ is used as a real sample together with a generated sample $\mathbf{x}^\mathrm{g}$ to train the discriminator $D$, and its corresponding pitch $\mathbf{p}(\mathbf{x}_j)$ is fed into both the generator $G$ and discriminator $D$ for conditioning.
Formally, we jointly optimize $G$ and $D$ using the following min-max game.
\begin{eqnarray}
  \label{eq:gan_loss}
  \min_G \max_D \mathbb{E}_{\mathbf{x}_i \sim p(\mathbf{x}), \mathbf{x}_j \sim \mathcal{U}(\mathcal{A}_i)} [\log D(\mathbf{x}_j, \mathbf{p}(\mathbf{x}_j), \mathbf{h}_i)] + \nonumber \\
  \mathbb{E}_{\mathbf{x}_i \sim p(\mathbf{x}), \mathbf{z} \sim p(\mathbf{z})} [\log (1 - D(G(\mathbf{z}, \mathbf{p}(\mathbf{x}_j), \mathbf{h}_i), \mathbf{p}(\mathbf{x}_j), \mathbf{h}_i))]
\end{eqnarray}

\mysubsection{Pitch-invariant feature extractor}
\label{subsec:feature_extractor}

The simplest way to obtain feature extractor $f_\phi$ is to train a classifier using labeled data.
In our case, for example, we can train an instrument identity classifier on the NSynth dataset \cite{engel2017neural}.
However, features extracted by this classifier contain not only timbre but also pitch information, resulting in a decrease of pitch accuracy, as shown in Sec. \ref{subsec:ablation_study}.
This is because the generator and discriminator confuse the specified pitch $\mathbf{p}$ with remaining pitch information in $\mathbf{h}$, and the training process starts oscillating.

To solve this problem, we propose a pitch-invariant feature extractor based on an adversarial training scheme that enables disentanglement of timbre and pitch in the latent space.
Our training scheme is inspired by previous work such as domain adaptation \cite{ganin2016domain}, image manipulation \cite{lample2017fader}, and music domain transfer \cite{musictranslation}, in which adversarial training was introduced to the bottleneck features.
Let $C_\mathrm{i}(\mathbf{h})$ and $C_\mathrm{p}(\mathbf{h})$ be shallow MLPs that predict instrument identity $\mathbf{i}(\mathbf{x})$ and pitch $\mathbf{p}(\mathbf{x})$, respectively, given a feature $\mathbf{h} = f_\phi(\mathbf{x})$.
As shown on the right side of Fig. \ref{fig:model_overview}, the following objectives are alternately optimized to obtain $f_\phi$.
\begin{eqnarray}
  \label{eq:feature_extractor_loss_fisrt}
  \min_{f_\phi, C_\mathrm{i}} \mathrm{CE}(\mathbf{i}(\mathbf{x}), C_\mathrm{i}(f_\phi(\mathbf{x}))) + \lambda_\mathrm{adv} \mathrm{KL}(\frac{\mathbf{1}_{P}}{|P|} || C_\mathrm{p}(f_\phi(\mathbf{x}))) \\
  \label{eq:feature_extractor_loss_second}
  \min_{C_\mathrm{p}} \mathrm{CE}(\mathbf{p}(\mathbf{x}), C_\mathrm{p}(f_\phi(\mathbf{x}))) \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
\end{eqnarray}
where $|P|$ is the number of pitches, $\mathbf{1}_P \in \mathbb{R}^{|P|}$ is the all-one vector, and $\mathrm{CE}$ and $\mathrm{KL}$ represent cross entropy and Kullback-Leibler divergence, respectively.
The first term of Eq. \eqref{eq:feature_extractor_loss_fisrt} updates $f_\phi$ and $C_\mathrm{i}$ so that instrument identities can be correctly classified, while the second term makes it impossible to classify pitch given $\mathbf{h}$.
Eq. \eqref{eq:feature_extractor_loss_second} updates $C_\mathrm{p}$ to maximize the accuracy of pitch classification given $\mathbf{h}$.
This adversarial training eventually produces instance feature $\mathbf{h}$, which contains little pitch information.
In fact, we re-trained pitch classifier $C_\mathrm{p}$ with the frozen $f_\phi$ using Eq. \eqref{eq:feature_extractor_loss_second}, and the accuracy of pitch classification dropped from 17.4\% to 2.6\% with our adversarial training scheme while that of instrument identity classification remained unchanged at 91.2\%, meaning that feature $\mathbf{h}$ preserves timbre information.

\mysubsection{Audio inversion}
\label{subsec:audio_iversion}

In the field of speech synthesis, learning-based vocoders have achieved high-quality audio synthesis \cite{shen2018natural, kumar2019melgan, kong2020hifi}.
However, several studies \cite{lee2022bigvgan, wu2022ddsp, lee2022adversarial} suggested the difficulty of making neural vocoders generalized to a variety of timbre and pitch, which GANStrument is aimed at generating.
On the other hand, MelNet \cite{vasquez2019melnet} revealed that optimization-based audio inversion can synthesize a variety of audio including music with decent quality by using high-resolution mel-spectrograms (e.g., 256 bins).

Therefore, we use optimization-based audio inversion with high-resolution mel-spectrograms (512 bins).
Mel-spectrogram inversion typically consists of a mel-to-linear frequency-scale conversion and phase restoration using the Griffin-Lim algorithm \cite{griffin1984signal}.
The frequency-scale conversion could be a bottleneck here because a non-negative least-squares problem $\min_{\mathbf{x}_\mathrm{lin}} || \mathbf{F}_\mathrm{mel} \mathbf{x}_\mathrm{lin} - \mathbf{x}_\mathrm{mel} ||^2 \ \mathrm{s.t.} \ \mathbf{x}_\mathrm{lin} \geq 0$ must be solved with the computationally demanding L-BFGS-B algorithm \cite{byrd1995limited}.
In place of L-BFGS-B, $\mathtt{torchaudio}$ \cite{yang2021torchaudio} introduces the first-order gradient method with negative value clipping for faster iteration.
However, it requires a sufficient number of iterations due to random initialization.

We propose a simple yet effective initialization scheme.
First, we solve an unconstrained least-squares problem $\min_{\mathbf{x}_\mathrm{lin}} || \mathbf{F}_\mathrm{mel} \mathbf{x}_\mathrm{lin} - \mathbf{x}_\mathrm{mel} ||^2$ using the divide-and-conquer SVD because the mel filter bank $\mathbf{F}_\mathrm{mel}$ is not well-conditioned.
Next, the negative values of the solution are clipped, and the clipped solution is set as the initial value for the iterative method of the first-order gradient method.
This initialization scheme reduces the number of iterations by a factor of 10.

\mysection{Evaluation}
\label{sec:evaluation}

\mysubsection{Experimental setup}
\label{subsec:experimental_setup}

We trained GANStrument on the NSynth dataset \cite{engel2017neural}, a large-scale instrument sound dataset that includes rich annotations such as instrument categories, identities, and pitches.
We extracted 88 pitches (MIDI notes 21–108) and used their first 1-s segments with amplitude normalization and exponential fade-out preprocessing.
For evaluation, we also used single notes of Good-sounds \cite{romani2015real}, with the silence intervals trimmed, and used the same preprocessing as the NSynth dataset.

To compute mel-spectrograms, we used an STFT with a Hann window, a 1024 window size, a 64 hop size, and a 2024 fft size. This was followed by mel-scale conversion with 512 filter banks, resulting in $512 \times 256$ mel-spectrograms.

We utilized the StyleGAN2 \cite{karras2020analyzing} architecture, a state-of-the-art image synthesis model, for the backbone and used a projection discriminator \cite{miyato2018cgans}.
For feature extractor $f_\phi$, we used an architecture that removes the final layer of the discriminator.
We jointly trained the generator and discriminator using the ADAM optimizer with a learning rate of $2.5 \times 10^{-3}$, $(\beta_1, \beta_2)=(0.0, 0.99)$, and $\epsilon=10^{-8}$ for 300k steps with a batch size of $16$.
For training stability, we exploited the training techniques described by Karras et al. \cite{karras2020analyzing} such as $R_1$ regularization and path length regularization. We used $k=50$ for the neighborhood search.

\mysubsection{Generation quality}
\label{subsec:generation_quality}
\begin{table}[t]
  \caption{Generation quality}
  \label{table:generation}
  \begin{tabular}{@{}ccccc@{}}
    \toprule
    \multirow{2}{*}{conditioning}    & \multicolumn{2}{c}{Nsynth (val set)} & \multicolumn{2}{c}{Good-sounds}   \\ \cmidrule(l){2-5}
                                     & FID$\downarrow$   & Pitch$\uparrow$  & FID$\downarrow$ & Pitch$\uparrow$ \\ \midrule
    pitch                            & 490.1             & 0.831            & 1837.0          & 0.900           \\
    pitch + instrument               & 469.6             & 0.828            & 921.6           & 0.937           \\ \midrule
    \textbf{pitch + instance (ours)} & \textbf{212.3}    & \textbf{0.870}   & \textbf{507.3}  & \textbf{0.946}  \\ \bottomrule
    \end{tabular}
\end{table}

First, we evaluated the fidelity and diversity as well as pitch accuracy of the generated samples.
To validate the proposed approach, we trained two class-conditional GANs as strong baselines: the first model $G_1(\mathbf{z}, \mathbf{p})$ was conditioned on pitch $\mathbf{p}$ and the other $G_2(\mathbf{z}, \mathbf{p}, \mathbf{c})$ was conditioned on both pitch $\mathbf{p}$ and instrument category $\mathbf{c}$ (using 11 NSynth instrument categories).
For fair comparison, we used the same architecture and training parameters for these baselines as in Sec \ref{subsec:experimental_setup}.

To evaluate the Fréchet inception distance (FID) and pitch accuracy, we trained both the instrument category classifier (as an FID feature extractor) and the pitch classifier on the NSynth dataset.
The architecture of these classifiers was a slightly modified version of the discriminator.
They respectively achieved accuracies of 74.3\% and 93.2\% (against the test set).
For evaluation on Good-sounds, we used the same distributions of pitch and category as in the dataset for fair comparison.

Table \ref{table:generation} shows that GANStrument was superior to the baselines on both datasets, suggesting that GANStrument has not only the ability to model the distribution of training data but also the ability of generalization.

\mysubsection{Editability}
\label{subsec:editability_of_inputs}
\begin{table*}[t]
  \caption{Editability}
  \label{table:reconstruction_and_interpolation}
  \centering
  \begin{tabular}{@{}cc|cccc|cccc@{}}
    \toprule
    \multirow{3}{*}{conditioning}       & \multirow{3}{*}{inversion} & \multicolumn{4}{c|}{\textbf{reconstruction}}                             & \multicolumn{4}{c}{\textbf{interpolation}}                               \\ \cmidrule(l){3-10}
                                        &                            & \multicolumn{2}{c}{Nsynth (val set)} & \multicolumn{2}{c|}{Good-sounds}  & \multicolumn{2}{c}{Nsynth (val set)} & \multicolumn{2}{c}{Good-sounds}   \\ \cmidrule(l){3-10}
                                        &                            & MSE$\downarrow$   & Pitch$\uparrow$  & MSE$\downarrow$ & Pitch$\uparrow$ & FID$\downarrow$   & Pitch$\uparrow$  & FID$\downarrow$ & Pitch$\uparrow$ \\ \midrule
    \multirow{2}{*}{pitch}              & enc.                       & 6.53              & 0.669            & 8.23            & 0.384           & 1451.7            & 0.296            & 2298.5          & 0.251           \\
                                        & enc. + opt.                & 6.34              & 0.629            & 8.44            & 0.126           & 1183.0            & 0.314            & 2292.4          & 0.214           \\
    \multirow{2}{*}{pitch + instrument} & enc.                       & 4.32              & 0.793            & 5.09            & 0.655           & 709.8             & 0.594            & 679.3           & 0.585           \\
                                        & enc. + opt.                & 3.49              & 0.778            & \textbf{3.12}   & 0.167           & 601.2             & 0.534            & 610.0           & 0.442           \\ \midrule
    \textbf{pitch + instance (ours)}    & -                          & \textbf{1.79}     & \textbf{0.904}   & 3.28            & \textbf{0.944}  & \textbf{252.2}    & \textbf{0.883}   & \textbf{477.4}  & \textbf{0.883}  \\ \bottomrule
  \end{tabular}
\end{table*}

\begin{figure}[t]
  \centering
     \includegraphics[height=4.0cm]{img/recon_and_interp_v1.png}
     \vspace*{-4mm}
     \caption{Examples of interpolation in the latent space.\cref{1}}
     \label{fig:examples_of_reconstruction_and_interpolation}
\end{figure}

Next, we evaluated the editability of the input sounds.
To evaluate the faithfulness of reconstruction, we measured the mean squared error (MSE) and pitch accuracy of the synthesized samples.
MSE was computed on the feature space defined by the FID feature extractor.
To evaluate the ability of exploration in the latent space, we randomly chose two inputs from the dataset and interpolated the corresponding latent variables using a ratio sampled from uniform distribution $\mathcal{U}(0, 1)$ to generate interpolated samples.
We computed the FID between the input and interpolated samples.
We randomly chose a conditioning pitch from the 88 pitches.

The baseline models need to invert the inputs into the latent space for editing.
Typical approaches to GAN inversion can be categorized into learning-based, optimization-based, and a hybrid of the two \cite{xia2022gan}.
In our experiments, we used learning-based and hybrid approaches, which we found work well.
We trained encoders $E_1(\mathbf{x})$ and $E_2(\mathbf{x})$ for the baselines with objectives $\min_{E_1} || \mathbf{x} - G_1(E_1(\mathbf{x}), \mathbf{p}(\mathbf{x})) ||_2^2 + \lambda_\mathbf{z} || E_1(\mathbf{x}) ||_2^2$ and $\min_{E_2} || \mathbf{x} - G_2(E_2(\mathbf{x}), \mathbf{p}(\mathbf{x}), \mathbf{c}(\mathbf{x})) ||_2^2 + \lambda_\mathbf{z} || E_2(\mathbf{x}) ||_2^2$, respectively.
The second term is regularization for $\mathbf{z}$ to follow a standard normal distribution, which we found to be essential for the following optimization.
In the hybrid approach, we initialized latent variables with $\mathbf{z}=E_{\{1,2\}}(\mathbf{x})$ and minimized $L_2$ loss with respect to $\mathbf{z}$.

The middle portion of Table \ref{table:reconstruction_and_interpolation} shows that the baselines tended to fail in reconstructing the inputs and to sacrifice pitch accuracy, especially for Good-sounds, because they prioritize minimizing the reconstruction error, whereas GANStrument successfully reconstructed the inputs for both seen and unseen datasets.
The right side of Table \ref{table:reconstruction_and_interpolation} shows that the interpolated samples of the baselines produced a significant decrease in pitch accuracy, which suggests that the interpolated latents could deviate from the data manifold.
Our model, in contrast, had better FID and pitch accuracy, demonstrating that it can generate high fidelity samples with accurate pitch by exploring the latent space.

Fig. \ref{fig:examples_of_reconstruction_and_interpolation} shows qualitative examples of the interpolation in the latent space.
Their inputs were keyboard and brass sounds of the NSynth dataset and noise vectors $\mathbf{z}$ were fixed.
The baselines struggled with inverting the inputs and completely failed to mix two sounds.
In contrast, GANStrument smoothly interpolated two timbres with accurate pitch.

\mysubsection{Ablation study}
\label{subsec:ablation_study}
\begin{table}[t]
  \vspace*{-2mm}
  \caption{Ablation study: feature extractor}
  \label{table:ablation}
  \centering
  \begin{tabular}{@{}ccccc@{}}
    \toprule
    \multirow{2}{*}{feature extractor} & \multicolumn{2}{c}{Nsynth (train set)} & \multicolumn{2}{c}{Nsynth (val set)}   \\ \cmidrule(l){2-5}
                                       & FID$\downarrow$ & Pitch$\uparrow$ & FID$\downarrow$ & Pitch$\uparrow$ \\ \midrule
    w/o adv. training                  & 95.3            & 0.731                & \textbf{191.4}  & 0.757                \\
    w/ adv. training                   & \textbf{90.4}   & \textbf{0.834}       & 212.3           & \textbf{0.870}       \\ \bottomrule
  \end{tabular}
\end{table}

\begin{figure}[t]
  \centering
     \includegraphics[height=3.1cm]{img/ablation_study_v1.png}
     \vspace*{-4mm}
     \caption{Ablation study: difference between feature extractor without and with adversarial training.\cref{1}}
     \label{fig:ablation}
\end{figure}

Next, we conducted an ablation study to evaluate the effectiveness of the proposed pitch-invariant feature extractor.
For comparison, we trained an instrument identity classifier as a feature extractor $f_\phi$ using only the first term of Eq. \eqref{eq:feature_extractor_loss_fisrt}.
Table \ref{table:ablation} shows that our approach significantly improved pitch accuracy.
Fig. \ref{fig:ablation} shows mel-spectrograms of 88 pitches generated with the input of a saxophone sound of the Good-sounds dataset and a fixed noise $\mathbf{z}$.
The feature extractor without adversarial training produced inaccurate pitches, especially in higher tones as shown in the green box, as well as timbre inconsistency, as shown in the blue box.
The pitch-invariant feature extractor, in contrast, produced stable pitches with timbre consistency.

\mysubsection{Non-instrument sound inputs}
\begin{figure}[t]
  \centering
     \includegraphics[height=3.0cm]{img/additional_examples_v0.png}
     \vspace*{-4mm}
     \caption{Examples of non-instrument sound inputs.\cref{1}}
     \label{fig:generated_samples}
\end{figure}
Fig. \ref{fig:generated_samples} shows qualitative results with the input of non-instrument sounds such as a rooster and dropping water.
The synthesized sounds reflected the input timbres and produced stable pitch like musical instruments.
These results demonstrate that GANStrument has generalization ability to non-instrument sounds to some extent and is able to exploit a variety of sound materials to design the timbre as the traditional samplers do.
Note that the additional examples are available online\cref{1}.

\mysubsection{Timing}
Finally, we measured the generation timing on a middle-range CPU (Intel Core i7-7800X, 3.50 GHz).
The total time was 1.62 s, where the inference of the feature extractor $f_\phi$ and generator $G$ took 0.31 and 0.35 s, respectively, and mel-to-linear scale conversion 0.60 s, Griffin-Lim algorithm 0.36 s.
These results show that the improved mel-to-linear scale conversion described in Sec. \ref{subsec:audio_iversion} plays an important role in interactive generation.

\mysection{Related Work}
\label{sec:realted_work}

NSynth \cite{engel2017neural} uses a WaveNet \cite{oord2016wavenet}-based autoencoder to directly synthesize the waveforms of instrument sounds.
While it is capable of inference with a trained encoder, autoregressive sampling makes generation slow and prone to artifacts.
GANSynth \cite{engel2018gansynth} improves generation speed and quality by using an image synthesis model and a spectrogram with phase information.
However, it does not accept inputs, making it difficult to explore desired timbre in a complex latent space.
Luo et al. \cite{DBLP:conf/ismir/LuoAH19} proposed disentangling timbre and pitch using a Gaussian mixture VAE, but the simple architecture and autoencoder-based training make audio quality insufficient.

DDSP \cite{engel2020ddsp} and its subsequent work \cite{shan2022differentiable} achieve fast and interpretable generation by incorporating additive synthesis and wavetable synthesis into autoencoders.
However, their inputs should have clear pitch and the generated timbre is basically limited to a combination of integral multiples of the fundamental frequency \cite{engel2020ddsp}.
Leveraging the domain knowledge like these studies is complementary to our work and left for future work to further improve our model.

\mysection{Conclusion}
\label{sec:conclusion}
Our novel neural synthesizer, GANStrument, generates pitched instrument sounds reflecting one-shot input timbre within an interactive time.
It incorporates two key features: 1) instance conditioning, resulting in better generation quality and generalization ability to various inputs and 2) pitch-invariant feature extraction based on adversarial training, resulting in significantly improved pitch accuracy and timbre consistency.
Experimental results demonstrated the effectiveness of this approach.
We believe that GANStrument will enable users to generate novel instrument sounds as well as freely explore the desired timbre by utilizing a variety of sound materials.

\clearpage
\bibliographystyle{IEEEbib}


\section{Introduction}

Nonperturbative methods play a key role in physics to unveil  phenomena that do not admit an approximate  description in terms of a perturbative expansion in a small coupling constant  \cite{Marinyo15}.
A number of techniques have been developed   to describe families of  models that are solvable in a broad sense. Paradigmatic instances include Hamiltonian integrability \cite{Faddeev87}, Bethe ansatz  \cite{Takahashi99,Sutherland04,Gaudin14}, Yang-Baxter integrability \cite{Jimbo90}, quantum inverse scattering method \cite{KBI97}, quantum groups \cite{Lusztig10},  random matrices \cite{MethaBook,Forrester10}, conformal field theory \cite{DiFrancesco97}, supersymmetric methods \cite{Cooper95},  gauge-gravity dualities \cite{Ammon15}, and unitary quantum circuits, among many others.

An important advance in this direction is the introduction of infinite families of deformations of two-dimensional integrable field theories that preserve integrability \cite{Zamolodchikov04,SmirnovZ17}.
In  quantum mechanics, this motivates the introduction of families of exactly-solvable Hamiltonian deformations \cite{Gross20,Gross20b}.
The latter are of relevance for a system in isolation, that is  described by a time-independent Hermitian Hamiltonian with real eigenvalues.
However, the interaction of a system with the surrounding environment gives rise to decoherence \cite{Zurek03} making the system open, and no longer isolated \cite{BP02}. The evolution of the quantum state of an open system can  be described by a master equation, in which an effective non-Hermitian Hamiltonian can be identified. This prompts the consideration of non-Hermitian Hamiltonian deformations discussed in this work and the associated infinite family of solvable dissipative models.

These results should be put in a broader context aimed at finding exactly-solvable models of complex open quantum systems, which is being pursued by exploiting a variety of techniques.
Among them, we mention exact  diagonalization of many-body Liouvillians \cite{Prosen08,Beau17},  random matrix theory \cite{Haake} including  non-Hermitian Hamiltonians and bath operators \cite{Xu19,delCampo2020,Xu21SFF,GarciaGarcia22}, random Liouvillians \cite{Can19,Sa20} and quantum channels \cite{SaProsen20}, noisy and fluctuating Hamiltonians \cite{Chenu17},  mappings between open systems and integrable systems \cite{Dukelsky21}, nonunitary quantum circuits \cite{LiChenFisher18,Skinner19,Gullans20,Ippoliti21,SaProsen21}, etc. The subclass of many-body open systems that admit a description solely in terms of non-Hermitian Hamiltonians has given rise to an emergent field, that of  non-Hermitian many-body physics, and is comparatively more developed \cite{Ashida20}. Additional efforts rely on the study of gravitational duals in the context of AdS/CFT for strongly-coupled dissipative quantum systems \cite{delCampo2020,Verlinde20, Anegawa2021,Verlinde21,Goto2021,GarciaGarcia22b}.  The use of Krylov subspace methods provides yet a different approach  \cite{KrylovDiss1,KrylovDiss2}.

From a practical point of view, Hermitian Hamiltonian deformations imply powerful identities relating the partition function and equilibrium correlation functions of the deformed and undeformed theories. In the generalized  non-Hermitian deformations we introduce here, the Hamiltonian eigenvalues are complex and their imaginary part is associated with characteristic time scales that manifest in the dynamics of the deformed theory. Non-Hermitian deformations thus imply a novel class of identities relating nonequilibrium properties of the deformed and undeformed theories.
In particular, it is possible to relate the propagators of the deformed and undeformed theories, and thus, the corresponding time evolutions, using integral transforms with a given kernel. As specific applications, we discuss the time-dependence of the fidelity, purity, Renyi entropies, logarithmic negativity, and the spectral form factor (SFF) in non-Hermitian systems. For particular initial states, such as the coherent Gibbs state and the thermofield double state (TFD), these relations become particularly transparent and can be compactly expressed in terms of analytical continuations of the partition function.
As non-Hermitian Hamiltonians can be derived from an open quantum dynamics by conditioning the evolution to the absence of quantum jumps, we apply the framework of non-Hermitian deformations to explore the role of quantum jumps in a variety of applications, including the characterization of decoherence times and the signatures of chaos in open quantum systems.

This manuscript is organized as follows.
We first review Hermitian Hamiltonian deformations in Sec.~\ref{SecHHD} and generalize them to the non-Hermitian case in Sec.~\ref{SecNHHD}.
In Sec.~\ref{SecNHP} we provide a short summary of the basic properties of non-Hermitian quantum dynamics.
Complex deformations are justified in the theory of open quantum systems while their relevance to physical energy-dephasing models is presented in Sec. \ref{SecED}.
In Sec. \ref{SecSS} we study the spectral properties of the corresponding dynamical generators, presenting numerical examples from random matrix theory and the Sachdev-Ye-Kitaev (SYK) model.
In Sec. \ref{SecTFD} we study the dynamics of  a TFD, under the dynamics generated by a specific class of non-Hermitian deformations, and characterize the associated R\'enyi entropies and logarithmic negativity.
In Sec. \ref{SecSFF} we discuss the deformed SFF in the non-Hermitian setting, defined as the fidelity between an initial coherent Gibbs state and its time evolution, and use it to characterize the dynamic manifestations of quantum chaos in open quantum systems, with and without quantum jumps. We summarize our findings in Sec. \ref{secConclusions}.

\section{Hermitian Hamiltonian Deformations }\label{SecHHD}

An infinite family of exactly-solvable Hamiltonian deformations has been introduced in quantum mechanics  \cite{Gross20,Gross20b}.
In particular,  given a $d$-dimensional Hilbert space $\mathcal{H}$ and
an isolated quantum system described by a Hamiltonian $H_0$, one considers a deformation $f(H_0)$, where $f:\mathbb{R}\rightarrow \mathbb{R}$ is a function parameterized by $\lambda \in \mathbb{R}$ with the property that
$f(H_0)\rightarrow H_0$ when $\lambda\rightarrow0$.
In such a case,  as the original and  deformed Hamiltonians commute $[H_0,f(H_0)]=0$,
they share the same set of eigenvectors, while their eigenvalues are given by $\{E_n\}$ and $\{f(E_n)\}$, respectively.

The partition functions can be written as
\begin{eqnarray}
Z_{0}(\beta ) &=&\int_{\mathbb{R}}\mathrm{d}E e^{-\beta E}\varrho (E), \\
Z_{f}(\beta ) &=&\int_{\mathbb{R}}\mathrm{d}E  e^{-\beta f(E)}\varrho(E)
=\int_{\mathbb{R}}\mathrm{d}E e^{-\beta E}\varrho _{f}(E), \label{eq:Zf}
\end{eqnarray}
where $\varrho(E)$ and $\varrho_f(E)$ are the density of states associated with $H_0$ and $f(H_0)$, respectively.
The two are related  by
\begin{equation}
\varrho _{f}(E)=\varrho \big( f^{-1}(E) \big) \frac{\mathrm{d}f^{-1}(E)}{%
\mathrm{d}E},
\end{equation}%
assuming $f$ to be strictly monotonic, so that it can be inverted.

The Boltzman factor for the deformed system can be written as an integral representation,
\begin{eqnarray}
\label{expf}
e^{-\beta f(E)}
&=&\int_{C_f} \mathrm{d}\beta' e^{ -\beta ^{\prime }E} K_{f}(\beta ,\beta ^{\prime })\,.
\end{eqnarray}%
When $E$ is real, it is appropriate to choose a Laplace transformation to keep the exponent real and the inverse temperature $\beta'$ on a real contour, $C_f$ being the line $\in [0, +\infty)$ or the full real axis.
The corresponding kernel is
\begin{equation}\label{eq:Kf}
K_{f}(\beta ,\beta ^{\prime })=\frac{1}{2\pi i}\int_{\tilde{C}_f}\mathrm{d}E \, e^{-\beta f(E)}e^{\beta ^{\prime }E}\,
\end{equation}
with  $\tilde{C}_f$ denoting the  contour of the inverse transformation, which, for the Laplace transform, is the Bromwich contour $(\gamma-i\infty, \gamma+i\infty)$.
It is easy to verify that the partition function of the deformed system is then related to the original, undeformed one through
\begin{equation}\label{ZlZ0}
Z_{f}(\beta )=\int_{\mathbb{R}}\mathrm{d}E\int_{C_f} \mathrm{d}\beta' e^{
-\beta ^{\prime }E}K_{f}(\beta ,\beta ^{\prime })\rho (E)=\int_{C_f}\mathrm{d}%
\beta ^{\prime }Z_{0}(\beta ^{\prime })K_{f}(\beta ,\beta ^{\prime })\,.
\end{equation}

In particular, we are interested in the deformation
\begin{equation}
\label{invdef}
g (E ) = E + \lambda E^2 , \quad \lambda>0\, ,
\end{equation}%
because this spectrum originates from a non-Hermitian Hamiltonian generating  an \textit{energy dephasing} (ED) evolution \cite{Xu21SFF} in the absence of quantum jumps \cite{cornelius2022}, when the deformation parameter $\lambda$ is purely imaginary, as we discuss in Sec. \ref{SecED}.
Taking the contour $\tilde{C}_g$ as $(-\infty,+\infty)$, the kernel reads
\begin{align}
\begin{split}
K_{g}(\beta ,\beta ^{\prime })=&\frac{1}{2\pi i}\int_{-\infty}^{+\infty}\mathrm{d}E \, e^{-\beta g(E)} e^{\beta ^{\prime }E} \\
=& \frac{1}{i \sqrt{\pi 4 \beta \lambda}} e^{\frac{(\beta-\beta^{\prime })^2}{4  \beta \lambda}}.
\end{split}
\end{align}
The deformed  partition function is then obtained from the  inverse transformation \eqref{expf} with integration on $C_g$ being the line  $(\gamma-i\infty, \gamma+i \infty)$.
Interestingly, the inverse deformation
\begin{equation}
    f(E) = \frac{1}{2 \lambda}\big( \sqrt{1 + 4 \lambda E}-1\big)\, ,
\end{equation} defined such that $g(f(E)) = E$, is known in the context of AdS/CFT correspondence as the 1-dimensional $T\bar{T}$ deformation \cite{Gross20,Gross20b}. Its kernel \eqref{eq:Kf} readily follows from the inverse Laplace transform
$\mathcal{L}^{-1}[e^{-\sqrt{a s}};x] = x^{-3/2}e^{-a / (4x)} \sqrt{a }/(2 \sqrt{\pi})$ \cite{Gradshteyn2014a} that gives
\begin{equation}
K_{f}(\beta ,\beta ^{\prime })=\frac{\beta }{\beta'\sqrt{4\pi \beta' \lambda }}e^{-\frac{(\beta -\beta^\prime)^{ 2}}{4\beta ^{\prime }\lambda
}}.
\end{equation}
Note that the contours are related as $C_g = C_{f^{-1}}= \tilde{C}_f$ and that $C_f$ is on $[0, +\infty)$ while $\tilde{C}_{f^{-1}}$ requires the bi-lateral Laplace transform with a contour on the full real axis $(-\infty,+\infty)$.

More generally, the kernels of the original and inverse deformations are related through
\begin{eqnarray}
    K_{f^{-1}}(\beta, \beta') &=&\frac{1}{2 i \pi} \int_{\tilde{C}_{f}}dE \, e^{-\beta f^{-1}(E)}e^{\beta' E}\nonumber \\
    &=&\frac{1}{2 i \pi} \int_{C_f}  dx \,  e^{-\beta x} f'(x) e^{\beta' f(x)}\nonumber \\
    &=&\frac{\beta}{\beta'} K_f(-\beta', -\beta),
\end{eqnarray}
as can be shown using the  change of variable $E=f(x)$  and integrating by parts, assuming that  $e^{-\beta x}e^{\beta' f(x)}$ cancels  at the edges of $C_f$.

\section{Non-Hermitian Hamiltonian Deformations }\label{SecNHHD}
In the  context of deformations, it is also useful to relate  the propagator of the deformed Hamiltonian $U_f(t)=e^{-if(H_0)t}$ to the original one $U_0(t)=e^{-iH_0t}$. Thus, all time-evolved quantities in the deformed picture can be related to the undeformed ones. This applies to the partition function too since  $Z(\beta)=\Tr[U(-i\beta)]$.

We  assume the Hamiltonian $H_0 =\sum_n E_n \dyad{n}{\tilde n}$ is diagonal in the bi-orthogonal basis with right (left) eigenstates $\ket{n}$ ($\bra{\tilde n}$) and $E_n$ being complex in general~\cite{BrodyJPA2013}. The evolution operator reads  $U_0=e^{-i H_0 t} = \sum_n e^{-iE_nt} \dyad{n}{\tilde n}$. A generally complex deformation $w$ gives $w(H_0)=\sum_n w(E_n) \dyad{n}{\tilde n}$ and $U_w =\sum_n e^{-iw(E_n)t} \dyad{n}{\tilde n}$. In the standard case of a Hermitian Hamiltonian, right and left eigenvectors coincide and the spectrum is real.
Therefore, the relation between $e^{-iw(E)t}$ and $e^{-iEt}$ is expected to change depending on whether $E$ is real or complex.

For a Hermitian Hamiltonian $H_0$, such a relation can be derived even if the deformation is implemented by a complex function $w:\mathbb{C}\rightarrow\mathbb{C}$. For real $E$, it is appropriate to write the deformed evolution using the Fourier transform, namely
\begin{equation}\label{simple}
	e^{-iw (E)t}
	=
	\int_\mathbb{R}  \text{d} E' \,\delta(E-E') e^{-iw (E')t}
	=
	\int_\mathbb{R}  \text{d}t'\,  K_w(t,t') e^{-iE t'}
\end{equation}
with
\begin{equation}\label{kernel}
	K_w(t,t')
	=
	\int_\mathbb{R}  \frac{ \text{d}E}{2\pi}\, e^{i t'  E-iw (E)t}\,.
\end{equation}
We then get the relation between deformed and undeformed propagators
\begin{equation}\label{unitaryH}
    U_w(t)
    =
    \int_\mathbb{R}  \text{d}t'\,  K_w(t,t')  U_0 (t'),
\end{equation}
from which one recovers $Z_w(E)$ as in \eqref{eq:Zf} and Eq.~\eqref{ZlZ0} using the Wick rotation $i t' = \beta'$.

For a non-Hermitian Hamiltonian $H_0$ with a possibly complex spectrum,
relation~\eqref{simple} can be generalized as
\begin{align}\label{propNH}
	e^{-iw (E)t}
	&=
	\int_C \, \frac{\text{d} E'}{2\pi i} \frac{1}{E'-E} e^{-iw (E')t}
	=
	\int_\mathbb{R}\T{d} t'\,
	\mathcal K_w (t,t';E)
	e^{-i E t'}.
\end{align}
This kernel is obtained using $\int_0^{\infty}e^{- i s t }=1/(i s)$ for $\Re(is)>0$ to write
\begin{align}
\begin{split}
    \frac{1}{i(E'-E)} &= \Theta(\Im(E-E'))\int_0^{\infty} dt e^{-i(E'-E)t} - \Theta(\Im(E'-E))\int_0^{\infty} dt e^{i(E'-E)t} \\
    &=\int_{-\infty}^{\infty} dt e^{i(E'-E)t} \big[\Theta(-\Delta_{E'})\Theta(-t) -\Theta(\Delta_{E'})\Theta(t) \big],
\end{split}
\end{align}
that gives
\begin{equation}
	\mathcal K_w (t,t';E)
	=
	\int_C \, \frac{\T{d} E'}{2\pi }
	\left[
	\Theta(-\Delta_{E'}) \Theta(-t')
	-
	 \Theta(\Delta_{E'}) \Theta(t')
	\right]
	e^{iE' t'-i w (E')t}\,,
\end{equation}
where $\Delta_{E'} = \Im(E')-\Im(E)$ and  $C$ is an appropriate contour that includes all the eigenenergies of the original spectrum, $E$.
Notice that Eq.~\eqref{propNH} is formally equivalent to Eq.~\eqref{simple}, so that Eq.~\eqref{unitaryH} is still valid upon the replacement $K\rightarrow \mathcal K$.

Motivated by these observations, we introduce and study families of exactly solvable and generally complex deformations of (non-)Hermitian Hamiltonians, bringing forward their use for the understanding of the effect of decoherence in chaotic quantum systems.  Eq.~\eqref{propNH} fully generalizes real deformations of Hermitian Hamiltonians to complex ones and to non-Hermitian Hamiltonians. However, the applications we will consider in Sec.~\ref{appli} are based on the energy dephasing channel which can be understood as a non-Hermitian deformation of a Hermitian Hamiltonian. Therefore, Eq.~\eqref{simple} will be the most relevant in the following.

\section{Non-Hermitian Dynamics}\label{SecNHP}

One of the fundamental postulates of quantum physics states that an isolated system is described by a Hermitian Hamiltonian. As a result, the dynamics it generates is described by a unitary  time-evolution operator.
Given the state of an isolated system, this assures the conservation of probability in the measurement outcomes and restricts the expectation value of energy to the real numbers.
Nevertheless, since the very early days of quantum theory \cite{gamow1928,majorana1928}, numerous heuristic attempts to account for dissipative phenomena in nuclear, atomic and molecular physics,  have employed effective non-Hermitian Hamiltonians \cite{Ashida20,moiseyev2011}.
In the last two decades, the proposal of parity-time $(\mathcal{PT})$ symmetry as an alternative to Hermiticity \cite{BenderPRL1998,bender2007} paved the way for the systematic study of non-Hermitian physics.
By now, it is understood that non-Hermitian Hamiltonians can be rigorously justified when the dynamics is restricted to a subspace of interest (e.g., making use of projection operator methods) and in the context of quantum measurement theory, by conditioning quantum trajectories on given measurement outcomes \cite{Ashida20}.

Starting from the
Schr\"odinger equation with a  non-Hermitian Hamiltonian $H$
\begin{equation}\label{schr}
    i \partial_t \ket{\psi (t)} = H \ket{\psi (t)}
\end{equation}
one gets
\begin{eqnarray} \label{NHschr1}
\partial_t \rho (t) = -i\left(H \rho (t) - \rho (t) H^\dag \right)
\end{eqnarray}
for the corresponding density matrix $\rho (t) = \ketbra{\psi(t)}$.

One can always decompose the Hamiltonian $H$ into a sum of a Hermitian and an anti-Hermitian term
\begin{eqnarray} \
H= H_0 - i \Gamma_0 ,
\end{eqnarray}
where $H_0=\frac{1}{2}(H+H^\dag)$ and $\Gamma_0 =\frac{1}{2i}(H^\dag -H)$ are Hermitian.
Then, the non-Hermitian evolution   \eqref{NHschr1} becomes
\begin{eqnarray} \label{jfGKLS0}
\partial_t \rho (t)=-i[H_0,\rho (t)] - \{ \Gamma_0, \rho (t) \} ,
\end{eqnarray}
involving only a commutator for the Hermitian part $H_0$ and an anti-commutator arising from the anti-Hermitian part $-i\Gamma_0$.
We note that under such dynamics, the trace of the density matrix is in general not preserved.
Nevertheless, one can enforce the property ${\rm Tr}[ \rho (t) ] = 1 $, starting from a normalized initial state, by the addition of a term involving a time-dependent coefficient
\begin{equation}
\label{chit}
    \chi (t) = 2  {\rm Tr}[ \Gamma_0  \rho (t)]\,.
\end{equation}
In such a scenario, the dynamics is generated by the nonlinear
equation~\cite{BrodyGraefe12}
\begin{eqnarray}
\partial_t \rho (t) = -i\left[H_0, \rho (t) \right] - \{ \Gamma_0 ,  \rho (t) \} + 2 {\rm Tr}[ \Gamma_0 \rho (t) ]   \rho (t) ,
\label{rhotDBNGL}
\end{eqnarray}
with general analytic solution
\begin{eqnarray}
\rho (t) = \frac{  e^{-i  Ht}  \rho (0)  e^{i  H^\dagger t} }{ {\rm Tr} \left[e^{-i  Ht}  \rho (0)  e^{i  H^\dagger t}   \right]  }  \,.
\label{solutionBNGL0}
\end{eqnarray}

This kind of evolution characterized by balanced norm gain and loss (BNGL) is known to arise in $\mathcal{PT}$-symmetric quantum mechanics \cite{BrodyGraefe12}. In the context of continuous quantum measurements, the above equation is also known as the nonlinear Schr\"odinger equation for null-measurement conditioning
\cite{Carmichael09}. In addition,  it has recently been pointed out that an {\it arbitrary} evolution characterized by a time-dependent density matrix $\rho(t)$ admits an equation of motion characterized by BNGL dynamics \cite{Alipour2020}.

We observe here that  pure states remain pure under BNGL dynamics. Indeed,
an initial pure state $\rho(0) = \ketbra{\psi} $,  under the evolution  \eqref{rhotDBNGL} has R\'enyi entropy
\begin{equation}
S_\alpha [\rho(t)] =
 \ln \big( {\rm Tr} [  \rho(t)^\alpha ]  \big) /( 1- \alpha) = 0,
\end{equation}
with $\alpha>0,  \alpha \neq 1 $.

For the undeformed Hermitian Hamiltonian $H_0$ the evolution given by BNGL dynamics simply yields $\tilde\rho (t;0)=U_0(t)\rho(0)U_0^\dagger(t)$, as the trace is preserved.
As shown in Appendix \ref{appFid}, the corresponding BNGL dynamics generated by the deformed Hamiltonian $w(H_0)$ is given in terms of $\tilde\rho (t;0)$ as
\begin{equation}\label{evolstate}
    \rho_w(t)
    =
    \frac{\int_\mathbb{R}  \text{d}s \, \int_\mathbb{R}  \text{d}s'\,   K_w(t,s) K_{w^*}(-t,-s')  U_0 (s-s')\tilde \rho(s';0)}{\int_\mathbb{R}  \text{d}s \, \int_\mathbb{R}  \text{d}s'\,   K_w(t,s) K_{w^*}(-t,-s')\Tr[  U_0 (s-s')\tilde \rho(s';0)]}\,.
\end{equation}

In order to motivate the BNGL equation, which we will use throughout the manuscript, we shortly describe here its connection with the standard Lindblad dynamics for open quantum systems.

The embedding of a quantum system in a surrounding environment makes its dynamics open and not unitary.
The time evolution of an open quantum system is generally described by a master equation of the form
\cite{BP02}
\begin{eqnarray} \label{MasterEqGeneral}
\partial_t \rho (t)=-i[H_0,\rho (t)]+\mathcal{D}[\rho (t)],
\end{eqnarray}
where  $H_0$ is the system Hamiltonian (including the Lamb shift) and
the breaking of unitarity is induced by the dissipator $\mathcal{D}[\cdot]$, which accounts for the interaction with the environment.
A seminal result in the theory of Markovian open quantum systems is that the evolution is described by the Gorini–Kossakowski–Sudarshan–Lindblad (GKLS) equation that admits the canonical Lindblad form  \cite{GKS76,Lindblad76,BP02}
\begin{eqnarray} \label{GKLSgeneral}
\partial_t \rho (t)=-i[H_0,\rho (t)]
+
\sum_\alpha
\gamma_{\alpha}\left(L_\alpha \rho (t) L_\alpha^\dag - \frac{1}{2} \{ L_\alpha^\dag L_\alpha, \rho (t) \}\right),
\end{eqnarray}
where $\gamma_\alpha\geq 0$ are the time-independent coefficients,
$L_\alpha$ are the jump operators,  and $H_0$ is the Hermitian system Hamiltonian.
In the quantum jump approach \cite{Carmichael09}, it is customary to rewrite the above equation as
\begin{eqnarray}
\partial_t \rho (t) =-i\left(H_{\rm eff} \rho (t) - \rho (t) H_{\rm eff}^\dag \right)+
\sum_\alpha
J_\alpha \left[\rho (t)\right],
\end{eqnarray}
in terms of the effective non-Hermitian Hamiltonian
\begin{equation}   \label{Heff}
H_{\mathrm{eff}}=H_{0}-\frac{i}{2}
\sum_\alpha
\gamma _{\alpha }L_{\alpha
}^{\dag }L_{\alpha }  ,
\end{equation}%
and the jump superoperators
\begin{eqnarray}
J_\alpha \left[\rho (t)\right]
=
\gamma_\alpha L_\alpha \rho (t) L_\alpha^\dag .
\end{eqnarray}
In the context of continuous quantum measurements
the Lindblad master equation can be seen as the unconditional dynamics of the system, that is as an average over all possible trajectories in which quantum jumps take place.
One can interpret then the BNGL evolution
conditioned on the absence of  quantum jump, i.e., disregarding the contribution from $J_\alpha \left[\rho (t)\right]$ for a subensemble of trajectories~\cite{Carmichael09,MingantiPRA2019,RoccatiOSID2022}.
The time-evolution is then exclusively governed by the non-Hermitian Hamiltonian
\begin{eqnarray}  \label{NHschr0}
\partial_t \rho (t) =-i\left(H_{\rm eff}  \rho (t) - \rho (t) H_{\rm eff}^\dag \right).
\end{eqnarray}
Upon normalization, the dynamics becomes trace-preserving and  leads to the BNGL equation (\ref{rhotDBNGL}) with $\Gamma_0=\frac{1}{2}
\sum_\alpha
\gamma _{\alpha }L_{\alpha
}^{\dag }L_{\alpha }$.

\section{Applications of Non-Hermitian Deformations}\label{appli}

In this section we will introduce and study in detail the energy dephasing channel. This can be described as a complex, i.e,.~non-Hermitian, deformation of an Hermitian Hamiltonian.

\subsection{Energy Dephasing and Decoherence Time}
\label{SecED}

We consider here the simplest energy dephasing (ED) model, i.e., a dissipator with a single jump operator $L_\alpha=L_\alpha^\dag=H_0$.
In this case, the Lindblad form (\ref{GKLSgeneral}) reduces to the master equation describing energy diffusion
\begin{eqnarray}
\partial_t\rho&=&-i[H_0,\rho]-\gamma[H_0,[H_0,\rho]]\,, \quad \gamma>0.
\label{rhotED}
\end{eqnarray}
We note that the quantum state under energy-dephasing   (\ref{rhotED})  evolves as
\begin{eqnarray} \label{rhotED2}
\rho(t)=\sum_{nm}\rho_{nm}(0)e^{-i(E_n-E_m)t-\gamma t (E_n-E_m)^2}|n\rangle \langle m|.
\end{eqnarray}
To characterize the role of decoherence during the time evolution, we consider the purity $P(t)={\rm Tr}[\rho(t)^2]$, which is related to the R\'enyi-2 entropy $S_2[\rho(t)]$ as $P(t)=e^{-S_2[\rho(t)]}$.
In the case of ED, it reads
\begin{eqnarray}
\label{PtED}
P(t)=\sum_{nm}\rho_{nm}(0)^2e^{-2\gamma t (E_n-E_m)^2}.
\end{eqnarray}

The corresponding evolution in the absence of quantum jumps is given by the BNGL equation (\ref{rhotDBNGL}) with the deformed Hamiltonian
\begin{equation}\label{deform2}
    w(H_0)=H_0-i\gamma H_0^2\,,
\end{equation}
for which the kernel in Eq.~\eqref{kernel} reads
\begin{equation}\label{dephkernel}
    K_w(t,s) = \sqrt{\frac{\pi}{\gamma t}} e^{-(t-s)^2/4\gamma t}\,.
\end{equation}
With this kernel, the propagator of the deformed theory, and therefore the time evolution under BNGL, can be explicitly found.
We note that the deformation~\eqref{deform2} is equivalent to the inverse  $T\bar{T}$-deformation
in Eq. (\ref{invdef}) with a purely imaginary value of the deformation parameter $\lambda=-i\gamma$.
Making use of Eq.~\eqref{evolstate},
the explicit expression of the evolved state under BNGL energy dephasing  is
\begin{eqnarray}
\label{rhotBNGL2a}
\rho(t)=\frac{\sum_{nm}\rho_{nm}(0)e^{-i(E_n-E_m)t-\gamma t (E_n^2+E_m^2)} |n\rangle \langle m| }{\sum_{j}\rho_{jj}(0)e^{-2t\gamma E_j^2}},
\end{eqnarray}
and the corresponding time-dependent  purity equals
\begin{eqnarray}
\label{PtEDBNGL}
P(t)={\rm Tr}[\rho(t)^2]=\frac{\sum_{nm} \abs{\rho_{nm}(0)}^2e^{-2\gamma t (E_n^2+E_m^2)}}{(\sum_{n}\rho_{nn}(0)e^{-2t\gamma E_n^2})^2}.
\end{eqnarray}
The last expression has the remarkable feature that whenever the initial state is pure, such that the  factorization $\rho_{nm}(0)=c_n(0)c_m(0)^*$ holds, then $P(t)=1$ (equivalently as shown in Sec. \ref{SecNHP}, $S_2[\rho(t)]=0$). Thus, the evolution preserves the purity of a pure quantum state, even when it exhibits a dissipative evolution. In particular, in this case, Eq. (\ref{rhotBNGL2a}) reduces to
\begin{eqnarray}
\label{rhotBNGL2a1}
\rho(t)=\frac{\sum_{nm}c_{n}(0)c_{m}(0)^*e^{-i(E_n-E_m)t-\gamma t (E_n^2+E_m^2)}}{\sum_{n}|c_n(0)|^2e^{-2t\gamma E_n^2}}|n\rangle \langle m|.
\end{eqnarray}
Comparison of the time evolution under ED (\ref{rhotED2}) and BNGL (\ref{rhotBNGL2a})  reveals the role of quantum jumps. The latter becomes particularly transparent by analyzing the decoherence time, that can be derived from the purity, as we next show.
Specifically, for an initial mixed state, the  decoherence time $\tau_D$  can be extracted from the short-time decay of the purity \cite{Beau17}
\begin{eqnarray}
P(t)=P(0)\left[1-\frac{t}{\tau_D}\right]+\mathcal{O}(t^2).
\end{eqnarray}
For an arbitrary Markovian evolution described by a Lindblad master equation, the decoherence time is given by the inverse of the covariance of the Lindblad operators evaluated in the initial state \cite{Chenu17}.
 For an initial mixed state evolving under ED, it is set by the inverse of the energy fluctuations in the initial state \cite{Xu19,delCampo2020,Xu21SFF}
\begin{eqnarray}
\frac{1}{\tau_D}=\frac{4\gamma}{P(0)} \left({\rm Tr}[\rho(0)^2H_0^2]-{\rm Tr}[\rho(0)H_0\rho(0)H_0]\right).
\end{eqnarray}
We note $1/\tau_D\geq0$ and vanishes only when the initial state is diagonal in the Hamiltonian eigenbasis, $[\rho(0), H_0]=0$. This latter case includes the possibility that the initial state is a (pure) eigenstate of $H_0$ or that $\rho_0$ is a mixed equilibrium state.
By contrast, in the case of BNGL, the decoherence time reads
\begin{eqnarray}
\frac{1}{\tau_D}=\frac{4\gamma}{P(0)} \left({\rm Tr}[\rho(0)^2H_0^2]-P_0{\rm Tr}[\rho(0)H_0^2]\right).
\end{eqnarray}
 This expression identically vanishes when the initial state is a pure state describing an arbitrary coherent superposition of energy eigenstates, i.e., when $P(0)=1$ and $\rho(0)^2=\rho(0)$. In addition, an initial mixed state that is diagonal in the energy eigenbasis  has finite $\tau_D$ and evolves nontrivially under BNGL. In short, the absence of quantum jumps associated with non-Hermitian deformations alters the value of the decoherence rate and changes the conditions under which it vanishes.

\subsection{Spectral Structure of the Dynamical Generators }\label{SecSS}

Quantum chaos has historically been founded upon the study of complex Hamiltonian spectra, which in principle contain all the information required to describe the evolution of an isolated system \cite{berry1977, bohigas1984, Haake}.
At the same time, a robust theory of open quantum systems has been established, focusing on the overall dynamical maps that control the temporal evolution of a subsystem \cite{BP02}.
Thus, the study of the spectral properties of complex non-Hermitian dynamical generators and maps is of great relevance to the investigation of the fate of the signatures of quantum chaos in open dynamics \cite{feinberg1997,wang2020,Sa20,marinello2016,mochizuki2020, wang2020a,Can19,can2019a,denisov2019}.

In order to study the spectral properties of the dynamical generators discussed in the previous sections,  we fix a vectorization process for all elements of the space of the the density matrices,  $ \mathcal{H}^* \otimes \mathcal{H}$.
The Hilbert space of all linear superoperators acting on the density matrices is often referred to as Liouville space.
The Liouville space formalism is extensively used for the study of the spectral properties of quantum channels and open systems \cite{Haake,Gyamfi20}.
The properties of vectorized matrices have to be  treated carefully, as the vectorization process is basis dependent.

Let  $\big\{ \ket{i}  | \,  i \in  \{ 1,2, \dots ,  d \} \big\}$ be the complete eigenbasis of the undeformed Hamiltonian $H_0$ for the Hilbert space $\mathcal{H}$.
Any linear operator $ \rho \dot{=} \{ \rho_{ij} \}$ can be represented as a vector
	\begin{equation}
	\label{vectorization}
\mathcal{\rho} = \sum_{i,j=0}^{d-1} \rho_{ij} \ketbra{i}{j}  \rightarrow   | \rho ) = \sum_{i,j=0}^{d-1} \rho_{ij} \ket{i} \otimes \ket{j} .
	\end{equation}
For this specific choice of horizontal vectorization,  any set of linear operators $A \dot{=} \{ a_{ij} \}$,  $B \dot{=} \{ b_{ij} \}$ acting on the vectorized operator $\rho$ from left and right respectively,  can be represented as a superoperator with the use of the Kronecker product $\otimes$ of $A$ and the transpose $B^\intercal$,
\begin{equation}
A \rho B \rightarrow ( A \otimes B^\intercal )  | \rho ) .
\end{equation}
For example, the Liouvillian which generates the unitary evolution of the Hermitian Hamiltonian $H_0$ is represented as
\begin{eqnarray}
\mathcal{L} = - i [ H_0,  \cdot ]
\; \rightarrow \;
\mathbb{L} = -i ( H_0 \otimes \mathds{1} - \mathds{1} \otimes H_0 )   .
\end{eqnarray}

In what follows,  we shall study the spectral properties of the generators of the non-Hermitian deformations discussed in the previous sections,
relating them to the ones of the associated energy dephasing double bracket Lindbladians.
Specifically, we will see that ED models have their spectrum on a one dimensional locus, reflecting the freedom in the choice of the ground state of $H_0$.
The removal of the quantum jump term, which leads to the associated non-Hermitian deformation BNGL model, spreads the spectrum in an area determined by the deforming function. The eigenvalue density on the complex plane is then rigidly shifted with time by $\chi(t)$ in Eq. (\ref{chit}).

For the sake of illustration,
we consider as well the more general complex deformation
\begin{equation}\label{deformk}
    w(z)=z-i\gamma z^\kappa\,.
\end{equation}
We highlight here some properties that will be useful in the following.

The state at time $t$ is given by
\begin{equation}
\rho (t)=\ \sum_{n,m=1}^{d}\frac{\rho
_{nm}(0) e^{-i (E_{n}-E_{m}) t- \gamma \left( E_{n}^{\kappa
}+E_{m}^{\kappa }\right) t}}{\sum_{j=1}^{d}\rho _{jj}(0)e^{-2\gamma
E_{j}^{\kappa }}}
\dyad{n}{m}\,.
\end{equation}
The corresponding Liouvillians in the vectorized formalism read
\begin{equation}
\mathbb{L}^{(\kappa )}=i(\mathds{1} \otimes H_{0}-H_{0}\otimes %
\mathds{1})-\gamma \left( \mathds{1}\otimes H_{0}^{\kappa }+H_{0}^{\kappa
}\otimes \mathds{1} \right) + 2 \gamma \mathrm{Tr}(H_{0}^{\kappa }\rho
(t))\left( \mathds{1}\otimes \mathds{1}\right) ,   \label{liouvilleBNGLk}
\end{equation}%
and satisfy the eigenvalue equation
\begin{equation}
\mathbb{L}^{(\kappa )}  | n,  m )
= \left( i(E_{n}-E_{m})-\frac{\gamma }{2}(E_{n}^{\kappa }+E_{m}^{\kappa
})+ 2 \gamma \mathrm{Tr}(H_{0}^{\kappa }\rho (t))\right)  | n,  m ) , \label{eigBNGLk}
\end{equation}
denoting $| n,  m ) \equiv \ket{n} \otimes \ket{m}$.
For Hamiltonians with a bounded spectrum (that is, included in the interval $E\in (-R,R)$, with $R>0$), the spectrum of $\mathbb{L}^{(\kappa )}$ is
bounded, for even $\kappa$, by the boundaries of the three functions
\begin{equation}
\lambda _{b}=
\begin{cases}
-\gamma E^{\kappa }  -2 i E + 2 \gamma \mathrm{Tr}(H_{0}^{\kappa }\rho (t)) \\
-\frac{\gamma }{2}(R^{\kappa } +E^{\kappa })+i(R-E) + 2 \gamma \mathrm{Tr}(H_{0}^{\kappa }\rho (t))   , \\
-\frac{\gamma }{2}(R^{\kappa }+E^{\kappa })-i(R+E) + 2 \gamma \mathrm{Tr}(H_{0}^{\kappa }\rho (t))
\end{cases}
\label{boundeven}
\end{equation}
and  by the boundaries of the four functions
\begin{equation}
\lambda _{b}=\pm \frac{\gamma }{2}(R^{\kappa }+E^{\kappa })\pm i(R-E) + 2 \gamma \mathrm{Tr}(H_{0}^{\kappa }\rho (t)) ,    \label{boundodd}
\end{equation}
for odd $\kappa$.

In the Liouville space formalism, the dynamical generator of the canonical Lindblad form of Eq.  \eqref{GKLSgeneral} becomes
\begin{eqnarray}
\mathbb{L}=-i\left(H \otimes \mathds{1}-\mathds{1}\otimes H \right)
+\sum_\alpha\gamma_\alpha\left(K_\alpha\otimes K_\alpha^\dag- \frac{1}{2}K_\alpha^\dag K_\alpha\otimes \mathds{1}
-\frac{1}{2}\mathds{1}\otimes  K_\alpha^\dag K_\alpha \right) .
\end{eqnarray}
We  focus on the case of even  $\kappa$
\begin{align}
\mathbb{L}_{\text{ED}}^{(\kappa)}=i(\mathds{1}\otimes H_{0}-H_{0}\otimes \mathds{1}%
)-\gamma \left( \mathds{1}\otimes H_{0}^{\kappa}+H_{0}^{\kappa} \otimes \mathds{1}
-2 H_{0}^{\frac{\kappa}{2}} \otimes H_{0}^{\frac{\kappa}{2}} \right) ,  \label{liouvilleED}
\end{align}
and compare their spectra with the corresponding generators,  after removing the quantum jumps in Eq.  \eqref{liouvilleBNGLk}.

Considering the case of BNGL when $\kappa=2$,
we see that the spectrum of the ED Liouvillian $\mathbb{L}_{\text{ED}}^{(2)}$ only depends on the energy gaps $%
E_{nm}\equiv E_{n}-E_{m}$, laying on the parabola $\lambda =-\frac{\gamma }{2%
}E_{nm}^{2}+iE_{nm}$ with a probability distribution given from the density
of gaps of the Hamiltonian $H_{0}$.
Neglecting the time depended shift of the spectrum, when the jump term is removed, the eigenvalues $\lambda $ are spread on a two
dimensional locus defined by the boundaries of the three  parabolas
\begin{equation}
\lambda _{b}=%
\begin{cases}
-\gamma E^{2} -2 i E \\
-\frac{\gamma }{2}(R^{2}+E^{2})+i(R-E) \\
-\frac{\gamma }{2}(R^{2}+E^{2})-i(R+E)%
\end{cases}%
,\quad E\in (-R,R)\,,  \label{bound}
\end{equation}%
where $R$ is the largest allowed eigenvalue.
For  simplicity, one can always consider  the spectrum of $H_{0}$ to be distributed in the interval $(-R,R)$.
Every eigenvalue of the $\mathbb{L}^{(\kappa)}$ spectrum can be thought of as a point on a shifted parabola of the corresponding ED spectrum,  centered on itself,  within the the domain $(-R,R)$.
Finally, the inclusion of a time-dependent and initial condition-dependent term in the Liouvillian $\mathbb{L}^{(2)}$ of Eq. \eqref{liouvilleBNGLk}
shifts the spectrum on the real axis by $\chi (t) = 2 \gamma {\rm Tr}[ H_{0}^{2}\rho (t) ] $.

\paragraph{Examples from Random Matrix Theory.}

Since Wigner's groundbreaking work on the neutron excitation spectra of heavy nuclei \cite{wigner1955}, it has become clear that random matrices can adequately describe the statistical features of several quantum systems \cite{MethaBook,Haake}.
As paradigms of quantum chaotic Hamiltonians with bounded spectrum and time-reversal symmetry, we sample random $d$-dimensional matrices from the Gaussian orthogonal ensemble,  $H_0\in{\rm GOE}(d)$.
Specifically, we consider samples of real,  orthogonal matrices $H=(X+X^{\intercal })/2$,
where all elements $x\in \mathbb{R}$ of $X$ are pseudo-randomly generated
with probability measure given by the Gaussian $\frac{1}{\sigma \sqrt{2\pi }} e^{-\frac{x^{2}}{2\sigma ^{2}}}$  with standard deviation $\sigma$ \cite{MethaBook,Haake}.
When $d$ or the sample size is large, the spectral density distribution of such matrices can be approximated by the semicircle law
\begin{equation}
c(E)=\frac{\sqrt{2d\sigma ^{2}-E^{2}}}{\pi d\sigma ^{2}}
\label{semicircle}
\end{equation}
so $R=\sigma \sqrt{2d}$.
In Fig.~\ref{Fig1DecoTTbar} we show the BNGL spectra of $\mathbb{L}^{(\kappa )}$ when $t\rightarrow \infty $ for $\kappa =1,2,3,4,5,6$ with the corresponding theoretical boundaries of Eq.  \eqref{boundeven} and \eqref{boundodd}.
Each panel has the spectrum of a Hamiltonian drawn from $\mathrm{GOE}(64)$, with $\sigma=1$.

\begin{figure
\begin{center}
\hspace{-0.5cm}
\includegraphics[width=1 \linewidth]{spectracomboBGL.pdf}
\end{center}
\vspace{-0.5cm}
\caption{\label{Fig1DecoTTbar} {\bf  Liouvillian spectra of different non-Hermitian deformations. }
 Spectra of $\mathbb{L}^{(\kappa )}$ with $\gamma=1$ when $%
t\rightarrow \infty $, for $\protect\kappa =1,2,3,4,5,6$ (gray points) on
the complex plain, together with the theoretical boundaries (dashed black lines)
given by Eq. \eqref{boundeven} and Eq. \eqref{boundodd}.   In all six plots we show the spectrum of a single random $\mathrm{GOE}(2^6)$ Hamiltonian $H_{0}$ with $%
\protect\sigma =1$.
}
\end{figure}

\paragraph{Examples from the Sachdev-Ye-Kitaev Model.}

For the illustration of the relation between BNGL and ED Liouvillian spectra,  we consider the example of a Hilbert space of dimension $d = 2^ N$ and the undeformed SYK Hamiltonian of $2 N$ Majorana Fermions with an all-to-all random quartic interactions in the occupation number representation
\begin{align}
\label{hamilton}
 H_0 = \frac{1}{4!} \sum_{k,l,m,n=1}^{2N}  J_{klmn} \chi_k  \chi_l  \chi_m  \chi_n  ,
\end{align}
obeying the anti-commutation relation $ \{\chi _{k},\chi _{l}\}=2\delta _{kl}$.
The factor of two in the latter can be seen as a rescaling of
the operators \cite{Solano2017,Garcia-Garcia2017PRD}.
The coupling tensor $J_{klmn}$ is completely anti-symmetric, and
independently sampled from a Gaussian distribution
\begin{equation}
J_{klmn}\in \mathcal{N}\left( 0,\frac{3!}{(2N)^{3}}J^{2}\right) ,  \label{J}
\end{equation}%
where $J^{2}=\frac{1}{3!}\sum_{lmn}\left\langle J_{klmn}^{2}\right\rangle $ is sometimes set $J=1$ for convenience,  c.f.~Ref.~\cite{Cotler2017}.

One can represent $2N$ Majorana Fermions in terms of $N$
Dirac Fermions,  obeying the normal anti-commutation relations $\{c_{j},c_{k}\}=0$, $\{c_{j},c_{k}^{\dag }\}=\delta _{jk}$,
\begin{equation}
\left\{
\begin{array}{l}
c_{j}=\frac{1}{2}(\chi _{2j-1}+i\chi _{2j}) \\
c_{j}^{\dag }=\frac{1}{2}(\chi _{2j-1}+i\chi _{2j})%
\end{array}%
,\right.
\end{equation}%
which can be further expressed by spin-1/2 operators \{$\sigma ^{x},\sigma
^{y},\sigma ^{z},I$\} through  a Jordan-Wigner transformation
\begin{equation}
\left\{
\begin{array}{l}
\chi _{2j-1}=\underset{j-1}{\underbrace{\sigma ^{z}\otimes \cdots \otimes
\sigma ^{z}}}\otimes \sigma ^{x}\otimes \underset{N-j}{\underbrace{I\otimes
\cdots \otimes I}} \\
\chi _{2j}=\underset{j-1}{\underbrace{\sigma ^{z}\otimes \cdots \otimes
\sigma ^{z}}}\otimes \sigma ^{y}\otimes \underset{N-j}{\underbrace{I\otimes
\cdots \otimes I}}%
\end{array}%
.\right.  \label{SYK-spin}
\end{equation}%

In the limit of large number of particles $N \rightarrow \infty$, the Hamiltonian spectral density of $H_0$ has been shown to be a Gaussian, while for finite $N$ the density deviates outside the support of the Gaussian and is well approximated by a Q-Hermite form \cite{Garcia-Garcia2017PRD}.  The ground-state $E_0$, associated with the thermodynamic properties of the system in the low temperature limit \cite{Garcia-Garcia2017PRD,  jevicki2016,  maldacena2016}, is expected to be proportional to $N$,  due to the fermionic nature of model.
The spectrum of the ED Liouvillian $ \mathbb{L}_{\text{ED}}^{(2)} $ in \eqref{liouvilleED} only depends on the energy gaps,  laying on the parabola $ \lambda = -\frac{\gamma}{2} E_{nm}^2 + i  E_{nm}  $, with a probability distribution given from the density of gaps of the Hamiltonian $H_0$.  When the jump term is removed,  the eigenvalues $\lambda$ of $\mathbb{L}^{(2)}$ in \eqref{liouvilleBNGLk}  are spread on a two dimensional locus defined by three boundary parabolas parameterized by the ground-state $R= \abs{E_0}$ of $H_0$,  rigidly shifted with time by the trace preservation scalar term in Eq.~\eqref{rhotDBNGL}.

	\begin{SCfigure}
 	\centering
	\caption{\label{Fig2DecoTTbar} {\bf Spectral loci of BNGL for the SYK model.}
Eigenvalue density distribution on the complex plane (from white to green) of the BNGL, $\kappa=2$ Liouvillian \eqref{liouvilleBNGLk} and distinct eigenvalues (orange) of the ED Liouvillian \eqref{liouvilleED}.
In both models the dephasing strength is taken $\gamma=1$.
The eigenvalues of the undeformed SYK Hamiltonian $H_0$ for $2 N = 26$ Majorana Fermions were calculated with exact diagonalization.
The spectral density of the BNGL, $\kappa=2$ Liouvilian can be approximated by the product of two identical Q-Hermite forms, deformed to parabolas (gray solid lines), centered on the spectral locus of the ED model.  The theoretical boundary (dashed grey line) is given by Eq. \eqref{bound}.
}
\includegraphics[width=0.43 \linewidth]{BGLEDspec.pdf}
\hspace{0.5 cm}
\vspace{-0.2 cm}
	\end{SCfigure}

In Fig.~\ref{Fig2DecoTTbar} the spectral density of a BNGL, $\kappa=2$, $\gamma =1$ Liouvillian of $26$ Majorana Fermions is plotted, together with the corresponding spectrum of ED.
The eigenvalues of the undeformed SYK Hamiltonian $H_0$ were calculated with exact diagonalization.
From Eq. \eqref{liouvilleED} it becomes evident that the spectral density of ED is given by the Hamiltonian spectral density of $H_0$,  deformed to a parabola on the complex plane, $(-\frac{\protect\gamma }{2}E^{2},E)$, while the exclusion of the jump operators spreads the superoperator eigenvalues in a two dimensional locus.
In general, as shown in  Fig.~\ref{Fig1DecoTTbar} {\sf{\textbf{d}}},{\sf{\textbf{e}}},{\sf{\textbf{f}}}, for even $\kappa$, given the spectral density of the undeformed Hamiltonian, one can construct the corresponding spectral density of the BNGL by the product of two identical undeformed densities, deformed on their $\kappa$th power, centered on the spectral locus of the ED model.

\subsection{Correlation Dynamics with initial Thermofield Double State} \label{SecTFD}

To further illustrate the relevance of non-Hermitian deformations in quantum dynamics we next discuss the evolution of correlations of an entangled state describing two identical copies of a system.
We focus on the thermofield dynamics, initially introduced
in the study of statistical field theories at finite temperature \cite{takahashi1996}.
In the search for a formalism where statistical thermal averages can be calculated without trace operations, the TFD of inverse temperature $\beta$ was defined as
\begin{equation}
\label{TFDket}
\ket{\text{TFD}} =  \sum_{n=1}^d \frac{ e^{-\frac{\beta}{2}E_n}}{\sqrt{Z(\beta)}} \ket{n, n}.
\end{equation}
By that time, Bardeen, Carter and Hawking \cite{bardeen1973} had already introduced ``black hole mechanics'', putting forward the consideration of the surface gravity of an axisymmetric  stationary solution of Einstein equations as an analogue of temperature.
Soon after, thermofield dynamics was used by Israel \cite{israel1976} to formalize the ``hot'' thermal vacuum observed outside the horizon of a single radiating eternal black hole.
More recently, thermofield dynamics has been extensively used in the context of AdS/CFT correspondence for the the description of contemporaneous black hole pairs in disconnected spaces \cite{maldacena2003,maldacena2013}.
Furthermore, as we will discuss in more detail in Sec. \ref{SecSFF}, the survival probability of a TFD in an isolated system is related to the spectral form factor, a powerful tool in the study of dynamical signatures of quantum chaos \cite{Xu21SFF,cornelius2022}.
In this section we focus on quantum informational quantities, namely the R\'enyi entropy and the logarithmic negativity of a bipartite system, when an initial TFD is evolving under the dynamics generated by non-Hermitian Hamiltonian deformations.

In isolation, the dynamics of two identical non-interacting systems is governed by the Hamiltonian $\tilde H_0 = H_0 \otimes \mathds{1}  + \mathds{1} \otimes H_0$.
In the absence of interactions, the entanglement between the two copies is preserved.
Let us consider the evolution of the whole bipartite system, obeying the dynamics given by the non-Hermitian deformation  $ \tilde H = \tilde H_0 - i \gamma \tilde H_0^2 $.
The square of the Hamiltonian $\tilde H_0$, describing two identical non-interacting systems is
\begin{align} \label{hamsquare}
\tilde H_0^2 = H_0^2 \otimes \mathds{1}  + \mathds{1} \otimes H_0^2 +2 H_0 \otimes H_0 .
\end{align}

By making use of Eq.~\eqref{evolstate} and the  kernel in Eq.~\eqref{dephkernel}, the time-dependent density matrix of an initial TFD (\ref{TFDket}) can be written in the energy eigenbasis of the undeformed Hamiltonian $H_0$ as

    \begin{equation}
    \label{TFDrhot}
 \rho_{\text{TFD}} (t) = \frac{
  \displaystyle \sum_{n,m=1}^d
e^{ -\frac{\beta}{2}(E_n+E_m) - i  2 t ( E_m - E_n)  - 4 \gamma t  \big( E_n^2 +E_m^2 \big )   }
 }
 {
\displaystyle \sum_{ \nu=1}^d
e^{ - \beta  E_\nu - 8 \gamma t E_\nu^2 }
 }  \dyad{n,n}{m,m} .
    \end{equation}

\subsubsection*{R\'enyi Entropy}
To characterize the evolution of quantum correlations in Eq. (\ref{TFDrhot}), we resort to the R\'enyi entropy.
For $\alpha \in \mathbb{N}$, the $\alpha$-th power of the reduced density matrix, when the partial trace
is taken over the second subsystem, is given by
	\begin{align}
\rho^\alpha_{1} (t) = \frac{
  \displaystyle \sum_{n=1}^d
e^{ - \beta \alpha  E_n - 8 \gamma \alpha t E_n^2 }
 }
 {
\left( \displaystyle \sum_{ \nu=1}^d
e^{ - \beta  E_\nu - 8 \gamma t  E_\nu^2 } \right)^\alpha
 } \ketbra{n} .
	\end{align}
For $\alpha \geq 2$, the $\alpha^{th}$  R\'enyi entropy of the subsystem can be written as
     \begin{align} \label{renyiratio}
S_{1,\alpha} ( t ) &=
\frac{ 1 }{ 1- \alpha } \ln     (
\frac{
\displaystyle \sum_{n=1}^d
e^{ - \beta \alpha  E_n - 8 \gamma \alpha t E_n^2 }
 }
 {
\left( \displaystyle \sum_{ \nu=1}^d
e^{ - \beta E_\nu - 8 \gamma t  E_\nu^2 } \right)^\alpha
 } ) .

     \end{align}
Using the Hubbard–Stratonovich transformation,  the above R\'enyi entropies can be found in terms of the partition function of the undeformed theory
      \begin{align}
 S_{1,\alpha} ( t )  &=
 \frac{ 1 }{ 1- \alpha } \ln     (
  \frac{1}{\sqrt{\alpha}(32 \pi \gamma  t )^{ \frac{ 1-\alpha }{ 2 } }}
  \frac{
 \displaystyle  \int_{-\infty}^\infty \mathrm{d}y e^{ -\frac{y^2}{32 \alpha \gamma t} } Z_0(\alpha \beta + i y)
  }
  {
 \left( \displaystyle  \int_{-\infty}^\infty \mathrm{d}y e^{ -\frac{y^2}{32 \gamma t} } Z_0( \beta + i y) \right)^\alpha
  } ) .
      \end{align}
In isolation, the system R\'enyi entropy remains constant and equal to the initial value
\begin{equation}
    S_{1,\alpha} ( 0 ) = \frac{1}{1-\alpha} \ln \left( \frac{Z_0 (\alpha \beta)}{Z_0 (\beta)^\alpha}\right) .
\end{equation}

A remarkable fact is that $S_{1,\alpha}(t) \rightarrow 0$ at large times.
The   R\'enyi-2 entropy ($\alpha=2$) is related to the purity by $P_1(t) = e^{S_{1,2}(t)} \rightarrow 1$.
The first copy of the TDF is becoming asymptotically a pure state with time, and  thus the two copies are  disentangled on this limit and described by a product state.

When the ground state  energy is non-negative, the R\'enyi-2 are decreasing monotonically.
Contrarily to this, as shown in Fig.~\ref{Fig3DecoTTbar} for samples of {\rm GOE}($d$) Hamiltonians, the expression of Eq. \eqref{renyiratio} has a single maximum when the energy spectrum contains negative eigenvalues.
For finite low temperature and short times, the R\'enyi entropies grow to the maximum value after which they converge to zero monotonically.
Specifically the short time behaviour of the R\'enyi-2 entropy is governed by the exponential of the smallest negative eigenvalue
$E_M$.
By maximizing the R\'enyi-2 entropy in time we find
\begin{equation}
    t_M = \frac{\beta}{8 \gamma E_M} .
\end{equation}
For a sample of {\rm GOE}($d$) Hamiltonians the average minimum negative eigenvalue can be approximated by the radius of the semicircle law of Eq. \eqref{semicircle}, $\langle E_M \rangle_H = \sigma \sqrt{2 d}$,
    \begin{equation}
        t_M = \frac{\beta}{8 \gamma \sigma \sqrt{2 d}}  .
    \end{equation}
The short time behaviour in high temperature $\beta \rightarrow 0$ is dictated by the critical timescale $t_D$ at which $8 \gamma  t_D \langle H_0^2 \rangle \simeq 1$ which is connected to the Zeno \cite{delcampo17} and decoherence timescales through $t_D = 8 \tau_D =  \tau_Z^2/(8 \gamma)$.
Specifically, for a sample of {\rm GOE}($d$) Hamiltonians it can be approximated by
    \begin{equation}
        t_D = \frac{1}{16 \gamma \sigma^2 d} .
    \end{equation}
Remarkably, the critical inverse temperature at which $t_M = t_D$ is independent of the dephasing strength $\gamma$ and only relies on the characteristics of the Hamiltonian ensemble, namely
    \begin{equation}
        \beta_c = \frac{1}{\sigma \sqrt{2d}} .
    \end{equation}
In Fig.~\ref{Fig3DecoTTbar} we show the Hamiltonian averages of the second R\'enyi entropy for a sample of $100$ {\rm GOE}(64) Hamiltonians in rescaled time to illustrate the universality of the above result.

\begin{figure}[t]
\begin{center}
\hspace{-0.5cm}
\includegraphics[width=0.92 \linewidth]{renyitimecombo.pdf}
\end{center}
\vspace{-0.5cm}
\caption{\label{Fig3DecoTTbar} {\bf  R\'enyi-2 entropy of the thermofield double state. }
Hamiltonian averages of $100$ {\rm GOE}(64) Hamiltonians in rescaled time.
{\sf{\textbf{a}}}: At high temperature, $\beta \rightarrow 0$, the R\'enyi entropies start decaying to zero after time $t_D$.
The two copies of the TFD are effectively being disentangled to a product state.
At low temperatures, the decay comes after the growth to maximum value around a timescale $t_M$, until which entanglement increases.
The two regimes are separated by the critical temperature scale $1/\beta_c$.
{\sf{\textbf{b}}}: R\'enyi-2 entropy for $\beta=0.2$.
In the rescaled time the structure of the R\'enyi entropies rely only on the value of $\beta$.
}
\end{figure}

\subsubsection*{Logarithmic Negativity}

For an alternative characterization of quantum correlations, we resort to the logarithmic negativity $LN[\rho]$, proposed as a non-convex entanglement monotone with an operational interpretation that sets an upper bound to distillable entanglement \cite{vidal2002,plenio05}.
It is defined in terms of the partial transpose $\rho^{\rm PT} $ of the bipartite density matrix as
\begin{eqnarray} LN[\rho]= \log_2 ( {\rm Tr}\norm{\rho^{\rm PT} }_1) .
\end{eqnarray}

The logarithmic negativity of the time-evolution of the TFD, in Eq. (\ref{TFDrhot}) reads
\begin{eqnarray}
\label{LNtTFD}
 LN[\rho_{\text{TFD}}(t)] = \log_2\frac{
  \displaystyle
  \left|\sum_{n=1}^d
e^{ -\beta E_n/2 - \gamma 4 t E_n^2}\right|^2
 }
 {
\displaystyle\sum_{ \nu=1}^d
e^{ - \beta E_\nu - 8 \gamma t  E_\nu^2 }
}.
\end{eqnarray}
The resulting logarithmic negativity carries all the characteristics of the R\'enyi entropies calculated earlier, strengthening our results for the evolution of the entanglement properties of an initial TFD state evolving under BNGL.
To check that, one can observe that the expression \eqref{renyiratio} for $\alpha \rightarrow 1/2$ differs from \eqref{LNtTFD} only by a multiplicative factor.
We  observe that for the TFD, the logarithmic negativity is related to $S_{1,1/2} (t)$ as $LN[\rho_{\text{TFD}}(t)]=\ln(2)S_{1,1/2}(t)$ and we  defer from a further characterization of it.

Before closing this section, we recall that the above discussion is based on the global deformation of a bipartite system, initially prepared in a TFD.
One could be tempted to assume that the reduction of entanglement is due to the induced interaction term $H_0 \otimes H_0$ of Eq. \eqref{hamsquare}.
Nevertheless, even if deforming only the local Hamiltonian, i.e., $\tilde H = H \otimes \mathds{1}  + \mathds{1} \otimes H$, with $H = H_0 - i \gamma H_0^2$,
when the interaction term is absent in the Liouvillian, the R\'enyi entropies and the logarithmic negativity of the TFD state behave similarly.
Specifically, the corresponding expressions for the local deformation are equal to the ones obtained by the global transformation for half the dephasing strength.

\subsection{Deformation of the Spectral Form Factor}\label{SecSFF}

In the characterization of quantum chaos in terms of the spectral properties of the Hamiltonian describing an isolated quantum system, the correlation between eigenvalues plays a crucial role.
For any initial pure state undergoing unitary evolution, the Fourier transform of the survival probability (auto-correlation function, two-point correlation function or fidelity between initial and final state) is a weighted sum of $\delta-$functions positioned at the eigenvalues of the Hamiltonian.
Inversely, the absolute square value of the Fourier transform of the local density of states is the survival probability of the initial quantum  state.
When the probability amplitudes of the initial state are the square root of the Boltzmann factors, the survival probability is known as the spectral form factor and provides a convenient tool to characterize dynamical signatures of quantum chaos \cite{Leviandier86,WilkieBrumer91,Alhassid93,Ma95,brezin1997,Gorin06,delcampo17}.
The partition function with a complex-valued inverse temperature can be considered as a generalization, involving a complex Fourier transform instead \cite{Dyer2017,Cotler2017,delcampo17}.
The SFF and its generalization exhibit key features as a function of time that include a decay to a minimum value known as the correlation hole, a subsequent growth characterized by a ramp linear in time, and saturation to an asymptotic plateau value.
The depth and area of the correlation hole have been shown to measure the long- and short-range correlations of the energy levels \cite{Ma95}.
This behavior is better appreciated in an ensemble of Hamiltonians, though it can be manifested as well in a single self-averaging system.

In open quantum systems, different quantities have been proposed to characterize the interplay of quantum chaos and decoherence using spectral properties \cite{Haake,Gorin06,Jacquod09,Xu19,Can19,Xu21SFF,li2021,cornelius2022}.
An analogue of the SFF is given by the fidelity between a coherent Gibbs state
 \begin{eqnarray}
|\psi _{\beta }\rangle =\sum_{n=1}^d \frac{e^{-\beta E_{n}/2}}{\sqrt{Z_0(\beta )}}|n\rangle,\quad Z_0(\beta)={\rm Tr}[e^{-\beta H_0}],
\end{eqnarray}
and its time-evolution \cite{Xu21SFF,cornelius2022}.
Provided that the latter is described by a quantum channel $\Lambda$, the state at time $t$ is given by a density matrix $\rho (t)=\Lambda[ \rho (0) ]$.
The analogue of the SFF then reads \cite{Xu21SFF,cornelius2022}
\begin{eqnarray}
F (t)=\langle \psi _{\beta }|\rho (t) |\psi
_{\beta }\rangle =\langle \psi _{\beta }\left|\Lambda\left[|\psi_{\beta }\rangle\langle \psi _{\beta }|\right]\right|\psi
_{\beta }\rangle .
\end{eqnarray}
In the case of  unitary dynamics  generated by $H_0$,  one recovers the familiar expression
\begin{eqnarray}
F (t)=|Z_0(\beta +it)/Z_0(\beta )|^{2}.
\end{eqnarray}

It has been pointed out that decoherence suppresses the dynamical manifestations of quantum chaos in the ED case of Eq. \eqref{rhotED}, i.e., it shrinks the correlation hole of the proposed SFF \cite{Xu21SFF}.
By contrast, the corresponding dynamics of  the BNGL equation for the deformed Hamiltonian $w(H_0)=H_0-i\gamma H_0^2$ can enhance the aforementioned signatures of quantum chaos \cite{cornelius2022}.
Furthermore, BNGL dynamics leads to an extension of the ramp's span while lowering the values of the dip and plateau,  providing  an experimentally-feasible physical mechanism for the kind of spectral filtering often used in numerical studies of many-body systems \cite{cornelius2022}.

Let us recall some results from Refs. \cite{Xu21SFF,cornelius2022}.
The explicit expression of the SFF under Lindbladian ED  (\ref{rhotED}) reads
\begin{eqnarray}
F(t) =\frac{1}{Z_0(\beta)^2}\sum_{n,m=1}^{d} e^{-\beta(E_n+E_m)-it(E_m-E_n)-\gamma t (E_m-E_n)^2}.
\end{eqnarray}
Note that this equation also describes the fidelity for an initial TFD, by time rescaling \cite{Xu19,delCampo2020,Xu21SFF}.
Importantly, it can be written in terms of the partition function analytically continued to complex inverse temperature as  \cite{Xu19,delCampo2020,Xu21SFF}
\begin{eqnarray}
F(t)=\sqrt{\frac{1}{4\pi \gamma t}} \int_{-\infty }^{\infty }\mathrm{d}ye^{-\frac{y^{2}}{4\gamma t}}\left|\frac{Z_0 \big(\beta+i(y+t) \big)}{Z_0(\beta)}\right|^2,
\end{eqnarray}
thus facilitating its study in cases  in which  the partition function is readily available, e.g.,  in certain integrable models and conformal field theories.
For $t\gg \tau_D$,  the time-evolving density matrix is effectively diagonal and
\begin{eqnarray}
\label{longtF}
F (t) \sim F_p=\frac{1}{Z_0(\beta)^2}\sum_nN_ne^{-2\beta E_n}\geq
 \frac{Z_0(2\beta)}{Z_0(\beta)^2},
\end{eqnarray}
where $N_n$ is the degeneracy of the eigenvalue $E_n$.

By contrast, under the BNGL evolution
a direct application of Eq.~\eqref{evolstate} yields
\begin{equation}\label{fidelityFede}
    F(t)
    =
    \frac{\left| \int_\mathbb{R}  \text{d}s \,    K_w(t,s)
		Z_0(\beta +i s)\right|^2}{ Z_0(\beta ) \int_\mathbb{R}  \text{d}s \, \int_\mathbb{R}  \text{d}s'\,   K_w(t,s) K_{w^*}(-t,-s')
		 Z_0(\beta +i (s-s'))}\,.
\end{equation}
In the special case of $w(z)=z-i\gamma z^2$ it reads \cite{cornelius2022}
\begin{eqnarray}
\label{FtBNGL}
F(t)=\frac{\left|\displaystyle \sum_{n=1}^d  e^{-(\beta+it)E_n-\gamma t E_n^2}\right|^2}{Z_0(\beta) \displaystyle \sum_{j=1}^d e^{-\beta E_j-2t\gamma E_j^2}}
\,.
\end{eqnarray}
\begin{figure}[t]
\begin{center}
\hspace{-0.4cm}
\includegraphics[width=1 \linewidth]{fidetimecomboBGL.pdf}
\end{center}
\vspace{-0.5cm}
\caption{\label{Fig4DecoTTbar} {\bf  The deformed SFF for BNGL in random matrix theory.} The time-dependence of the fidelity between a coherent Gibbs state and its time evolution generalizes the notion of the SFF of Hermitian Hamiltonians to open quantum systems, including those governed by non-Hermitian Hamiltonians.
Different panels correspond to different temperatures of the initial state.  Each panel shows the evolution under BNGL for $\kappa=2$ and different values of the dephasing strength.
The average is taken over a sample of $1000$  ${\rm GOE}(2^8)$ undefomed Hamiltonians $H_0$.
At infinite and high temperature, the nonunitary dynamics under BNGL preserves the main features of the SFF, displaying a decay,  a dip,  a ramp and a plateau.
Deviations from the unitary case ($\gamma=0$), suppress quantum noise in the neighborhood of the dip as well as in the plateau. Increasing the dephasing strength $\gamma$ alters the decay, delaying the appearance of the dip and shortening the ramp, while keeping the onset of the plateau unaltered.
At lower temperatures (when the annealed approximation is expected to fail), BNGL prolongs the decay, enhancing the dip.  As a result the ramp and the plateau take lower values than in the unitary case.
}
\end{figure}

In Fig.~\ref{Fig4DecoTTbar} we show examples of the characteristic behavior of the deformed SFF \eqref{FtBNGL}, for averages over different Hamiltonian matrices drawn from the Gaussian orthogonal ensemble when the Hilbert space dimension is $d=256$.

The long-time limit of the fidelity, for any $\gamma>0$, $F(t)\geq 1/Z_0(\beta)$ where the inequality is saturated for systems lacking degeneracies, e.g., exhibiting quantum chaos \cite{cornelius2022}.
By contrast, for $\gamma=0$,  the value of $F_p$ under ED is given by Eq. (\ref{longtF}).

The choice of the coherent Gibbs state $|\psi_\beta\rangle$ also allows to illustrate, somewhat dramatically, the different nature of the dissipative dynamics in  the presence and absence of the quantum jump term.
To this end, consider the evolution of the purity for an initial coherent Gibbs state.
Under ED  \cite{Xu19,delCampo2020},
\begin{eqnarray}
P(t)=
\sum_{nm}\frac{e^{-\beta(E_n+E_m)}}{Z_0(\beta)^2}e^{-2\gamma t (E_n-E_m)^2}\nonumber=\sqrt{\frac{1}{8\pi \gamma t}}%
\int_{-\infty }^{\infty }\mathrm{d}ye^{-\frac{y^{2}}{8\gamma t}}\left|\frac{Z_0(\beta+iy)}{Z_0(\beta)}\right|^2.
\end{eqnarray}
By contrast, as previously mentioned, for an initial coherent Gibbs state evolving under BNGL, the purity remains equal to unity at all times $P(t)=1$.
We also note that if the initial state is mixed, in both cases the purity varies as a function of time, according to (\ref{PtED}) and (\ref{PtEDBNGL}).

In short, for a coherent Gibbs state in the cases of ED with a single Lindblad operator and the corresponding evolution with BNGL, we have been able to express the fidelity and the purity in terms of the partition function of the undeformed Hermitian Hamiltonian using Non-Hermitian deformations.

To explore the extent to which the SFF for Eq.~(\ref{rhotED}) and BNGL equation differ, let us assume that $H_0$ is a chaotic Hermitian Hamiltonian with time-reversal symmetry sampled from $H_0\in {\rm GOE}(d)$.
Specifically, in Fig.~\ref{Fig5DecoTTbar}, we sample $1000$ Hamiltonians with $d=32$, choosing dephasing strength $\gamma = 0.2$ for different temperatures.

\begin{figure}[t]
\begin{center}
\hspace{0.0cm}
\includegraphics[width=1 \linewidth]{fidetimecomboBGLvsED.pdf}
\end{center}
\vspace{-0.5cm}
\caption{\label{Fig5DecoTTbar} {\bf  Energy-Dephasing vs BNGL  in Random Matrix Theory. } The time-dependence of the fidelity between a coherent Gibbs state and its time evolution is compared for energy-dephasing (orange dashed line) and the  nonlinear evolution for null-measurement conditioning associated with BNGL (green dotted line) with $\gamma=0.2$. For the sake of comparison, we also show the SFF of the corresponding isolated system (black solid line), $\gamma=0$. We consider a sample of 1000 independent Hamiltonians $H_0$ taken from ${\rm GOE}(2^5)$.  At long times,  the fidelity reaches a plateau with the value $\langle Z(2\beta)/Z^2(\beta)\rangle$ for $\gamma=0$ and $\langle 1/Z(\beta)\rangle$ for $\gamma\neq 0$.}
\end{figure}

For the non-Hermitian Hamiltonian deformations defined in Eq.~\eqref{deformk} the deformed SFF becomes
\begin{align} \label{SFFgen}
F(t) &= \frac{\displaystyle \sum_{n=1}^d p_n^2 e^{-2 E_n^\kappa t} }{\displaystyle \sum_{j=1}^d p_j e^{-2 E_j^\kappa t}}
+ 2 \frac{ \displaystyle \sum_{\substack{n,m=1 \\ n<m}}^d p_np_m e^{-(E_n^\kappa+E_m^\kappa) t}
\cos \Big( \big( E_m -E_n \big) t \Big) }
{\displaystyle \sum_{j=1}^d p_j e^{-2 E_j^\kappa t}},
\end{align}
where $p_n=e^{-\beta E_n}/Z_0(\beta)$ are the Boltzmann factors of the undeformed Hamiltonian $H_0$.

The timescale at which all frequencies $E_m-E_n$ have on average been expressed in the evolution can be approximated by the inverse of the average level spacing $\Delta$, sometimes referred to as Heisenberg time $t_H = 2 \pi/ \Delta$ \cite{prange1997,Haake}.
After this time, the cosines of frequencies whose ratio is irrational cancel each other on average, leading the SFF to its plateau, while the distribution of the smallest ones, i.e., the level spacing distribution determines its behaviour right before $t_H$.
In a quantum chaotic system, level repulsion is manifested in the ramp which follows the dip of the correlation hole leading the SFF to saturation.
In this context the absence of a correlation hole before the Heisenberg time is associated with regular dynamics.
The mean level spacing for a Hamiltonian sampled from $\mathrm{GOE}(d)$, whose spectrum has not been unfolded, is $\Delta  = \sigma \sqrt{8 d} / (d-1)$, and thus the Heisenberg time, $t_H = \pi  (d-1) / ( \sigma \sqrt{2d} )$.
\begin{figure}[t]
\begin{center}
\hspace{-0.5cm}
\includegraphics[width=1 \linewidth]{fidevenoddcomboBGL.pdf}
\end{center}
\vspace{-0.5cm}
\caption{\label{Fig6DecoTTbar} {\bf  Correlation hole shrinking for different non-Hermitian deformations. }
Fidelity between initial and time evolved infinite inverse temperature coherent Gibbs state under the BNGL dynamics of $\mathbb{L}^{(\kappa )}$, for even $\kappa$ and characteristic values of the dephasing strength $\gamma$.  Three different deformations for $\kappa =2,4,6$ are averaged over a sample of $1000$  ${\rm GOE}(2^6)$ undefomed Hamiltonians $H_0$ with $\sigma =1$.
}
\end{figure}

In the non-Hermitian Hamiltonian deformations of Eq.~\eqref{deformk}, the dissipative part of the Liouvillian commutes with the system Hamiltonian, leaving the frequencies in Eq.~\eqref{SFFgen} unaffected.
Namely, the $H_0^\kappa$ part of the deformation affects the depth and area of the correlation hole.
In Fig.~\ref{Fig6DecoTTbar} we show the shrinking of the correlation hole with the increase of the dephasing strength, while the Heisenberg time remains unchanged.
In all three panels we show the Hamiltonian averages of $1000$ Hamiltonians, sampled from ${\rm GOE}(64)$ for infinite temperature $\beta=0$ and different values of the dephasing strength.

\section{Conclusions}\label{secConclusions}

Integrable and exactly solvable Hamiltonian deformations constitute a powerful tool among non-perturbative methods. Using them, equilibrium correlations of the deformed theory can be found via integral transforms  in terms of those in the original theory \cite{Gross20,Gross20b}.

In this work, using the theory of open quantum systems, we have motivated the introduction of non-Hermitian Hamiltonian deformations.  In the context of continuous quantum measurements, the latter describe the dynamics of a subensemble of trajectories selected according to a measurement record, i.e., the absence of quantum jumps.
For such subensemble, the dynamics is governed by a non-linear non-Hermitian evolution characterized by balanced norm gain and loss. The spectrum of the deformed non-Hermitian Hamiltonian is no longer real, but complex-valued. This makes it possible to  express nonequilibrium correlations of the deformed theory in terms of those of the undeformed theory, using integral equations, i.e., generalizing the relations known in the Hermitian setting.
In doing so, we have elucidated the relation between the time-evolution operators, density matrices, and the spectral properties of the generators of time evolution in both the deformed and undeformed theories

As an application, we have explored
the energy dephasing channel under both Markovian and BNGL evolution.
We found how spectral properties are significantly altered, as the Liouvillian spectrum constitutes a one dimensional locus in the complex plane, while BNGL spectrum corresponds to a two dimensional one. As working example, we considered the SYK model and random Hamiltonians from the GOE.
We characterized quantum correlations starting from a thermofield double state. Remarkably, entanglement and R\'enyi entropy display a maximum value under BNGL evolution, scaling with inverse temperature.

Finally, as an application of non-Hermitian deformations and building on earlier results, we considered
signatures of quantum chaos, using the survival probability of a coherent Gibbs state, identifying the effect of quantum jumps.
The spectral form factor exhibits a decay, dip and plateau. The dip is generally suppressed under energy dephasing, in the presence of quantum jumps.
However, when conditioning the dynamics to the absence of the latter, we have shown that non-Hermitian evolution of the energy dephasing channel under BNGL can actually enhance signatures of chaos by broadening the duration of the ramp.
This is contrary to the expectation that decoherence generally suppresses signatures of quantum chaos.
Further, the value of the plateau is fundamentally distinct from the isolated case and is characterized by the inverse of the partition function in quantum chaotic systems.

Beyond these findings, non-Hermitian deformations should find broad applications in the study of dissipative quantum many-body systems, the interplay between information scrambling and information loss, black hole physics and unitarity breaking,  and gauge-gravity dualities in open systems.

\section{Acknowledgments}
It a pleasure to acknowledge useful discussions with Federico Balducci, Nicoletta Carabba, Pablo Martínez-Azcona and Shinsei Ryu.