On-demand quantum state transfer and entanglement between remote microwave cavity memories

Extracted source text ยท arXiv 1712.05832

\documentclass[aps,
% rmp,
% prb,
% pra,
pra,
% onecolumn,
twocolumn,
superscriptaddress,
amssymb,
notitlepage,
% linenumbers,
% longbibliography,
reprint,
% preprint,
10pt]{revtex4-1}

\synctex=1

%% Language %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \usepackage[english]{babel}
% \usepackage[T1]{fontenc}
% \usepackage[utf8x]{inputenc}
\usepackage{upgreek}

%% Math Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{amsmath}
% \usepackage{amssymb}
% \usepackage{latexsym}
% \usepackage{amsthm}
% \usepackage{amsfonts}
% \usepackage{bbold}
% \usepackage{braket}

% \usepackage{setspace}

%% graphics
\usepackage{graphicx}
% \usepackage[dvipsnames]{xcolor}

%% PDF packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \usepackage{hyperref} % kill this to allow citation compression per Science requirements
% \usepackage[colorinlistoftodos,prependcaption,textsize=small]{todonotes}
% \usepackage{chapterbib}

\def\bibsection{\section*{\refname}}

%% commands
%% todo
% \newcommand{\missing}[1]
%     {\todo[linecolor=red,backgroundcolor=white,bordercolor=red,inline]
%         {\textcolor{red}{#1}}}
% \newcommand{\missinginfo}[1]
%     {\todo[linecolor=red,backgroundcolor=white,bordercolor=red]
%         {\scriptsize\begin{singlespace}{\textcolor{red}{#1}}\end{singlespace}}}


\input{common_preamble}
\input{supplement_preamble}

%% paths
\graphicspath{{./figures/}{./supplement_figures/}}

% figures at end
% \usepackage{float}
% \floatplacement{figure}{H}

% helpers
% \usepackage{xcolor} % moved to common

%% Science directives %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \usepackage{scicite}
%%% for draft only
% \usepackage[round]{natbib}
% \bibliographystyle{plainnat}
% \renewcommand{\cite}[1]{\citep{#1}}
% \usepackage[mathlines]{lineno} % Enable numbering of text and display math
% \linenumbers\relax % Commence numbering lines
%%%
% \usepackage{times}
% \topmargin 0.0cm
% \oddsidemargin 0.2cm
% \textwidth 16cm 
% \textheight 21cm
% \footskip 1.0cm

%The next command sets up an environment for the abstract to your paper
\newenvironment{sciabstract}{%
\begin{abstract}}
{\end{abstract}}

% \usepackage{xwatermark}
% \usepackage[yyyymmdd,hhmmss]{datetime}
% \newwatermark[allpages,ypos=5in,scale=0.75]{final draft \today\ \currenttime}

% If your reference list includes text notes as well as references,
% include the following line; otherwise, comment it out.

% \newcommand\supname{Supplementary Materials}

% \newcounter{lastnote}
% \newenvironment{scilastnote}{%
% \setcounter{lastnote}{\value{enumiv}}%
% \addtocounter{lastnote}{+1}%
% \begin{list}%
% {\arabic{lastnote}.}
% {\setlength{\leftmargin}{.22in}}
% {\setlength{\labelsep}{.5em}}}
% {\end{list}}


% abbreviations
\newcommand{\supp}{(see Supplement)} %\cite{Supplement}}


\begin{document}
\input{abstract}

\title{On-demand quantum state transfer and entanglement between remote microwave cavity memories}

\input{arxiv_authors}
\date{\today}
\maketitle
\makeatletter
\def\l@subsubsection#1#2{}
\makeatother

\input{main_figs_arxiv}
\input{main_text}
\input{acks}
% \bibliography{Mendeley_PnC}
\input{submission_version_full.bbl}

\setcounter{equation}{0}
\setcounter{figure}{0}
\setcounter{table}{0}

\renewcommand{\theequation}{S\arabic{equation}}
\renewcommand{\thefigure}{S\arabic{figure}}
\renewcommand{\thetable}{S\arabic{table}}

\clearpage
\newpage
\section*{Supplemental Material\\~}
\input{supplement}

% \bibliography{Mendeley_PnC}
\end{document}
%% math commands
\newcommand{\mode}[1]{\hat{#1}}
\newcommand{\rotmode}[1]{\mode{\tilde{#1}}}
\newcommand{\op}[1]{\mode{#1}}
\newcommand{\ii}{\mathrm i}
\newcommand{\expe}{\mathrm e}
\newcommand{\dif}[1]{\mathrm{d}#1}

\newcommand{\modea}{\mode{a}}
\newcommand{\modeb}{\mode{b}}
\newcommand{\modet}{\mode{t}}
\newcommand{\modebout}{\mode{b}_\text{out}}
\newcommand{\expect}[1]{\langle #1 \rangle}
\newcommand{\kappaout}{\kappa_\text{out}}
% \newcommand{\catket}[2]{\ket{\mathcal{C}^{#1}_{#2}}}
% \newcommand{\etaconv}{\eta_\text{conv}}
% \newcommand{\etadet}{\eta_\text{det}}

\newcommand{\be}{\begin{equation}}
\newcommand{\ee}{\end{equation}}
\newcommand{\deriv}[1]{\partial_{#1}}
\newcommand{\commute}[2]{\left[#1,#2\right]}
\newcommand{\ket}[1]{|#1\rangle}
\newcommand{\ketL}[1]{|#1\rangle_L}
% \synctex=1

% % \input{common_preamble.tex}
% %% paths
% \graphicspath{{./supplement_figures/}}

% %% draft options
% \usepackage[mathlines]{lineno} % Enable numbering of text and display math
% \linenumbers\relax % Commence numbering lines
% \usepackage{xwatermark}
% \usepackage[yyyymmdd,hhmmss]{datetime}
% \newwatermark[allpages,ypos=5in,scale=0.5]{initial circulation \today\ \currenttime}

%% preamble relevant only to supplement:
\newcommand{\ko}{\kappa_\text{out}}
\newcommand{\keff}{\kappa}
\newcommand{\bo}{b_\text{out}}
\newcommand{\bi}{b_\text{in}}
\newcommand{\chiab}{\chi_\text{ab}}
\newcommand{\chiac}{\chi_\text{at}}
\newcommand{\chibc}{\chi_\text{bt}}
\newcommand{\chiaa}{\chi_\text{aa}}
\newcommand{\chibb}{\chi_\text{bb}}
\newcommand{\chicc}{\chi_\text{tt}}
\newcommand{\deltaa}{\delta_\text{a}}
\newcommand{\deltab}{\delta_\text{b}}

\newcommand{\eqnref}{Equation\,\,}
\newcommand{\eqnsref}{Equations\,\,}
\newcommand{\figref}{Figure\,\,}
\newcommand{\tabref}{Table\,\,}
\begin{sciabstract}
  Modular quantum computing architectures require fast and efficient distribution of quantum information through propagating signals. 
  Here we report rapid, on-demand quantum state transfer between two remote superconducting cavity quantum memories through traveling microwave photons.
  We demonstrate a quantum communication channel by deterministic transfer of quantum bits with 76\% fidelity. 
  Heralding on errors induced by experimental imperfection can improve this to 87\% with a success probability of 0.87.
%   Using a deterministic protocol we demonstrate a quantum communication channel by faithfully transferring quantum bits with a conditioned fidelity of ($87 \pm 4$)\% and success probability ($87 \pm 3$)\%.
  % RS: call it "conditioned fidelity"; include success probability but awkward that it's the same as 87%; add error bars to differentiate?
  By partial transfer of a microwave photon, we generate remote entanglement at a rate that exceeds photon loss in either memory by more than a factor of three.
  We further show the transfer of quantum error correction code words that will allow deterministic mitigation of photon loss.
  These results pave the way for scaling superconducting quantum devices through modular quantum networks. % need some notion of success probaibility ("conditioned fidelity")
\end{sciabstract}
% \author{
% Christopher Axline$^{1\ast\dag}$, Luke Burkhart$^{1\ast\ddag}$, Wolfgang Pfaff$^{1\ast\S}$, Mengzhen Zhang$^{1}$, Kevin Chou$^{1}$, Philippe Campagne-Ibarcq$^{1}$, Philip Reinhold$^{1}$, Luigi Frunzio$^{1}$, S. M. Girvin$^{1}$, Liang Jiang$^{1}$, R. J. Schoelkopf$^{1\|}$\\
% \normalsize{$^{1}$Departments of Applied Physics and Physics, Yale University, New Haven, CT 06520, USA}\\
% \normalsize{$^{\ast}$These authors contributed equally to this work}\\
% \normalsize{$^{\dag}$christopher.axline@yale.edu}\\
% \normalsize{$^{\ddag}$luke.burkhart@yale.edu}\\
% \normalsize{$^{\S}$wolfgang.pfaff@microsoft.com; Present address: Microsoft Station Q Delft, 2600 GA Delft, The Netherlands}\\
% \normalsize{$^{\|}$robert.schoelkopf@yale.edu}
% }
\author{Christopher Axline}
\thanks{Equal contribution}
\email{christopher.axline@yale.edu}
\author{Luke Burkhart}
\thanks{Equal contribution}
\email{luke.burkhart@yale.edu}
\affiliation{Departments of Applied Physics and Physics, Yale University, New Haven, CT 06520, USA}
\author{Wolfgang Pfaff}
\thanks{Equal contribution}
\email{wolfgang.pfaff@microsoft.com}
\affiliation{Departments of Applied Physics and Physics, Yale University, New Haven, CT 06520, USA}
\affiliation{Present address: Microsoft Station Q Delft, 2600 GA Delft, The Netherlands}
\author{Mengzhen Zhang}
\author{Kevin Chou}
\author{Philippe Campagne-Ibarcq}
\author{Philip Reinhold}
\author{Luigi Frunzio}
\author{S.M.~Girvin}
\author{Liang Jiang}
\author{M.H.~Devoret}
\author{R.J.~Schoelkopf}
\email{robert.schoelkopf@yale.edu}
\affiliation{Departments of Applied Physics and Physics, Yale University, New Haven, CT 06520, USA}


\begin{figure*}[t]
    \input{figures/fig1}
\end{figure*}

\begin{figure*}[t]
    \input{figures/fig2}
\end{figure*}

\begin{figure*}[t]
    \input{figures/fig3}
\end{figure*}

\begin{figure*}[t]
    \input{figures/fig4}
\end{figure*}

\center
\includegraphics{fig1-current}
\caption{\label{fig:1}
{\bf On-demand state transfer by parametric conversion.} 
{\bf (A)} Identically-constructed circuit QED {\em sender} and {\em receiver} modules are connected with transmission line and a circulator, allowing straight-forward measurement of both systems.
Each module contains a high-$Q$ memory cavity ($\hat{a}$), transmon qubit ($\hat{t}$), and communication mode ($\hat{b}$) with strong output coupling $\kappa_\text{out}$.
Parametric drives (purple waveforms, $\xi$) enable conversion between memory and communication modes.
{\bf (B)} This is equivalent in principle to the memory (red) and communication (blue) modes constituting orthogonal resonant modes whose interaction is mediated by driving an atom (in this case an artificial atom, the transmon, green).
{\bf (C)} Frequency ordering of the modes ($\omega_{a,b,t}$) and pumps ($\omega_{1,2}$) in each module.
Pumps are detuned $\Delta$ from each mode and an additional relative detuning $\delta$ between them to account for Stark shifts.
{\bf (D)} The parametric conversion process, enabled by the transmon nonlinearity, schematically runs left-to-right in the sender, and right-to-left in the receiver.
}
\center
\includegraphics{fig2-current-fullwid} 
\caption{\label{fig:2}
{\bf Temporal mode-matching of sender and receiver.}
{\bf (A)} The transfer protocol consists of state preparation, pumping, and measurement.
The sender and receiver are pumped simultaneously because the propagating wavepacket's time-of-flight ($< 3\,\text{ns}$) is negligible compared to its width ($6\,\mu\text{s}$).
The in-phase (I) and quadrature (Q) components as well as absolute value (shaded) of the pump modulation tones are shown.
{\bf (B)} Left: measured field emission components (I, Q) and envelope (shaded) upon release of an $\alpha = 1$ coherent state from the sender.
Right: photon flux with receiver pumps omitted (``no catch'') or applied (``catch''), demonstrating absorption of the wavepacket.
The ``ideal'' lines mark the shape and amplitude expected for a complete, uncaught release.
{\bf (C)} Photon number state occupations of the sender (left) and receiver (right) memory cavities after transfer of a $\bar{n} = 1$ coherent state (upper) or $n = 1$ Fock state (lower).
``Expected'' occupations in the receiver are those measured in the sender after substituting the transfer process with a delay of the same length.
{\bf (D)} States with $\bar{n} > 1$ are transferred with efficiency near those of single-photon states.
The line corresponds with the efficiency $\eta = 0.74$ measured for single-photon states.
}
\center
\includegraphics{fig3-current}
\caption{\label{fig:3}
{\bf Establishing a quantum communication channel.} 
{\bf (A)} Measured Wigner functions of two states encoded in the single-photon manifold $\{\ket{0}, \ket{1}\}$ as prepared in the sender (left) and received following the transfer protocol (right).
{\bf (B)} The manifold's six cardinal states are visualized in the Bloch sphere as prepared (red, dashed) and received (orange, solid).
The green line indicates the position of each prepared state subject to a model of pure photon loss (tip of arrowhead denotes an efficiency of 0.74).
The octahedron shrinks towards the $\ket{0}$ state as predicted by the loss model.
{\bf (C)} Single-photon entanglement is generated with a half-release of $\ket{1}$, followed by unchanged capture pulses (shown in the same style as Figure~\ref{fig:2}A).
Cavity photon number correlations are measured following rotations into the appropriate measurement basis.
{\bf (D)} Reconstructed expectation values (shaded) of two-qubit Pauli operators compared to those of the maximally-entangled Bell state $\ket{01} + \ket{10}$ (dashed).
The `II' operator takes the value of unity here, signifying that the data is conditioned on both transmons remaining in the ground state \supp.
}
\center
\includegraphics{fig4-current}
\caption{\label{fig:4}
{\bf Transferring error-correctable states.}
{\bf (A)} Measured Wigner functions of prepared (left) and received (right) states in the binomial code.
Kerr evolution during the transfer results in a distortion in the received state Wigner functions, an effect that is accounted for in fidelity calculation \supp.
{\bf (B)} Bloch sphere representations of prepared (dashed) and received (solid) cardinal states within the binomial encoding.
Green dotted arrows indicate the expected shrinkage given the measured efficiency.
The octahedron shrinks primarily towards the center of the sphere as predicted by the loss model for small inefficiency.
{\bf (C)} Projected performance of the two demonstrated encodings as a function of transfer efficiency.
% In-software error correction is applied to the measured binomial manifold (diamond) \supp.
% RS: "in-software" is confusing. predicted performance of an ideal error-correction scheme are shown.
Calculated average infidelity (lines) of Fock and binomial encodings, and measured values (circles) at the present inefficiency (arrow).
The performance of an ideal parity detection-and-correction scheme is simulated for the binomial encoding.
The resulting infidelities are shown for perfectly prepared states subjected to varying transfer inefficiency (line), and for the measured received states (diamond) \supp.
% Measurement error is smaller than marker sizes. % error bars are in text
Points lie above their respective lines due to small additional infidelity not described by photon loss.
The shaded region indicates the regime beyond the break-even point.
Elimination of either transmission loss or release and capture inefficiency would push the corrected infidelity further into this regime ($\eta \sim 0.86$, dotted line).
}
The assembly of large-scale quantum machines hinges on the ability to coherently connect individually controlled quantum storage elements.
Quantum networks---wherein small, highly coherent modules can exchange quantum information via propagating photons---present a promising approach to achieve this connectivity \cite{Kimble2008}.
Such networks allow for bottom-up construction of reconfigurable quantum systems, forming a backbone for fault-tolerant modular quantum computers \cite{Jiang2007,Nickerson2013,Monroe2014}. % are those the right refs?
A crucial challenge, however, is presented by inefficiencies in the mapping of stored quantum information onto traveling signals as well as those during the subsequent photon transfer.
Primarily because these inefficiencies have so far been large, quantum communication between remote memories has only been achieved probabilistically \cite{Chou2005,Moehring2007,Ritter2012,Hofmann2012,Bernien2013,Roch2014,Narla2016}, requiring local storage of quantum information on long time scales in order for a network to be scalable \cite{Hucul2015}.
Even simple protocols, such as transferring a single quantum bit in a network, have been executed at rates that are orders of magnitude slower than available coherence times \cite{Olmschenk2009,Pfaff2014}.

% A highly desirable scheme for deterministic and rapid quantum communication in a network is direct quantum state transfer \cite{Cirac1997}.
Direct quantum state transfer, which can be rapid and deterministic, is a desirable scheme for quantum communication within a scalable network \cite{Cirac1997}.
In this protocol, a sending system emits a quantum state as a shaped photonic wavepacket that is then absorbed by a receiving system.
This requires strong, tunable coupling between light and matter, as well as efficient transfer of photons at a shared communication frequency; so far, state transfer in optical networks has been highly probabilistic due to inefficiencies in photon coupling and transfer \cite{Ritter2012}.
In contrast, superconducting microwave circuits can combine low loss with strong coupling.
This platform is well-suited to realize on-demand state transfer, and thus to scale quantum devices in a modular fashion.
To this end, superconducting microwave memories and propagating modes have successfully been interfaced to realize controlled photon emission \cite{Pechal2014,Yin2013,Srinivasan2014,Pfaff2017} and absorption \cite{Wenner2014,Flurin2015,Reed2017} independently.
Due to the difficulty posed by the need for efficient, frequency-matched photon transfer, however, the goal of deterministic quantum communication at a distance has so far remained elusive \cite{Ibarcq2018}.
% RS: "interaction at a distance" -> "quantum communication at a distance"

Here we show an experimental realization of direct, on-demand state transfer and entanglement between separated superconducting quantum memories connected by 60\,cm of coaxial cable.
Following the concept described in the original proposal \cite{Cirac1997}, we release states from a `sender' node and capture them in a nominally identical `receiver' node. % in another node operated as a receiver/ nominally idenitical % RS: "nominally identical"
In our implementation, remote high-$Q$ superconducting microwave cavities constitute the endpoint memories, and the conversion from stationary to propagating mode is performed using an RF-controlled parametric process \cite{Pfaff2017}. % will the undefined use of "Q" be a problem? % also "RF" was a problem in Nature Physics
% RS: "endpoint"? ~OK
The receiver uses the same conversion method to capture the propagating signal.
Using this protocol, we demonstrate the transfer of single- and multi-photon cavity states.
We measure the mean fidelity of the transfer of a single-photon-encoded qubit to confirm that the process successfully realizes a quantum communication channel.
We are further able to generate on-demand remote entanglement by half-transfer of a single photon, and do so at a rate that exceeds the energy relaxation rates of the individual memories.
We find that our measured transfer fidelity is limited by photon loss, offering a means for deterministic improvement of transfer fidelity by quantum error correction with multi-photon bosonic codes. % the photon loss itself doesn't "open an opportunity". the fact we have photon loss means we know how we can proceed. "suggesting an avenue" / "offering a way" / "highlighting an opportunity" / "well-suited to a means of..." none of these are quite right
Taking advantage of the state-independence of the protocol, we demonstrate the feasibility of this correction approach by transferring a qubit in such a multi-photon encoding.

Our experimental implementation is shown schematically in Fig.~\ref{fig:1}A.
Both sender and receiver are 3D circuit quantum electrodynamics (cQED) modules containing long-lived cavity resonators that serve as quantum memories \cite{Axline2016}.
Each module can be understood to contain two orthogonal cavity modes (memory and communication) that are coupled by an artificial atom (Fig.~\ref{fig:1}B).
The communication modes---implemented as on-chip stripline resonators---are strongly coupled to either end of a transmission line.
Realizing on-demand state transfer requires tunable conversion between memory and communication modes within each module, such that (i) the sender emits the state contained in the memory into the transmission line as a wavepacket with a specified temporal profile, and (ii) the receiver absorbs this wavepacket. % initial/prepared -> memory. more obvious which state we're talking about % should "as" be "into"?
% RS: "predefined" doesn't convey that it is user-specified, "specified" is better
Amplitude- and phase-controlled coupling can be realized through parametric pumping via a single transmon dispersively coupled to both resonators in the module (Fig.~\ref{fig:1}, C and D) \cite{Pfaff2017}.
In particular, we compute the shape of the pumps used in this process so as to best match the temporal profile of the traveling wavepacket \supp.
% In particular, we compute the shape of the pumps used in this process such that the conversion at both ends matches the temporal profile of the desired wavepacket \supp. % too much desiring and ambiguous referencing. wavepacket is already set. we just match it.
System parameters enable the effective coupling strengths between memories and the transmission line, $\kappa^\mathrm{s,r}(t)/2\pi$, to be tuned dynamically up to 400\,kHz---much larger than the intrinsic single photon decay rates of the memories, $\kappa_0^\mathrm{s,r}/2\pi <$ 0.4\,kHz \supp. % we didn't choose the system parameters... they chose us

Following the original proposal \cite{Cirac1997}, we insert a circulator into the transmission channel, which enforces the directionality of emission from the sender.
The circulator also directs signals reflected off the receiver into an output port, which allows readout of both systems using a single parametric amplifier and heterodyne detection chain. %strictly, we don't have individual readout capability
While the memory resonance frequencies need not match, efficient transfer requires that the communication modes be close to resonant compared to their bandwidths ($\kappa_\mathrm{out}^\mathrm{s,r}/2\pi \sim $1\,MHz).
To compensate for a small offset in resonance frequency due to variation in sample assembly, we equip the sender with an {\em in situ} mechanical frequency tuning mechanism \supp. % this got changed from emphasis on fabrication, which was one of Rob's desires

We begin by characterizing the process by which photons in the sender are emitted, transferred, and absorbed into the receiver memory.
First, we quantify the efficiency of absorption alone by preparing a small coherent state in the sender memory, and then executing the protocol under one of two conditions (Fig.~\ref{fig:2}A).
In one case, we omit the capture pulses and monitor reflection from the receiver. % would "off" be clearer?
Here, the emitted wavepacket is fully reflected and recorded by our heterodyne detector (Fig.~\ref{fig:2}B).
In contrast, if we apply the complete set of pulses, this reflection is strongly suppressed. % is "complete set" obvious? I want to be able to refer to something we've said before. later, we say "both release and capture pulses"
By measuring the relative photon flux at the detector, we determine that the receiver absorbs $(93 \pm 1)\%$ of the energy contained in the incident wavepacket. % this error perhaps neglects e.g. JPC gain fall-off, but is otherwise quite small % no, as long as the signal is reflected at the same frequency (it kind of must be), then the gain is the same

To measure the overall transfer efficiency, we prepare few-photon states and apply both release and capture pulses. % "few-photon" sounds ambiguous.
We measure cavity populations before and after the transfer using photon number-dependent spectroscopy on the transmon, which directly provides the relative populations of the cavity number states \cite{Schuster2007}.
We define the transfer efficiency $\eta$ as the average photon number received divided by the average photon number prepared in the sender. % the 'eta' we give is technically for nbar=1
Figure \ref{fig:2}C presents the populations of both memories after transferring states with mean photon number $\bar{n} = 1$, from which we calculate an efficiency $\eta = 0.74 \pm 0.03$.
Our experimental scheme is independent of input state, verified by measuring the transfer efficiency of a selection of Fock and coherent states with up to $\bar{n} = 4$ (Fig.~\ref{fig:2}D). % perhaps define the selection in the Supp.? not all Fock states are included, like |3> or |4>

While this transfer efficiency is high, understanding the origin of process imperfections is critical to select optimal error correction protocols and to correct imperfections in future experiments.
We can identify several factors that contribute significantly to transfer inefficiency: undesired transmon excitation, imperfectly shaped pump pulses, and loss in the transmission path. % "imperfect" pulses includes truncation and misshaping by miscalibration

For ideal operation of our protocol, the transmons would remain in their ground states during the transfer. % the process is designed "expecting" this
% RS: ideally they remain in g, it's important that they remain in g, realistically it's not perfect. reader might not be sure that transmon shouldn't get excited by four-wave mixing process to begin with
However, we observe non-negligible stochastic excitation during the transfer process due to thermalization and pump-induced transitions to higher levels \cite{Bishop2010,Sank2016}. 
Unwanted transmon excitation has two important consequences.
For one, an excitation leads to a shift of the resonator frequencies due to their dispersive couplings to the transmon.
This abruptly changes the transfer frequency-matching conditions, manifesting as off-resonant emission by the sender, or imperfect wavepacket absorption by the receiver.
We estimate these effects to lead to an inefficiency of about $2\%$ for emission, and $6\%$ for absorption \supp.
This effect is thus likely the dominant cause of the measured absorption inefficiency.

Secondly, transmon excitation precludes effective measurement of the cavity state.
In this case, cavity measurement indiscriminately returns `yes' to a query of any photon number.
Excitations thus have the effect of reducing average measurement contrast.
By normalizing our measurement data to correct for this, cavity tomography is implicitly conditioned on the transmon having remained in its ground state.
It is therefore useful to view the transmon excitation probability as a ``failure probability'' of the protocol, i.e, we make the conservative assumption that each excitation masks an unsuccessful transfer. 
The efficiency $\eta$ quoted above is then conditioned on the receiver transmon remaining in the ground state, with success probability $p_\mathrm{s}=0.87 \pm 0.03$. 
The conditioned value can be interpreted as the efficiency that would be measured (i) with a perfectly cold transmon or (ii) by heralding on a transmon measurement after the protocol \supp.
The ``deterministic efficiency'' given the transmon temperature observed here is estimated by the product of the conditioned efficiency and the success probability, $\eta_\mathrm{d} \geq p_\mathrm{s}\times \eta = 0.87 \times 0.74 = 0.64\pm0.03$. % we never explicitly say failure probability = 1 - success probability
In the transfer characterization to follow, we present both the directly measured (implicitly conditioned) quantities as well as the estimated deterministic ones.
This deterministic value represents a lower bound on the quantity; since these failure events are assumed to be maximally destructive, this is the worst-case scenario \supp.

Additional contributions to transfer inefficiency come from photon loss in the transmission path, which we estimate adds 15\%, as well as imperfect pulse shapes affecting state release and capture, each with an effect around 2\% \supp. % "comprises" makes me think it's 18% of the loss budget (that would add up to 100%)
We note that the bulk of the described imperfections are not fundamental; in particular, improvements to the transmon equilibrium temperature and thermalization rate as well as parameter engineering to avoid pump-induced higher order transitions \cite{Sank2016} can substantially reduce the inefficiencies resulting from transmon excitation.

The achieved transfer efficiency allows for quantum communication between the sender and the receiver memories.
We confirm this explicitly by transferring an overcomplete set of qubit states in the manifold spanned by the Fock states $\ket{0}$ and $\ket{1}$, and performing Wigner tomography on the receiver (Fig.~\ref{fig:3}A).
Comparing each received state to the ideal state, we determine an average fidelity $\mathcal{F}_\mathrm{avg} = 0.87 \pm 0.04$ (deterministic: $\mathcal{F}_\mathrm{avg,d} \geq p_\mathrm{s}\times\mathcal{F}_\mathrm{avg} = 0.76 \pm 0.04$).
Both the conditioned and deterministic fidelities significantly exceed the classical bound of $\frac{2}{3}$, the maximum attainable fidelity with which one can reconstruct an unknown qubit state using only classical communication \cite{Massar1995}. % this came after the loss model introduction, which seemed disjointed. I brought it up here and made loss its own thing.

Importantly, the measured fidelity $\mathcal{F}_\mathrm{avg}$ is consistent with that expected ($0.91 \pm 0.03$) from a pure photon loss model using the measured transfer efficiency.
% RS: this sentence is too sudden. topic sentence for paragraph
% transition sentence - measured value is close to expected value
% We expect $\mathcal{F}^\text{(exp.)}_\mathrm{avg} = 0.91$ from a pure photon loss model using the measured transfer efficiency. %error bar on this number?
A representation of prepared and received states as vertices of an octahedron on the Bloch sphere (Fig.~\ref{fig:3}B) reveals a systematic shrinkage towards $\ket{0}$ that also appears consistent with photon loss.
More quantitatively, we find that the measured transfer has a process fidelity of 0.95 to this single-source model, bounding the errors not described by photon loss at the 5\% level \supp. % error bar on 0.95?

Our experimental scheme readily enables us to generate on-demand remote entanglement by applying a pump sequence on the sender that releases half of its stored energy (Fig.~\ref{fig:3}C).
If the initial state is a single photon, this results in entanglement between the memory and the emitted radiation \cite{Pfaff2017}.
Subsequent absorption of the wavepacket by the receiver ideally results in the Bell state $\left( \ket{10}+\ket{01} \right ) / \sqrt{2}$ shared between the memories. 
We perform joint tomography following this protocol, revealing non-classical correlations between sender and receiver (Fig.~\ref{fig:3}D). 
Here, the entanglement success probability $p_\mathrm{s,ent}=0.78 \pm 0.04$ is lower than for the state transfer, as success depends on both transmons remaining in the ground state \supp.
The fidelity of the joint state to the ideal Bell state is $\mathcal{F}_\mathrm{Bell} = 0.77 \pm 0.02$ (deterministic: $\mathcal{F}_\mathrm{Bell,d} \geq p_\mathrm{s,ent}\times\mathcal{F}_\mathrm{Bell} = 0.61 \pm 0.02$), confirming the successful generation of entanglement. % Bell error smaller here than Wigner because we account for detector fidelity model? in supp we say we use the same algorithm for reconstruction
We are able to achieve a net entanglement generation rate of $(140\,\upmu\mathrm{s})^{-1}$ (for fidelity 0.77; equivalently $(110\,\upmu\mathrm{s})^{-1}$ for fidelity 0.61, fully deterministic), limited by the average time it takes to reset the system ($\sim100\,\upmu$s).
This rate exceeds the single-photon loss in either memory ($<(450\,\upmu\mathrm{s})^{-1}$), a strict requirement for scaling up the network size.

Because the infidelity of our state transfer protocol is dominated by errors of a single type---photon loss---the scheme can be improved by selecting an appropriate error-correcting code.
The use of cavity memories grants access to tools already developed for correcting loss in stationary states, such as redundantly encoding a qubit within a larger Hilbert space and using photon number parity as an error syndrome \cite{Ofek2016}.
We choose a simple error-correctable code with minimal overhead, the $L=1$ binomial encoding, which has logical basis states $\left\{\ketL{0}=\ket{2}, \ketL{1}=(\ket{0}+\ket{4})/\sqrt{2}\right\}$ \cite{Michael2016}.
Our transfer scheme is number-state independent, and so with no other modifications we prepare and transmit the cardinal states of this encoding, again measuring the received state with Wigner tomography (Fig.~\ref{fig:4}, A and B).
These states have larger average photon number ($\bar{n} = 2$) relative to the single-photon encoding ($\bar{n} = 0.5$), representing an additional ``overhead''.
From this increased sensitivity to photon loss we predict a mean fidelity of $0.60$ and measure $\mathcal{F}_\mathrm{avg} = 0.54 \pm 0.04$ in this manifold ($\mathcal{F}_\mathrm{avg,d} \geq 0.47 \pm 0.04$) relative to the ideal states.
Though its mean fidelity is lower than that of the single-photon encoding, the binomial encoding permits the use of parity as an error syndrome measurement.

This feature will enable detection and deterministic correction of single-photon loss errors. % "therefore, our choice of code was worthy"
% RS: "enables": why aren't we doing it now then? also, better as topic sentence for next paragraph
Above some transfer efficiency threshold, an error-corrected qubit would be transmitted with higher average fidelity than a qubit encoded in the single-photon manifold.
Our efficiency ($\eta = 0.74$) exceeds that of this ``break-even'' threshold ($\eta \gtrsim 0.7$), defined as the crossing of simulated mean fidelities in each case (Fig.~\ref{fig:4}C).
Beyond break-even, error correction can overcome the overhead associated with the binomial state encoding.
Error correction is possible using high-fidelity quantum non-demolition (QND) parity measurements \cite{Ofek2016}, which could be effectively realized by adding a dedicated readout channel to each module. % this section was very repetitive; I have cut it down a lot
Along with modest improvements to the release and capture efficiencies, error correction should place the transfer firmly within this advantageous regime.
These error correction concepts can also be extended to improve entanglement fidelity without sacrificing the determinism of the protocol.

In summary, we have realized a high-fidelity, deterministic quantum state transfer protocol between remote microwave cavity memories using tools available in superconducting cQED. 
Importantly, our implementation is capable of transferring both single- and multi-photon quantum states. % the "not only" syntax was powerful but also choppy
While the use of a multi-photon qubit encoding produces larger overhead and reduced mean fidelity, it brings within reach the striking opportunity to deterministically correct for photon loss.
This achievement taps into the body of work already developed for correcting errors in stationary memories to address the challenge of scalable quantum communication.
The demonstrated ability to generate remote entanglement at a rate exceeding the memory loss rates satisfies an essential requirement for quantum communication and distributed computation.
Entanglement is a critical resource in quantum networks, and its rapid and on-demand generation will enable high-level operations between remote modules such as non-local gates \cite{Gottesman1999} and entanglement distillation \cite{Bennett1996,Deutsch1996}.
Our experimental results thus provide a clear scaling approach towards fault-tolerant modular quantum computing with superconducting circuits.
\section*{Acknowledgements}
The authors would like to acknowledge valuable discussions with C. Zhou, A. Narla, and S. Shankar.
This work was supported by the US Army Research Office (W911NF-14-1-0011). % literally everybody
C.A. acknowledges support from the NSF Graduate Research Fellowship (DGE-1122492);
L.D.B by the ARO QuaCGR Fellowship;
W.P. by NSF grant PHY1309996 and by a fellowship instituted with a Max Planck Research Award from the Alexander von Humboldt Foundation;
W.P. and P.R. by the US Air Force Office of Scientific Research (FA9550-15-1-0015); 
M.Z. by the US Air Force Office of Scientific Research (FA9550-15-1-0015); 
S.M.G by the NSF (DMR-1609326); 
L.J. by the Alfred P. Sloan Foundation and the Packard Foundation.
Facilities use was supported by the Yale Institute for Nanoscience and Quantum Engineering (YINQE) and the Yale SEAS cleanroom.
R.J.S., and L.F. are founders and equity shareholders of Quantum Circuits, Inc.
\section{Experimental system}

\subsection{Experimental hardware}

\paragraph*{Setup and signals}
The sample is cooled to $T \approx 20\,\text{mK}$ in a dilution refrigerator.
A wiring diagram that shows how signals are introduced to the systems is depicted in \figref\ref{fig:expt_scheme}.
The transmon modes of each system are addressed by a separate microwave generator acting as a local oscillator (LO), while a shared LO is used for the cavity modes and the output modes; pulses are generated by IQ modulation.
To ensure phase-locking, we generate the pump tones using the same generators used for the (near-)resonant control pulses of the cavity and output mode.
% Given the conversion Hamiltonian, this guarantees that the signal emitted from the output mode is phase-locked to the output mode LO, which is used for mixing the signal down to low frequencies before digitizing.

\paragraph*{Quantum-limited amplification}
The output signal is processed by a Josephson parametric converter (JPC) operated in amplification mode \cite{Bergeal2010}.
The amplifier is configured to provide approximately 22\,dB of gain with a bandwidth of approximately 17\,MHz and a noise visibility ratio of 4--5\,dB.
This large signal gain enables high-fidelity single-shot measurements and fast-feedback used for rapid reinitialization of the experiment.

\paragraph*{Sample}
We use two devices of the type described in \cite{Axline2016,Pfaff2017}.
Each includes a high-Q 3D coaxial stub cavity \cite{Reagor2016}, transmon qubit, and output resonator.
Parameters of each mode within the two devices, including frequencies and coherence times, are included in Table \ref{tab:devparams}.
Both samples are within a magnetic shield, while all circulators are outside of the shield.
A detailed description of the Hamiltonian of a single device is given in \cite{Pfaff2017}.

\paragraph*{Output mode-matching}
The cavity and transmon modes of the sender system are far-detuned (relative to their linewidths) from the respective modes in the receiver system. 
The output (or `communication') modes, however, are tuned to closely match:
a low-temperature mechanical micropositioning stage ({\em Attocube ANPz101-A4}) is used to introduce a small superconducting pin through a hole in the side of the device.
The pin perturbs the field of the output mode, lowering that mode's frequency at greater pin insertion.
The pin can be inserted over a range of $5\,\text{mm}$ and the mode frequency can be tuned by $\sim 300\,\text{MHz}$.
% We measure the devices individually and outfit the tuning mechanism on the system with the higher (unperturbed) output mode frequency (in order to guarantee that the output modes can be tuned into resonance).
Once the resonance condition is met, we disconnect the positioning controller to maintain frequency stability.
We expect that in future versions of modules, fabrication and mounting errors can be minimized such that {\em in situ} tuning will not be necessary.

%%% Note WP: i think the only novel element here is the tuning, and there's not a heavy focus on that in the figure. The numbers are already in the table...

% The measured spectra (\figref\ref{fig:spectroscopy}) display the results of individual spectroscopy experiments identifying the shape and location of the relevant modes in each device.
% \begin{figure}[htp]
%     \center
%     \includegraphics{spectra}
%     \caption{\label{fig:spectroscopy}
%     {\bf Spectroscopy data.}
%     Cavity spectroscopy is performed by sweeping the frequency of a strong, spectrally-narrow displacement and measuring whether the cavity remains in the ground state by applying a transmon $\pi$-pulse selective on the cavity number peak $n=0$.
%     Qubit spectroscopy is performed by applying a spectrally-narrow $\pi$-pulse at variable frequency about the transmon mode frequency, and then reading out the transmon state.
%     Output mode spectroscopy is performed using a vector network analyzer (VNA) to measure the transmission parameter ($S_{21}$) between the input port and the measurement line.
%     The dotted trace indicates the natural resonance of the output mode prior to tuning.
%     % Output mode spectroscopy for the receiver system is done by stepping the spectroscopy frequency and reading out normally.
%     The vertical dashed line indicates the on-resonance value at which communication mode frequencies are matched.
%     % Secondary peaks in transmon and readout spectroscopy arise from finite thermal population in the cavity and transmon, respectively.
%     All results are normalized and expressed in logarithmic units.
%     }
% \end{figure}

\begin{figure*}[tp]
    \center
    \includegraphics{lines}
    \caption{\label{fig:expt_scheme}
    {\bf Schematic of experiment wiring.}
    Microwave signals are IQ-modulated, amplified, and transmitted to the cold stage of the dilution refrigerator ({\em Oxford Instruments Triton 200}) where the sample is cooled to $T \approx 20\,\text{mK}$.
    IQ modulation is performed with an integrated FPGA system with digital-to-analog converter (DAC) outputs ({\em Innovative Integration VPXI-ePC}), and mixed with the LO ({\em Marki Microwave IQ0307LXP and IQ0618LXP} IQ-mixers).
    Inset shows filtering on low-frequency IQ channels.
    The generators acting as local oscillators (LOs) are {\em Agilent N5183A} (LOs A and B) and {\em Vaunix LabBrick LMS-103-13} (LOs C1 and C2).
    Tones with similar frequencies share their IQ channels.
    Cavity and readout input signals are amplified at room temperature ({\em MiniCircuits ZVA-183-S+}). Input amplifiers are followed by fast switches ({\em Hittite HMC-C019}) except for (*) in the diagram.
    Input signals are introduced to the devices through weakly coupled pins (depicted as small capacitors).
    Signals leave the output resonators through strongly coupled pins (depicted as large capacitors) and are amplified by a Josephson parametric converter (JPC) that is pumped continuously by a microwave generator (``JPC pump'', {\em Agilent N5183A}).
    The signal is further amplified at 4\,K ({\em Low Noise Factory LNF-LNC7\_10A}) and at room temperature ({\em Miteq AMF-5F-04001200-15-10P}), mixed down with the output LO ({\em Marki Microwave IQ0618LXP}), and recorded and demodulated by the FPGA system via analog-to-digital converters (ADC).
    Lines entering or leaving the refrigerator carry the following signals: (1) the JPC pump tone, (2--5) sample input tones, (6) a diagnostic tone with which to probe samples in reflection and tune the JPC, and (7) the measurement output line.
    Inset shows attenuation and filtering on lines 2--5, including a low-pass filter below 12\,GHz (LP) and an Eccosorb filter (E).
    Line 6 is similar but with an additional -20 dB of attenuation at the $20\,\text{mK}$ stage, while line 1 omits the low-pass filter.
    }
\end{figure*}


\begin{figure}[tp]
    \center
    \includegraphics{device}
    \caption{\label{fig:device}
    {\bf Images of experimental devices.}
    {\bf Left:} the two systems are packaged and assembled in close proximity.
    The circulator and lines connecting the two systems are outside of the field of the image.
    {\bf Upper right:} inside the package, dashed lines depict the cavity and tunnel housing the communication mode and transmon.
    {\bf Lower right:} Close-up view of the chip, which is held by a clamp that is affixed to the package.
    }
\end{figure}


\begin{table*}[tb]
    \centering
    \begin{tabular}{l c c c} % centered columns (2 columns)
    \hline\hline
    Hamiltonian parameter &  & Sender value (MHz) & Receiver value (MHz) \\
    \hline
    Frequency    & $\omega_{a}/2\pi$      & $4219.3$               & $4269.6$  \\
                      & $\omega_{b}/2\pi$	   & $10031.5$              & $10031.5^{*}$  \\
                      & $\omega_{t}/2\pi$	   & $6156.1$               & $6417.6$   \\
    Cross-Kerr        & $\chiab / 2\pi$     & $-16 \times 10^{-3}$    & $-12 \times 10^{-3}$ \\
                      & $\chiac / 2\pi$     & $-2.86$                & $-2.29$ \\
                      & $\chibc / 2\pi$     & $-2.4$                 & $-2.18$ \\
    Self-Kerr         & $\chiaa / 2\pi$     & $-8 \times 10^{-3}$    & $-5 \times 10^{-3}$ \\
                      & $\chibb / 2\pi$     & $-8 \times 10^{-3}$    & $-6 \times 10^{-3}$ \\
                      & $\chicc / 2\pi$     & $-183.43$              & $-196.17$ \\
    \hline
    Damping parameter & & Sender value ($\upmu$s) & Receiver value ($\upmu$s) \\
    \hline
    Cavity single-photon energy decay time & $T^{a}_{1}$ & $460 \pm 10$       & $770 \pm 10$  \\
    Cavity Ramsey decay time       & $T^{a}_{2R}$        & $102 \pm 3$        & $130 \pm 4$ \\
    Output mode energy decay time  & $T^{b}_{1}$         & $0.14 \pm 0.01$    & $0.11 \pm 0.01$ \\
    Transmon relaxation time & $T^{t}_{1}$  	     & $26 \pm 3$         & $27 \pm 3$ \\
    Transmon Ramsey decay time     & $T^{t}_{2R}$	     & $12 \pm 2$         & $12 \pm 2$ \\
    Transmon Hahn echo decay time  & $T^{t}_{2E}$	     & $15 \pm 2$         & $15 \pm 2$ \\
    \hline
    Steady-state excitation & & Sender value & Receiver value \\
    \hline
    Transmon & $1 - P(g)$        & $0.195$      & $0.209$ \\
    Cavity   & $\bar{n}$     & $0.166$      & $0.172$ \\
    \hline\hline
    \end{tabular}

    \caption{
    \label{tab:devparams}
    {\bf Measured system parameters.}
    Uncertainties of measured Hamiltonian parameters are $< 0.1\%$ except when indicated by fewer significant digits.
    For the cavity and transmon decay times, the uncertainties given are the typical fluctuations observed over the course of one day.
    ${}^{*}$This is the frequency set by tuning and is used during all phases of the experiment.
    }
\end{table*}

\subsection{Basic operation}
\label{sec:operations}
% In the following, we interchangably denote the Sender as System A and the Receiver as System B.

\paragraph*{Transmon measurement}
The dispersive coupling between the transmon and output resonator allows measurement of the transmon qubit state, discriminating between its basis states $\ket{g}$ and $\ket{e}$ with high fidelity \cite{Reed2010}.
Our setup allows for transmission pulses to be applied to both systems simultaneously, allowing discrimination of four joint basis states: $\left\{ \ket{gg}, \ket{ge}, \ket{eg}, \ket{ee} \right\}$.
We can thus measure the sender state, the receiver state, or both states in the same measurement.
We use a $0.7\,\upmu\text{s}$ readout pulse with an average of $\bar{n} \approx 10$ ($5$) photons in the sender (receiver). This allows discrimination of the two basis states in each system with a fidelity $> 0.99$. 
Further error arises from the presence of transmon population in higher states, such as $\ket{f}$.
Readout errors are further limited by transmon state jumps during readout producing a readout fidelity $\geq 0.93$ ($0.93$ for assignment to $\ket{g}$, and $0.98$ for assignment to $\ket{e}$).

\paragraph*{Measurement independence}
We verify the independence of the transmon state assignment by performing a simultaneous Rabi experiment: we apply a variable rotation on both transmons, followed by joint measurement of the whole system.
The results (\figref\ref{fig:simul_rabi}) show that the assigned state of one transmon depends only very weakly on the rotation applied to the other, and that there is minimal crosstalk between transmon control pulses.

\begin{figure}[htp]
    \center
    \includegraphics{simul_rabi}
    \caption{\label{fig:simul_rabi}
    {\bf Transmon measurement independence.}
    Rabi pulses are applied with varying angles (relative to a unit $\pi$-pulse) on the sender and the receiver transmons simultaneously.
    Top: both transmon states are measured as a function of both angles.
    Bottom: Line cuts (corresponding to dashed lines).
    Unwanted correlations are $\leq 2.5\%$.
    }
\end{figure}

\paragraph*{Transmon and cavity cooling}
In equilibrium we find a finite steady-state population in each transmon and cavity, listed in \tabref\ref{tab:devparams}.
The likely reason for this level of population is the presence of non-equilibrium quasiparticles that are poorly mitigated by experiment-stage filtering and control of the magnetic field environment, as well as weak thermalization of the intersystem circulator. 
% both systems perform much better in this regard without the circulator between them
We initialize each system using a sequence of quantum non-demolition (QND) measurements on the transmon and the cavity \cite{Heeres2017}, as well as by $Q$-switching by parametric pumping \cite{Pfaff2017}.
% A transmon found to be excited can be reset in $\sim 2\,\upmu$s using an unselective $\pi$-pulse and a subsequent check measurement.
% Finding a cavity to contain nonzero population, we can empty it in $\sim 5\,\upmu$s using a pumped $Q$-switch process \cite{Pfaff2017}.
% These protocols are interleaved between the transmon and cavity and between the two systems, and joint success is conditioned on the success of all individual state checks.
At the beginning of each experiment run, this yields an average transmon population for the sender (receiver) in $\ket{e}$ of $\sim 0.047$ ($0.052$), and an average cavity population of $\bar{n} = 0.023$ ($0.033$) before the start of each measurement sequence.
We note that this joint cooling protocol finds the full system in its ground state after approximately 10\% of the cooling attempts, and that using modes with reduced equilibrium population could significantly increase the experimental repetition rate.

\paragraph*{State creation and control pulses}
To prepare complex cavity states, we apply pulses at transmon and cavity frequencies that are designed using a numerically optimized control technique \cite{Heeres2017}.
This technique produces the cavity states initialized in the sender within 0.3--1.0\,$\upmu$s and with fidelities typically above 98\%.
It is also used to perform unitary mapping operations.
Coherent states are produced in 40\,ns using calibrated Gaussian displacement pulses on the cavity.

\paragraph*{Pump control independence}
To verify that the pump tones applied to one system do not produce unwanted effects on the opposite system, we measure leakage by applying one pump at a constant amplitude and measuring each transmon's Stark shift (\figref\ref{fig:pump_leakage}).
\begin{figure*}[tp]
    \center
    \includegraphics{leakage_stark}
    \caption{\label{fig:pump_leakage}
    {\bf Pump leakage between systems.}
    We measure the Stark shift (expressed in number of circulating pump photons) on both transmons while applying a single pump to the sender mode (upper row) or the receiver mode (lower row) near either the output/communication mode (left column) or the cavity mode (right column).
    Solid lines are linear fits to the data.
    }
\end{figure*}
We find that measurable leakage occurs only in the direction permitted by the circulator (from sender to receiver), and only between communication modes (since their frequencies are very nearly matched).
Based on these measurements, we estimate that this leakage contributes to ``miscalibration'' error on each system at the level of $\lesssim 1\%$.

\section{Release and capture protocol} \label{sec:protocol}

\subsection{Calculation of waveforms}

In order to allow the propagating wavepacket to be absorbed by a receiving cavity, both sender and receiver systems must expect the same temporal wavepacket shape.
To separate the problem into two parts, we first specify the shape of this wavepacket, $\bo(t)$, then calculate the pump amplitudes needed at the sender and the receiver to match the coupling rate $g_j(t)$ to this wavepacket, where the system subscript $j = s$ ($r$) denotes the sender (receiver).
When correctly calculated, energy will transfer between the sender, the propagating mode, and the receiver at matching rates.
Here we detail the calculation of the drive amplitudes that make this possible.
Since we treat the two systems individually, the system subscript $j$ will be omitted for clarity wherever possible.

\subsubsection{Shaping the released wavepacket} \label{sssec:shape_release} % LDB a reference to something by Zaki?
In the rotating frame of the pumps, the Hamiltonian enabling conversion between memory and output modes $a$ and $b$ is
\begin{equation} \label{eq:h_conv}
H_\text{conv}(t) = i(g(t)\hat{a} \hat{b}^\dagger - g^*(t)\hat{a}^\dagger \hat{b})
\end{equation}
with 
\begin{equation} \label{eq:g_of_xi}
g(t) = g(\xi_1(t), \xi_2)
\end{equation}
The correspondence producing the conversion rate $g(t)$ as a function of the two applied pump amplitudes $\xi_1$ and $\xi_2$ is calibrated experimentally (Section \ref{sec:gcal}).
In the lowest-order approximation, $g_j\propto \xi_1^j \xi_2^j$. 

Because the conversion always depends on both pumps, only one of the two pumps needs to vary in time to produce any particular $g(t)$.
For experimental convenience, we designate $\xi_1$ to vary in time.
The pump $\xi_2$ is held constant in time, with a smooth ($\sim200$\,ns) ring-up and ring-down profile.

One significant effect of the application of pumps are ac-Stark shifts that shift the frequency of the modes.
The Stark shifts during the transfer process are a function of both pump amplitudes:
\begin{equation} \label{eq:h_stark}
H_\text{Stark}(t) = \deltaa(t) \hat{a}^\dagger\hat{a} + \deltab(t) \hat{b}^\dagger\hat{b}
\end{equation}
Each Stark shift depends on each pump amplitude:
\begin{equation} \label{eq:delta_of_xi}
\deltaa(t) = \deltaa(\xi_1(t), \xi_2) \qquad \deltab(t) = \deltab(\xi_1(t), \xi_2)
\end{equation}
This shift is calibrated independently (Section \ref{sec:gcal}).
We find very good agreement with the expected dependence, which is linear in the sum of the pump powers:
% \[
\begin{equation} \label{eq:delta_starkshifts}
\begin{aligned}
\deltaa(t) &= 2\chiaa |\xi_1(t)|^2 + \chiab |\xi_2|^2 \\ \deltab(t) &= 2\chibb |\xi_2(t)|^2 + \chiab |\xi_1|^2
\end{aligned}
\end{equation}
% \]
Having established the dependence of both the conversion rate $g(t)$ and the Stark shifts $\deltaa,\deltab$, we can write down the equations of motion for the modes $\hat{a}$ and $\hat{b}$ of the sender:
\begin{subequations} \label{eq:eom}
\begin{align} \label{seq:eom_a}
&\dot{a}(t) = -g(\xi_1(t), \xi_2)b(t) - i\deltaa(\xi_1(t), \xi_2)a(t)\\ \label{seq:eom_b}
&\dot{b}(t) = g^*(\xi_1(t), \xi_2)a(t) - i\deltab(\xi_1(t), \xi_2)b(t) - \frac{\ko}{2}b(t)\\ \label{seq:eom_c} &b(t) = \bo(t)/\ko
\end{align}
\end{subequations}
Because these equations are linear, we can consider the evolution of the expectation values of the field operators $\hat{a}$ and $\hat{b}$, so we have dropped the operator notation. 
This will also allow us to solve the problem classically, which is computationally simpler compared to a full quantum simulation.

\eqnref\ref{seq:eom_c} is the input-output relation, taking as an assumption that there is no incoming field.
In this case, for a chosen $\bo(t)$ and $\xi_2$, the only undetermined quantities are $a(t)$ and $\xi_1(t)$.
In what follows we suppress the time dependence and the explicit dependence on the static $\xi_2$ for simplicity.

The goal is to eliminate $a$, leaving an equation for $g$ in terms of $b$ that can be solved numerically.
We first note that \eqnref\ref{seq:eom_b} can be written
\begin{equation} \label{eq:elim_a1}
g^*(\xi_1)a = \dot{b} + i\deltab(\xi_1)b + \frac{\ko}{2}b
\end{equation}
with derivative
\begin{equation} \label{eq:elim_a2}
\dot{g}^*(\xi_1)a + g^*(\xi_1)\dot{a} = \ddot{b} + i\dot{\delta}_b(\xi_1)b + i\deltab(\xi_1)\dot{b} + \frac{\ko}{2}\dot{b}
\end{equation}

We can multiply \eqnref\ref{seq:eom_a} by $g^*(\xi_1)$ and substitute it into \eqnref\ref{eq:elim_a2} to write
\begin{multline} \label{eq:elim_a3}
\dot{g}^*(\xi_1)a-|g(\xi_1)|^2b - i\deltaa(\xi_1)g^*(\xi_1)a =\\ \ddot{b} + i\dot{\delta}_b(\xi_1)b + i\deltab(\xi_1)\dot{b} + \frac{\ko}{2}\dot{b}
\end{multline}
Finally, multiplying \eqnref\ref{eq:elim_a3} by $g^*(\xi_1)$ and substituting in \eqnref\ref{eq:elim_a1} yields
% \begin{widetext} 
% \begin{equation} \label{eq:g_of_b}
\begin{multline}\label{eq:g_of_b}
\left[ \dot{g}^*(\xi_1) - i\deltaa(\xi_1) g^*(\xi_1)\right]\left[\dot{b} + i\deltab(\xi_1)b + \frac{\ko}{2}b\right]\\
-g^*(\xi_1)|g(\xi_1)|^2b   \\
=g^*(\xi_1)\ddot{b} + i\dot{\delta}_b(\xi_1)g^*(\xi_1)b \\
+i\deltab(\xi_1)g^*(\xi_1)\dot{b} + \frac{\ko}{2}g^*(\xi_1)\dot{b}
\end{multline}
% \end{equation}
% \end{widetext}

\eqnref\ref{eq:g_of_b} is solved numerically to give the correct $\xi_1(t)$ for a given $\bo(t)$.
The initial condition $\xi_1(t=0)$ comes from \eqnref\ref{eq:elim_a1}.
This method has a few important features:
\begin{enumerate}
\item This process inherently accounts for the Stark shifts in two ways.
First, $\xi_1(t)$ will have a phase that varies in time.
This dynamic frequency control ensures that $\bo(t)$ can have a fixed frequency, even when the mode $a$ does not.
Secondly, the amplitude of $\xi_1(t)$ will change in time in a way that accounts for the frequency shift of the output mode $b$: the amplitude will increase to compensate for the fact that the conversion process is effectively off-resonant.
\item By scaling the output field $\bo(t)$ to specify the amount of energy contained therein, we calculate different pump waveforms for full and partial release via the same procedure.
While the equations of motion are linear in $a$ and $b$, \eqnref\ref{eq:g_of_b} is clearly nonlinear in $\xi_1$.
This is why the pulses for full and partial releases are \emph{not} simply scaled versions of one another, even though the released wavepackets $\bo(t)$ \emph{are}.
For this reason, the capture pulse will remain unchanged and independent of the release pulse.
\end{enumerate}

\subsubsection{Wavepacket capture}

The calculation of the pump waveform required to capture the propagating wavepacket is very similar to the above.
The equations of motion for the receiver are
\begin{subequations} \label{eq:eom_catch}
\begin{align} \label{seq:eom_a_catch}
\dot{a}(t) &= -g(\xi_1(t), \xi_2)b(t) - i\deltaa(\xi_1(t), \xi_2)a(t)\\ 
\begin{split} \label{seq:eom_b_catch}
\dot{b}(t) &= g^*(\xi_1(t), \xi_2)a(t) - i\deltab(\xi_1(t), \xi_2)b(t) \\
&\quad{}- \frac{\ko^r}{2}b(t) + \sqrt{\ko^r}\bi^r(t)
\end{split}\\
b(t) &= \bo^r(t)/\ko^r + \bi^r(t)/\ko^r \label{seq:eom_c_catch}
\end{align}
\end{subequations}
which is identical to \eqnref\ref{eq:eom}, with the difference than there now exists an input field term $\bi^r(t)$.
For clarity we now restore the superscripts $s$ and $r$ for sender and receiver, respectively.
To calculate the capture waveform, we specify that this input field has the shape of the released wavepacket: $\bi^r(t) = \bo^s(t)$, and that the field reflected off the receiver is zero: $\bo^r(t)=0$, which corresponds to perfect absorption.
Taken together, these constrains imply
\begin{subequations} \label{eq:eom_catch_reduced}
\begin{align} \label{seq:eom_a_catch_reduced}
&\dot{a}(t) = -g(\xi_1(t), \xi_2)b(t) - i\deltaa(\xi_1(t), \xi_2)a(t)\\ \label{seq:eom_b_catch_reduced}
&\dot{b}(t) = g^*(\xi_1(t), \xi_2)a(t) - i\deltab(\xi_1(t), \xi_2)b(t) + \frac{\ko^r}{2}b(t) \\ \label{seq:eom_c_catch_reduced} 
&b(t) = \bo^s(t)/\ko^r
\end{align}
\end{subequations}
which looks just like \eqnref\ref{eq:eom}, but with the sign of $\ko$ changed.
The procedure for obtaining $\xi_1(t)$ is the same as for the sender.
The only major difference is that this equation is solved in reverse, with the final condition specifying the occupation of $a$ at the end of the protocol.
This corresponds to the fraction of incoming energy that is absorbed ($\eta^\text{(r)}_\text{trunc}$, details to follow).
Increasing this fraction corresponds to increasing the pump strength beyond what is achievable in our system.

Importantly, the capture waveform is the same for both full and partial release; this is due to the linearity of the equations of motion (\eqnref\ref{eq:eom_catch}) on $\bi^r(t)$; in other words, the capture is state-independent.
Therefore, the capture waveform depends only on the shape of the incoming wavepacket, not its amplitude.

\subsubsection{Choice of wavepacket shape}
The envelope of the wavepacket $|\bo(t)|$ is an arbitrary choice, up to constraints on the bandwidth of the conversion process.
For experimental convenience, we choose $|\bo(t)| \propto  1 - \cos^2\left(\frac{\pi t}{T}\right) $, where $T=6\,\upmu \mathrm{s}$ is the total transfer time.
We find empirically that this smooth shape reduces the maximum pump amplitudes required for a given transfer time as compared to other shapes tested.
The frequency of the wavepacket is also free to be varied.
We choose a frequency $\sim 1\, \mathrm{MHz}$ below the static frequencies of the communication modes, to account for Stark shifts (which are always negative) while the pumps are applied.

% \paragraph*{Measured field} % not sure what this section is doing here

\subsection{Calibration}
\label{sec:gcal}

For the computation of the correct waveforms we need to supply empirical values of $g(t)$ and the Stark shifts, both as a function of the pump strengths and frequencies that are applied.
The value of $g$ is estimated from the rate with which photons leave the storage cavity when pumps are applied.
The Stark shifts can be measured directly from spectroscopy while applying the pumps, as in \figref\ref{fig:pump_leakage}.
We generally follow the protocols introduced in \cite{Pfaff2017} to perform these calibration.

%%% WP: If i'm not entirely mistaken, this is just a recap of the Catapult paper. I'd omit that here.

% \paragraph*{Conversion rate}
% The form of the conversion rate $g(t)$ is known (see above); therefore, $g(t)$ can be estimated in each system by using the cross-Kerr $\chiab$ and the drive strengths required to produce $\xi_1$ and $\xi_2$.
% A more accurate, direct calibration method of $g(t)$ ignores knowledge of $\chiab$ by directly observing the maximum cavity decay rate.
% The conversion rate $g(t)$ can thus be determined empirically for any set of pump amplitudes $\xi_1, \xi_2$ and then interpolated to supply the transfer drive solver with a calibrated value of $g(t)$ for all amplitudes.
% We perform this calibration on the sender or the receiver individually.
% We prepare the Fock state $\ket{1}$ in the memory cavity, apply pumps with variable amplitudes, and measure the decay rate of the cavity through cavity-number-selective transmon spectroscopy.
% The pumps have a square temporal profile with 200\,ns smoothed ring-up and ring-down profiles.
% The cavity population decay is fit to a single exponential.
% Because the pumps induce variable Stark shifts, which in turn modify the frequency at which the conversion process is resonant, we also vary one pump detuning by $\delta$ (within a range small compared to absolute pump detuning $\Delta$) to identify the center and shape of the conversion process resonance.
% At each pair of pump amplitudes, we identify the maximum conversion rate $g(\xi_1,\xi_2)$, as shown in \figref\ref{fig:g_cal}.
% We fit these values to the expected form in Section~\ref{sssec:shape_release} to supply the solver with $g(\xi_1,\xi_2)$. % figure - an example kappa vs detunings, then g vs pump amps and fit
% \begin{figure}[htp]
%     \center
%     \includegraphics{g_cal}
%     \caption{\label{fig:g_cal}
%     {\bf Calibration of conversion rate.}
%     Left: An example measurement of cavity decay rate versus the frequency of one pump.
%     Each point is from an exponential fit to the decay of the n=1 population of the cavity.
%     Solid line is a fit which gives the maximum decay rate $\kappa$.
%     The conversion rate is then $g=\sqrt{\ko \kappa}/2$.
%     Right: Extracted $g$ for various pump amplitudes (in fraction of the maximum amplitude sourced by the DAC).
%     From dark to light is increasing amplitude of pump 1 from $0.25$ to $0.77$ in linear steps.
%     Lines are a 2D linear fit to the entire data set with one fit parameter.
%     }
% \end{figure}

% \paragraph*{Stark shifts}
% We determine the Stark shifts induced by individual pumps on each system in order to produce appropriately shaped pulses for the transfer protocol.
% For a particular pump detuning $\Delta$, we initialize the system and turn on the pump with different amplitudes $\left\{\xi\right\}$.
% The temporal shape of the pump is square, with beginning and end smoothly turned up or down over 200\,ns.
% We perform transmon spectroscopy to determine the magnitude of the frequency shift of the transmon mode.
% With independent calibration of the cross-Kerr coupling $\chi$ between the desired mode ($\hat{a}$ or $\hat{b}$), we calculate the number of photons $n$ present in the mode to induce the measured frequency shift of the transmon.
% The values $n(\xi)$ are proportional to $\xi^2$.
% They are fit to this model in order to supply the solver with a calibration value.


%%% WP: we already did half-release in the Catapult paper. I think we can omit this here.

% \subsection{Half-release}
% As discussed in Section~\ref{sssec:shape_release}, the procedure for generating half-release and capture pulses is much the same as full-release.
% In the solution of the the pump waveforms, we specify that the energy contained in the traveling wavepacket is half of the original energy in the cavity.
% This leads to a release pulse with a different shape and a lower amplitude.
% The capture pulse is the same because the temporal shape of the traveling wavepacket is the same.
% \begin{figure}[htp]
%     \center
%     \includegraphics{half_pitch_pulses}
%     \caption{\label{fig:halfpitch}
%     {\bf Half-release pulse shapes.}
%     The shapes of the pumps applied to the sender differ for the half-transfer as compared to the full transfer protocol.
%     The absolute-valued enveloped (shaded) is shown along with in-phase (dotted) and quadrature (dashed) components.
%     The capture pulse is state-independent and is thus unchanged.
%     }
% \end{figure}

\subsection{Time-dependence measurement}
% We can examine the time dynamics of the population in the sender and receiver by comparing values simulated under ideal conditions with those measured.

\paragraph*{Simulation}
Through the numerical calculation of pulse shapes $\xi_1$ and $\xi_2$ on the sender and receiver (Section \ref{sec:protocol}), we know the ideal intracavity field expectation values $\hat{a}, \hat{b}$ in each system as a function of time.
These are directly related to the average photon number we would expect to measure at that time, $\bar{n} = a^2$.

\paragraph*{Measurement}
We measure the photon number present in the sender and the receiver after truncating the protocol prematurely: the non-dynamic pulses, $\xi^{(s)}_2$ and $\xi^{(r)}_2$, are turned off over 200\,ns at a swept measurement time $T$.
We then measure the population $a^{(s)}(T)$ and compare with the calculated value.
% Similarly, for the receiver population, the full complement of pulses is played on the sender system.
% At the desired measurement time $T$, the normally-constant pulse $\xi^{(r)}_2$ is set to ring down, thereby obtaining $a^{(r)}(T)$.
The results from these measurements are in good agreement with the expected values (\figref\ref{fig:timedep}).

\begin{figure}[tp]
    \center
    \includegraphics{pop_vs_time}
    \caption{\label{fig:timedep}
    {\bf Cavity populations over time.}
    We prepare and transfer the Fock state with $n=1$.
    Populations for the lowest two cavity number states are measured in both cavities as a function of time.
    The measured shape of the trajectory in the receiver reflects the inefficiency of the transfer.
    }
\end{figure}

\section{Methods, calibrations, and analysis} \label{sec:methods}

\subsection{Storage cavity measurement}

\paragraph*{Cavity spectroscopy}
Dispersive coupling between transmon and storage cavity allows readout of the cavity state by mapping a cavity property, such as population in a given number state, onto the transmon state \cite{Schuster2007}.
Cavity measurement fidelity is then given by the combined fidelities of the mapping and the transmon readout.
The relative population of each cavity number peak is obtained directly from the transmon spectrum, which depends on the photon number in the cavity.
The spectrum is fit to a series of Gaussians (with total area normalized to one), which directly yields the relative photon number occupations when the transmon is in its ground state.
The raw spectroscopy data producing the relative populations in \figref2C of the main text are shown in \figref\ref{fig:npeakspec}.

\begin{figure}[tp]
    \center
    \includegraphics{pnc_nominal}
    \caption{\label{fig:npeakspec}
    {\bf Spectroscopy to determine transfer efficiency.}
    We execute the transfer protocol after preparation of a Fock state with $\ket{1}$.
    The transmon spectrum yields the population of cavity number states.
    Measurement follows different combinations of pumps on the two systems (prepare and delay: the state is prepared in the sender and 6\,$\upmu$s elapse before measurement; release only: pulses are played on the sender but not the receiver; full release and capture: the standard transfer protocol is run).
    Additionally, these data illustrate the rise in background excitation level associated with pumping either system, related to the success probabilities $p^\text{(s,r)}_\text{success}$.
    }
\end{figure}

\paragraph*{Wigner tomography}
Wigner tomography on a single cavity is done through a series of displaced parity measurements \cite{Haroche2006,Sun2014}.
% First, a state is prepared or transfered into the chosen cavity.
% Then, the cavity is displaced by a variable, complex-valued displacement $\alpha$.
% At each displacement, the average parity is measured.
In our systems, the parity is mapped onto the transmon by applying a set of selective $\pi$-pulses simultaneously, on either the even or odd number-peaks, up to $\bar{n}=25$.
Taking the difference of the even and odd mapping sequences, we obtain a value proportional to parity (and therefore to the Wigner function), independent of the initial transmon state.
To compensate for finite $\pi$-pulse and measurement contrast, we then normalize the resulting data so that it integrates to unity over all phase space, leading to a physical Wigner function.
Displacements are typically performed up to $\alpha = 2.5$, resulting in Wigner functions that should capture $>99\,\%$ of the energy contained in the mode for our states with $\bar{n} \leq 2$.

\subsection{Transfer efficiency analysis} \label{sec:loss}
The combined efficiency of the transfer process can be obtained directly by measurements before and after the transfer protocol, as described in the main text. We provide a breakdown of the different sources of inefficiency in \tabref\ref{tab:loss_params}.
% The origin of this efficiency is investigated here.
% We perform additional measurements in order to break down the ``total process efficiency'' $\eta$ into segments of the process, such that future incarnations of the experiment may be more improved.
% For a complete break-down of calculated contributions, see .

\begin{table*}[tb]
    \centering
    \setlength{\tabcolsep}{8pt}
    \begin{tabular}{p{0.3\linewidth} c c c p{0.3\linewidth}}
    \hline\hline
    Category &  & Value & Uncertainty & Notes \\
    \hline\hline
    \emph{Measured values} \\
    Unreleased energy fraction & $n_\text{remain}^\text{(s)}$  & $0.033$   & $0.005$ & \\
    Uncaught energy fraction & $n_\text{reflect}^\text{(r)}$  & $0.068$   & $0.005$ & \\
    Transmission loss & $\eta_\text{tx,meas}$ & $0.80$ & $0.15$ & \\
    \hline
    {\bf Total efficiency} & $\eta$ & $0.74$ & $0.03$ & \\
    \hline\hline
    \emph{Modeled values} \\
    Truncation of sender pulse              & $\eta_\text{trunc}^\text{(s)}$        & $0.99$        & -                 & specified in pulse creation \\  
    Sender transmon excitation              & $\eta_\text{excite}^\text{(s)}$       & $0.98$        & $0.01$            & \\   
    Calibration of sender pulse             & $\eta_\text{miscal}^\text{(s)}$       & $0.98$       & $0.005$            & \\
    {\bf Release efficiency}                & ${\bf \eta_\text{release}}$           & ${\bf 0.95}$  & $0.01$            & \\
    \hline
    {\bf Transmission line loss}            & ${\bf \eta_\text{tx}}$                & ${\bf 0.85}$  & $0.04$            & estimation from ``missing energy'' \\
    \hline
    Truncation of receiver pulse            & $\eta_\text{trunc}^\text{(r)}$        & $0.95$        & -                 & specified in pulse creation \\
    Truncation of receiver pulse, revised   & $\eta_\text{trunc,corr}^\text{(r)}$   & $0.99$        & $0.005$           & \\
    Receiver transmon excitation            & $\eta_\text{excite}^\text{(r)}$       & $0.94$        & $0.02$            & \\   
    Calibration of receiver pulse           & $\eta_\text{miscal}^\text{(r)}$       & $\geq 0.99$   &                   & \\
    {\bf Capture efficiency}                & ${\bf \eta_\text{capture}}$           & ${\bf 0.92}$  & $0.02$            & \\
    \hline\hline
    \end{tabular}

    \caption{
    \label{tab:loss_params}
    {\bf Summary of transfer losses.}
    A break-down of loss mechanisms thought to contribute to the transfer efficiency.
    For some categories the individual constituent efficiencies are measurable, while for others only the total loss can be measured, and the components must be deduced.
    The model is designed such that the product of the three category subtotals, $\eta_\text{release} \times \eta_\text{tx} \times \eta_\text{capture}$, equals the measured total efficiency $\eta$.
    }
\end{table*}

\subsubsection*{Release and capture efficiency}
% Certain errors in the transfer protocol arise independently in both systems.
% Because their origin is the same, we address them together here.

\paragraph*{Truncation}
Amplitude and time constraints of the transfer process drives are imposed by the physical implementation of the experimental hardware.
With finite time and amplitude constraints on the conversion rate $g(t)$, releasing and capturing the entirety of the energy in the sender is not possible.
To limit the applied pump power (and thus the amount of heating induced to the system), we implemented the full transfer process specifying waveforms that are expected to release the fraction $\eta^\text{(s)}_\text{trunc} = 0.99$ of the sender state, and capture $\eta^\text{(r)}_\text{trunc} = 0.95$ of the energy in the receiver.

% The release pulse calculated by the method described has several constraints imposed on it by hardware and by the protocol itself.
% The pulse amplitude and its derivative must reach zero at the endpoints, and the maximum amplitude must remain below some threshold.
% These impositions produce a remaining energy in the sending cavity, $a_\text{s}^2(t)$, that decays asymptotically in time, towards zero.
% We choose to truncate this decay such that 1\% of the energy will remain in the sending cavity ($\eta^\text{(s)}_\text{trunc} = 0.99$).
% If more pump power were applied, or more time were taken, a larger fraction of the prepared state's energy would be released.
% However, these adjustments would also affect the prevalence of other errors (such as transmon excitation or readout infidelity). % what does readout infidelity mean here?

% Similarly, the receiving pulse is constrained in time and amplitude such that $\eta^\text{(r)}_\text{trunc} = 0.95$.
% We plot the expected and measured cavity populations using these pulses in \figref\ref{fig:timedep}.

\paragraph*{Sender transmon excitation}
During the transfer, we observe the sender transmon excitation from 3.1\% to 9.6\%, a process from which we approximate a worst-case transfer inefficiency of $\sim 6\%$.
We perform a control experiment, populating the sender transmon before executing the transfer, which allows us to refine our approximation.
A fully-excited sender transmon still transfers somewhat successfully (\figref\ref{fig:transmon_excite_spec}), introducing an inefficiency of only $\sim 39\%$.
% We measure the transfer efficiency as a function of excitation probability, and find that a fully excited sender transmon still allows for a total transfer efficiency of 0.47 (\figref\ref{fig:transmon_excite_spec}).
We thus revise our worst-case estimate upward, calculating a total efficiency from sender transmon excitation $\eta^\text{(s)}_\text{excite} = 1 - (0.06 \times 0.39) \approx 0.98$.
% We can thus estimate the inefficiency from sender transmon excitation as $1 - 0.06 \times 0.53 \approx 0.976$.
Our understanding of the effect of transmon excitation on shape/frequency mismatch is improved by monitoring the emitted wavepacket as a function of excitation (\figref\ref{fig:transmon_excite_field}).

\begin{figure}[tp]
    \center
    \includegraphics{excitation_failure}
    \caption{\label{fig:transmon_excite_spec}
    {\bf Transmission inefficiency from sender transmon excitation.}
    We measure both cavities as a function of sender transmon excitation probability.
    ``$\bar{n}$ remaining'' in the sender cavity is inherently conditioned on the sender transmon being in its ground state. The energy remaining appears therefore unaffected.
    The received number of photons is inversely proportional to the sender transmon excitation, reflecting that the state has not been released with proper matching.
    }
\end{figure}

% If the transmon in the sender leaves its ground state during the protocol, this will change the resonance condition of the transfer.
% Depending on the parameters of each system, this will produce different effects.
% Near resonance, a waveform will be produced with a shape and/or frequency that are unmatched with respect to the receiving pulse.
% Far from resonance, the prepared state will be converted into a propagating one at a much slower rate than expected.
% These inefficiencies will manifest in the sender either as unreleased energy or unmatched (``uncatchable'') propagating energy.

% Approximating the observed increase in transmon excitation as linear from its initial value of 3.1\% to an ending value of 9.6\%, we calculate the amount of energy that would fail to transfer.
% We account for varying failure-probability-per-photon, since both transmon excitation and photon population change in the cavity over time as it empties.
% This produces an efficiency associated with our particular level of transmon excitation, $\eta^\text{(s)}_\text{excite,worst} = 0.94$. % 0.939: very nearly 100% - 6.1% (almost the average excitation from 3.1 to 9.6)
% This reflects a worst-case assumption, i.e., what would happen if a transmon excitation completely ruined the transfer efficiency.
% We perform the following experiment to test this assumption, quantifying the effect of transmon excitation on the efficiency.
% We prepare the Fock state $\ket{1}$ in the sender cavity and partially excite the sender transmon with known probability $P_e$ into a superposition state between $\ket{g}$ and $\ket{e}$.
% Then, we execute the transfer protocol, and perform transmon spectroscopy in the sender and the receiver to measure the remaining state and obtain the transfer efficiency .

% The failure rate varies linearly with transmon polarization---from which we calculate that a \emph{total efficiency} of only $\sim 0.46$ could be reached if the sender transmon began in $\ket{e}$. % 0.457
% The efficiency particular to the sender transmon excitation \emph{alone}, excluding all other sources of loss, is thus $\eta^\text{(s)}_\text{fully-excited} = 0.61$. % 0.609
% We can use this value to correct the worst-case assumption of release efficiency above,
% \begin{equation}
%     \begin{aligned}
%     \eta^\text{(s)}_\text{excite} &= 1 - (1-\eta^\text{(s)}_\text{excite,worst}) \times (1-\eta^\text{(s)}_\text{fully-excited})\\ &= 0.976.
%     \end{aligned}
% \end{equation}

% To gain insight on how the propagating wavepacket is affected by transmon excitation, we measure the emitted field when the sender transmon is prepared in $\ket{g}$ or $\ket{e}$ and the cavity state $\ket{1}$ is subsequently released .

\begin{figure}[tp]
    \center
    \includegraphics{excitation_field}
    \caption{\label{fig:transmon_excite_field}
    {\bf Effect of transmon excitation on the wavepacket.}
    We vary the excitation of the sender transmon (left) or receiver transmon (right), and release a coherent state with $\alpha = 1$ from the sender. During release, we monitor the field leaving the system.
    The magnitude of the Fourier transform (FT) is shown.
    {\bf Left:} The capture pulse is omitted to monitor the released wavepacket.
    A cut taken at the nominal propagating frequency (dashed line) indicates a decrease in emitted field at the transmission frequency.
    At large excitations, field appears to be emitted around 3.5\,MHz above the nominal frequency.
    {\bf Right:} The capture pulses are played, and the reflected field is observed.
    At the nominal propagating frequency, a line cut (dashed) shows that reflected field intensity increases with increased receiver excitation probability (lower).
    The reflected energy received at maximal receiver excitation is 69\% of that received from a normal release with no capture attempt.
    }
\end{figure}

% The fields contain nearly the same energy, but at different frequencies, suggesting that a state release in the presence of an excited transmon leaves the sender cavity but is poorly-matched to the receiver's conversion process.
% The particular manifestation of an excitation-induced error is dependent on system parameters.
% In our case, the values are $\chiac$ and $\chibc$ in each system are similar, leading to Stark shifts that enable a conversion resonance at a different absolute detuning from the communication mode.
% With alternate system parameters, however, the failure may have resulted in a failure to release the energy at all.

\paragraph*{Receiver transmon excitation} 
From the data in \figref\ref{fig:transmon_excite_field} we infer that full excitation of the receiver transmon leads to reflection of $\sim 69\%$ of the incident energy.
Combining this with the excitation of the transmon---increasing from 4.5\% to 13.5\% during the transfer---yields an approximate maximum capture efficiency of $\eta^\text{(r)}_\text{excite} \approx 0.94$.
Taking into account pulse truncation (see above) gives an expected capture efficiency of 0.89.
This is in reasonable agreement with the observed reflection of $6.8\%$ of the incident wavepacket shown in \figref2B of the main text.
The remaining mismatch could be explained by a better value of truncation efficiency than expected due to experimental fine-tuning, $\eta^\text{(r)}_\text{trunc,corr} = 0.994$; this quantity cannot be directly measured in our experiment.

% If the receiver transmon leaves the ground state, the capture process will also fail to absorb the incident energy to some extent.
% The experiment performed on the sender transmon could also be performed on the receiver transmon; however, the measurement would be inherently conditioned on having found the receiver transmon in the ground state (just as for the sender in \figref\ref{fig:transmon_excite_spec}).
% Instead, we infer the value of $\eta^\text{(r)}_\text{fully-excited} \approx 0.3$ from the data in \figref\ref{fig:transmon_excite_field}, where we found that the integrated reflected energy in this case was 69\% of the maximum.
% Parameters between the sender and receiver are very similar, so we expect this value to be near that of the sender.
% We measure that the receiver transmon excitation probability increases from , and accounting for the expected form of the dynamic cavity population in the receiver cavity over that time, we calculate the worst-case efficiency associated with transmon excitation of the receiver, $\eta^\text{(r)}_\text{excite,worst} \approx 0.912$.
% Combining these two values as for the sender, we obtain
% \begin{equation}
%     \begin{aligned}
%     \eta^\text{(r)}_\text{excite} &= 1 - (1-\eta^\text{(r)}_\text{excite,worst}) \times (1-\eta^\text{(r)}_\text{fully-excited})\\ &= 0.938.
%     \end{aligned}
% \end{equation}
% We compare this to our measurement in \figref2B, where we found the fraction of total energy reflected when the capture pulses were applied, $n^{(r)}_\text{reflect} = 6.8\% \pm 0.5\%$.
% This comparison of two energies does not depend on sender or transmission loss values, since signals with or without the capture pulses are affected by those losses equally.
% Therefore we expect this value to agree closely with our model, which predicts
% \begin{equation*}
%     \eta^\text{(r)}_\text{trunc} \times \eta^\text{(r)}_\text{excite} = 0.89,
% \end{equation*}
% leaving a reflected energy fraction of $0.11$.
%  would better match the measured reflected energy, and is possible since the truncation efficiency is not directly measured.
% Higher-order also effects contribute to uncertainty of this model.
% Parametric drives can excite the transmon beyond just $\ket{e}$, for example, and the transmon $T_1$ process can cause relaxation when steady-state excitation has been assumed.

\paragraph*{Miscalibrations} % merely "unexpected" truncation error
Any unidentified source of inefficiency could be due to imperfectly calibrated pulses or uncertainty in the system parameters.
Assuming that missing factors in the capture or release error budgets arise from miscalibration error, we estimate an upper bound.
For the sender, this gives an inefficiency of $\eta^\text{(s)}_\text{miscal} \approx 0.98$.
For the receiver, miscalibrations seem to yield a slightly better capture efficiency than expected (see above); this leaves no gap in the error budget for miscalibration.
Other possible sources of uncertainty include higher-order nonlinearities and frequency-dependent dissipation, which we have not considered in our model.

% Any error present in the release or capture for which a source has not been identified may be the cause of pulse miscalibration.
% Effective pulses require that accurate system parameters are supplied during the generation process.
% These parameters come from many calibration measurements, and the error from these calibration values can propagate into errors in the amplitude and frequency of a pulse.
% This would produce a similar effect to truncation error, and the relative source is impossible to empirically determine.

% We can estimate the miscalibration efficiency associated with the sender or the receiver based on the measured fraction of energy remaining in the sender, $n^{(s)}_\text{remain}$, or reflected from the receiver, $n^{(r)}_\text{reflect}$, as well as the other efficiencies.
% In the sender, we calculate the efficiency due to miscalibration as
% \begin{equation*}
%     \eta^\text{(s)}_\text{miscal} = \left(1-n^{(s)}_\text{remain}\right)/\eta^{(s)}_\text{trunc} = 0.98 % 0.978
% \end{equation*}
% since we observe a remaining population fraction $n^{(s)}_\text{remain} = 0.032 \pm 0.005$.
% Note that $\eta^\text{(s)}_\text{excite}$ does not appear as a contribution to the remaining population, since $n^{(s)}_\text{remain}$ reflects a conditioned measurement.

% Since $n^{(r)}_\text{reflect}$ is already smaller than the value of loss predicted by the model, no physical value of $\eta^\text{(r)}_\text{miscal}$ would bring the model closer to agreement with the measurement.
% We conclude that $\eta^\text{(r)}_\text{miscal}$ is immeasurably close to unity.
% Given the uncertainty in the reflection measurement, we place a bound, $\eta^\text{(r)}_\text{miscal} \geq 0.99$.
% Due to intermediate loss, an identical analysis on the receiver is difficult to perform.
% We instead assume that the receiving pulse suffers from a similar level of uncertainty in the measured system parameters, thereby obtaining {\color{red}$\eta^\text{(r)}_\text{miscal} \approx 0.93$} for the receiver.

% We can define the total release inefficiency from all components in our model to be
% \begin{equation}
%     \eta_\text{release} = \eta^\text{(s)}_\text{miscal} \times \eta^\text{(s)}_\text{trunc} \times \eta^\text{(s)}_\text{excite} = 0.945
% \end{equation}
% and similarly for the receiver as
% \begin{equation}
%     \eta_\text{capture} = \eta^\text{(r)}_\text{miscal} \times \eta^\text{(r)}_\text{trunc,corr} \times \eta^\text{(r)}_\text{excite} = 0.924.
% \end{equation}

\subsubsection*{Transmission loss}
The energy dissipated in the transmission line is difficult to measure directly in our experiment.
We can, however, assume that any `missing' energy comes from loss; this gives a value for the transmission line efficiency of $\eta_\text{tx} = 0.85 \pm 0.04$.
We perform the following control experiment to corroborate this value: we apply a constant tone detuned from the output resonator of the sender, and measure the Stark shift of both sending and receiving communication modes ($\hat{b}^\text{s,r}$) at variable amplitudes of the tone (\figref\ref{fig:tx_loss}).
From these Stark shifts and knowledge of the readout-transmon cross-Kerr $\chibc$ and output rate $\ko$, one can calculate the loss between systems in a way that is independent of the sending and receiving portions of the transfer protocol.
One expects to receive
\begin{equation}
    \label{eq:tx_loss}
    \bar{n}_{r} = \bar{n}_{s} \kappa_s \kappa_r \eta_\text{tx,meas} / ((\kappa_r/2)^2 + \delta_r^2)
\end{equation}
for a transmission loss $\eta_\text{tx,meas}$ between the two communication resonators, and a detuning $\delta_r$ of mode $\hat{b}^{r}$ relative to the drive.
We perform these measurements at several detunings and extract a value of $\eta_\text{tx,meas} = 0.80 \pm 0.15$.
This agrees well with the ``missing energy'' estimation of $\eta_\text{tx}$ above.

\begin{figure}[htp]
    \center
    \includegraphics{tx_loss}
    \caption{\label{fig:tx_loss}
    {\bf Estimation of transmission loss.}
    We prepare a steady-state population of photons in the sender and measure the resulting population in the receiver by means of the Stark shift.
    This measurement allows us to estimate the fraction of photons transmitted from sender to receiver.
    The line is a linear fit.
    }
\end{figure}

\subsection{Cavity state analysis} \label{sec:interpret}
% \subsubsection*{Detection after transmission}
% \paragraph*{Measurement normalization}
% Most of our measurements involve (1) number-selective qubit spectroscopy to measure cavity photon number populations, or (2) displaced parity measurements to measure cavity Wigner functions by tomography.
% Our detector (the transmon in the receiver module) produces a value that is related to the probability of finding the transmon in the ground state.
% Strong excitation of this transmon, as discussed above, can lead to an apparent reduction in contrast (or ``increased background'') produced by the detector.
% In these cases, the measurement will return a value that indicates the transmon is not in $\ket{g}$, but will do so independently of any cavity photon number selection.
% In transmon spectroscopy, this produces a large offset indicating larger transmon excitation probability.
% In Wigner tomography, the average measured parity at any displacement can no longer reach the extrema of -1 or 1.
% In both cases, measurement contrast is effectively reduced and the acquired data must be renormalized to return a physical result.

% We perform this normalization on spectroscopy measurements by using a model with a common background offset and constrain that all number peak probabilities sum to one (Section \ref{sec:operations}).
% For Wigner function measurements, a scaling factor is applied to the data such that its two-dimensional integral evaluates to unity.
% This produces a properly-scaled, physical Wigner function $W(\alpha)$ with a maximum possible amplitude of $2/\pi$.

\paragraph*{Heralding}
As discussed in the main text, measurements using the receiver transmon have the effect of selecting on that transmon being in the ground state. % Effectively a heralded measurement. We can prove it.
In this case, data that is effectively ignored by normalization conveys no information.
We confirm this by performing a spectroscopy experiment, measuring the transmon state after the transfer process.
We then post-select on the measurement results in each system when the transmon is found in the ground state.
Within fit and measurement error, we find identical photon number content in the unselected (including all data) and post-selected cases (\figref\ref{fig:herald}).
In other words, the average efficiency $\eta$ does not change whether a measurement to detect transmon state is performed, and the discarded measurements contain no relevant information.
Therefore, a measurement of the transmon ground state can be thought of as heralding on a successful state transfer (a transfer not precluded by an endpoint failure, yet still subject to miscalibrations and intermediate photon loss).
All data presented in this document are naturally ``conditioned'' as such, unless otherwise stated.

\paragraph*{Deterministic efficiency and fidelity bounds}
As stated in the main text, the deterministic estimates for the efficiency ($\eta_\mathrm{d}$) and fidelities ($\mathcal{F}_\mathrm{avg,d}$ and $\mathcal{F}_\mathrm{Bell,d}$) are calculated as the product of the conditioned quantity and the success probability.
In each case, this quantity is a lower bound.
For the efficiency, we assume that no energy was captured in the event that the transmon is found excited.
In reality, some energy was likely absorbed in the time before the transmon becomes excited.
For each fidelity bound, we take the worst-case assumption: that the entire system leaves the codespace entirely in an unrecoverable way, and these events contribute zero fidelity to the average.
In fact, if the failure completely destroys the information but leaves the system in a state which can be detected and reset (for example, the transmon in $|e\rangle$), then these events can result in an average fidelity $0.5$ by resetting the system to an arbitrary state within the codespace.
The same is true for the entanglement (but with fidelity $0.25$, which is the best that can be prepared with local resources).
Because some of the failure events are in principle recoverable in this fashion, we quote our worst-case fidelity as a lower bound.

\begin{figure}[htp]
    \center
    \includegraphics{herald}
    \caption{\label{fig:herald}
    {\bf Comparison with post-selected efficiency.}
    Transmon spectroscopy is performed with an added conditioning measurement of transmon state following the transfer process.
    All of the data (left column) or only data post-selected on the conditioning measurement (right column) are shown after preparation (top row) or after release and capture (bottom row).
    Black lines indicate fits from which relative photon number populations are obtained.
    While background offsets are clearly lower in the post-selected data, the extracted relative populations are identical within the range of uncertainty.
    In particular, the measured transfer efficiency, or ratio between average prepared and received photon numbers, changes by $< 1\,\%$.
    }
\end{figure}

\paragraph*{MLE reconstruction}
Maximum-likelihood estimation (MLE) reconstruction is performed on measured Wigner tomography data to return the density matrix found to have most probably produced the data.
We use a numerical, iterative, convex optimization algorithm.
The algorithm is supplied with normalized (physical) Wigner tomography data, and the optimal reconstructed density matrix is constrained to remain physical throughout the minimization procedure.
Through systematic simulation as well as comparison with other reconstruction methods, we find that this reconstruction technique misrepresents the collected data $<1\,\%$.
The same optimization algorithm is applied to joint cavity measurement operator data in order to reconstruct the density matrix for an entangled state.

\paragraph*{Error estimation}
Uncertainties in values taken from Wigner function reconstructions, such as state fidelities, arise from one of several errors: miscalibrated displacements, improper normalization, or effects of unwanted thermalization.
The amplitude associated with displacing a state by, for example, $\alpha=1$, can be calibrated in several ways.
These calibration values and their relative uncertainties produce a total uncertainty around 1\%.
Variable transmon excitation leads to a normalization factor that can be state-dependent (depending on the preparation method), and so normalization must be performed on every state individually.
Uncertainty in the normalization process arises from the action of integrating over noisy data, and leads to error of several percent.
Thermal effects can alter the shape and spread of the Gaussian form of the vacuum Wigner function.
Each of these errors, in fact, are most pronounced when measuring the vacuum state, since this can easily lead to a nonphysical density state reconstruction.
We analyze the effect of these errors on well-defined vacuum states in each cavity to produce a total, conservative uncertainty associated with Wigner function measurement and reconstruction equal to 4\%.
% [Entanglement: more to do with OCT rotation pulses for reconstruction of two-bit state.]

\subsection{Entanglement generation by partial transmission}
\paragraph*{Interaction between cavity and traveling mode}
The interaction between the cavity and the transmission line can be described by an effective beam splitter interaction (\eqnref\ref{eq:bs_theta}), where the conversion strength and time determine the coupling $\theta$ between the modes \cite{Pfaff2017},
\begin{equation} \label{eq:bs_theta}
H_\text{bs} = \frac{-i \theta}{2} (\hat{a}_1^\dag \hat{a}_2 - \hat{a}_1 \hat{a}_2^\dag)
\end{equation}
In particular, releasing half the energy stored in the cavity initially corresponds to a `50:50 beam splitter' with $\theta = \pi/2$.
The pulse required to realize this can be calculated precisely by specifying that one-half of the prepared state remains (in \eqnref\ref{eq:eom}).

\paragraph*{Correlation measurements and state reconstruction}
In each encoding we perform the following experimental sequence.
We first release half the energy of the prepared state, capturing it in the receiver.
Immediately after switching off the pumps, we apply a mapping pulse that rotates the state of one or both cavities into a particular basis.
Within that basis, we then measure the likelihood of finding the cavities in a particular joint photon-number state by applying selective-$\pi$ pulses on each transmon and reading out.
In particular, for each module we measure after $\pi$ pulses selective on the $n=0$ and $n=1$ peaks, as well as with no $\pi$ pulse (to obtain the background transmon excitation probability).
These $3\times3=9$ probabilities are combined to produce four values for each rotation: the probability of finding joint photon numbers $00$, $01$, $10$, or $11$ (the diagonal elements of the density matrix in this joint basis).
We choose three basis rotations for each cavity: $\{I,Y(\frac{\pi}{2}),X(\frac{\pi}{2})\}$, leading to measurements in the $\{z,x,y\}$ bases, respectively.
This produces correlation probabilities in $3\times3=9$ joint bases, enough to reconstruct the full joint state.
The data for each rotation are supplied to a maximum likelihood estimation (MLE) reconstruction program to produce the density matrix describing the joint system with the largest likelihood.
The Pauli bars in \figref3D are then calculated from this reconstructed density matrix.

\paragraph*{Success rate conditioning} \label{sec:ent_succ_cond}
The measurement of joint cavity operators is affected by the success probability of each transmon in a way similar to that of spectroscopy and Wigner tomography measurements (Section~\ref{sec:interpret}).
The data presented in \figref3D of the main text are thus naturally conditioned on the case where both transmons remain in the ground state following the half-transfer and before the measurement is performed.
The unconditioned values (and resulting entanglement metrics) can be determined by accounting for the probability with which each transmon becomes excited or the system leaves the observed Hilbert space (\figref\ref{fig:pauli_unconditioned}).
As opposed to other measurements throughout this work, the excitation of \emph{both} systems factors in.
To estimate the unconditioned entanglement measurement operator expectation values, we add a extra dimension to the reconstructed density matrix representing the measured joint cavity state.
This dimension represents a space outside of the observable space.
It is populated according to the product of the two transmon excitation probabilities.
The density matrix is then renormalized and truncated to exclude the `unobservable' dimension, producing a density matrix reasonably estimating what we believe an unconditioned measurement would produce.
\begin{figure}[htp]
    \center
    \includegraphics{pauli_unconditioned}
    \caption{\label{fig:pauli_unconditioned}
    {\bf Entanglement unconditioned by successes.}
    The values measured in \figref2D are calculated with consideration of the joint success probability of the entanglement generation procedure.
    This produces inferred expectation values of two-qubit measurement operators that correspond with the `unconditioned' case, the values we would expect to measure if the transmons did not leave the observable measurement space.
    The measured value associated with the `II' operator, 0.78, thus represents the reduction from unity of this joint success probability compared to the `conditioned' case presented in the main text.
    The fidelity of this unconditioned density matrix to the maximally entangled state is 61\%.
    The scaled measured values (shaded) are overlaid on the ideal values (dashed).
    }
\end{figure}

\paragraph*{Entanglement measures}
Using the reconstructed density matrix, we are able to calculate a number of metrics describing the entangled state.
Values ``unconditioned'' and ``conditioned'' on success probability are shown in Table~\ref{tab:entmeas}.
Some of these are useful for comparison with other experiments or when considering, for example, choices among purification schemes.
Entanglement fidelity, concurrence, and purity have been calculated according to standard definitions \cite{Plenio2006}.
The entanglement generation rate $R$ is the rate of experimental repetition, appending additional time required to avoid failed runs (which could in principle be heralded against) in the conditioned case, and inclusive of all experimental runs in the unconditioned case.
As detailed in the main text, this value is limited by the re-initialization time of the system.
The generation rate of maximally entangled qubit pairs, the ebit rate, represents the rate at which an optimal purification scheme \cite{Horodecki2009} could generate a maximally entangled pair from many pairs identical to ours, and can be calculated using the logarithmic negativity \cite{Plenio2005}, $E_\mathcal{N}$:
\begin{equation}
    R_e = p_\text{s,ent} \cdot R \cdot E_\mathcal{N}.
\end{equation}
Success probability $p_\text{s,ent}$ enters in both the logarithmic negativity (where lower $E_\mathcal{N}$ demands more pairs in the unconditioned case) and the generation rate (where overall generation of higher-fidelity entanglement is slower).
\begin{table*}[tb]
    \centering
    \setlength{\tabcolsep}{8pt}
    \begin{tabular}{l c c c} % centered columns (2 columns)
    \hline\hline
    Value &  & Conditioned (measured) & Unconditioned (estimated) \\
    \hline
    Success probability                   & $p_\text{s,ent}$            & $0.78\pm0.04$     & $1$ \\
    Fidelity                              & $\mathcal{F}_\mathrm{Bell}$ & $0.77\pm0.02$     & $0.61\pm0.04$ \\
    Concurrence                           & $\mathcal{C}$               & $0.66\pm0.03$     & $0.51\pm0.04$ \\
    Purity                                & $\gamma$                    & $0.66\pm0.03$     & $0.40\pm0.04$ \\
    Generation rate $(\upmu\text{s}^{-1})$& $R$                         & $1/(140 \pm 10)$  & $1/(110 \pm 10)$ \\
    Logarithmic negativity                & $E_\mathcal{N}$             & $0.66\pm0.03$     & $0.30\pm0.04$ \\
    ebit rate $(\text{kebit}/\text{s})$   & $R_e$                       & $4.7 \pm 0.5$     & $2.7 \pm 0.4$ \\
    \hline\hline
    \end{tabular}

    \caption{
    \label{tab:entmeas}
    {\bf Measures of entanglement.}
    All comparison values are with respect the maximally-entangled Bell state, $\left( \ket{10}+\ket{01} \right ) / \sqrt{2}$. ``Unconditioned'' values are those metrics taken for the estimated unconditioned density matrix reconstructed according to the process in Section \ref{sec:ent_succ_cond}, \emph{Success rate conditioning}.
    }
\end{table*}

\subsection{Cavity evolution due to the Kerr effect}
The single-photon Kerr effect in one cavity \cite{Haroche2006,Kirchmair2013} is described by the Hamiltonian
\begin{equation}
    H_\text{Kerr} = \frac{\chiaa}{2} \modea^{\dagger 2} \modea^2.
\end{equation}
This nonlinearity causes a unitary evolution in which each photon number acquires phase at a rate $n\chiaa$. On long time scales the state undergoes cyclic evolution at revival times $2\pi/\chiaa$.
On shorter times, the evolution leads to `smearing' of the phase information, with a phase collapse time that depends on the mean number of photons, $\bar{n}$, in the cavity, $T_{\text{collapse}} = \pi/(2 \sqrt{\bar{n}} \chiaa)$.
In our system, $\chiaa = 2\pi \times 8.8$ $(5.3)\,\text{kHz}$ for sender (receiver), and thus $T_{\text{collapse}} \approx \bar{n}^{-1/2} \times 28$ $(47)\,\upmu\text{s}$. As the collapse times are significantly longer than the transfer time, the effect of the Kerr evolution is a relatively weak distortion of the state.

\paragraph*{Correction in fidelity estimation}
The Kerr effect manifests itself for received states with photon number $\bar{n} > 1$, such as those of the binomial code (\figref4A).
It is only apparent in the Wigner function for states that are not radially symmetric (and contain more than one photon number).
Because the Kerr evolution is deterministic, it does not in and of itself lead to a loss of information, so long as its value is known.
In order to produce a fidelity representative of the effect of the transfer protocol on the prepared states, and not merely the effect of Kerr at one end or the other, we compare the reconstructed density matrix of the prepared state with a reconstructed density matrix of the received state to which an in-software correction has been applied (\figref\ref{fig:binom_expanded}).
This operation is simply the Kerr unitary associated with $H_\text{Kerr}$ above, with an effective Kerr $\chiaa^\text{eff}$, equal to approximately the average of $\chiaa$ in each system.
In order to determine the nominal value of $\chiaa^\text{eff}$ to use for the software correction unitary, we perform a global minimization of the average fidelity over all six states prepared in the manifold with respect to a single Kerr evolution applied to each state. % not sure what this last clause means
We find $\chiaa^\text{eff}=2\pi \times 10.8\,\text{kHz}$ for the transfer time of $6\,\upmu\text{s}$.

Since Kerr evolution does not commute with photon loss, the uncertainty in exactly when the loss occurred does lead to a small unrecoverable loss of information, which manifests as dephasing of the cavity state. 
Because the Kerr is fairly small and the transfer time quite short, this produces a small effect on the measured average fidelity, around 1--2\%. % how is this obtained? a few words perhaps

\paragraph*{Correction in future devices}
The technique applied in software here can also be applied experimentally with a unitary, and can be combined with the operations necessary to perform error correction.
Though our system parameters inhibit this operation without introducing unnecessary error, a Kerr-reversal unitary could be applied to the receiving cavity using the nominal value of average Kerr, $\chiaa^\text{eff}$.
Undesired Kerr evolution can be suppressed in future experiments by reducing the magnitude of the Kerr effect and by increasing the bandwidth of the conversion process.

\subsection{Model of photon loss}
The model assumes a pure photon loss channel $\Psi$ characterized by the single-photon efficiency $\eta$.
Our measurements produce $\eta = 0.74 \pm 0.03$, which we incorporate in the model.

\paragraph*{Simulation}
We apply the following model of photon loss to ideal or prepared states or density matrices in order to generate density matrices expected in the presence of $\Psi$.
This takes the form of a beamsplitter operation, in which the initial state interferes with an ancillary system in the vacuum state at a variable beamsplitter incidence angle $\theta$.
First, we convert the loss probability $p_\text{loss} = 1 - \eta$ into the interference angle $\theta$ according to
\begin{equation}
\theta = 2 \arccos{\sqrt{1-p_\text{loss}}}.
\end{equation}
Then, the beamsplitter Hamiltonian (\eqnref\ref{eq:bs_theta}) is applied to the product of the states, entangling the Hilbert space of interest with some environmental degree of freedom.
We then trace over the ancillary system to obtain a lossy mixed state.

\paragraph*{Other sources of loss}
While our model of photon loss agrees significantly with the measured process (Section \ref{sec:choi}), other error mechanisms may explain the remaining uncharacterized infidelity.
We have investigated two such mechanisms: decoherence and thermalization.

For simplicity, we chose to apply our models for decoherence and thermalization to the single-photon encoding.
To test decoherence, we construct a positive-operator valued measure (POVM) that includes the action of both photon loss and decoherence.
In this model we represent decoherence using the Pauli operator $\sigma_z$ and photon loss using $\sigma_+ = \sigma_x + i \sigma_y$.
We minimize the average infidelity between the measured states and states resulting from this model, over the probability space of these two mechanisms.
This routine returns a minimum corresponding with a small amount of decoherence that changes the average fidelity (and the fidelity of any single state) by $<1\%$.
Therefore, this effect alone does not account for the $\sim 5\%$ unexplained by the non-unity process fidelity.

The potential effect of thermalization or ``photon gain'' (equilibrating, with some probability, to a thermal state at an unspecified point during the transfer process) is evaluated using a similar comparison.
Much like the model of photon loss imposes a beamsplitter on the transmitted state with vacuum at the opposite input port, the thermalization process is modeled using a thermal state as the joining state.
Including photon gain in the loss model would likely require a reduction in the assumed efficiency due to photon loss, since the same measured states must be ultimately matched.
The model we construct allows for a uniform photon number of the thermal bath, $\bar{n}$, as well as some weight with which the process acts.
Minimizing under this model to best match the measured states, we find an improvement in mean fidelity $<1\%$.
Again, the effect of photon gain alone cannot account for the infidelity of the transfer to a pure photon loss process.

\paragraph*{Octahedron loss trajectories}
The Bloch sphere representations of Fock and binomial encodings are shown in \figref2 and 3 of the main text.
There, we have used this model to produce a continuous ``trajectory'' of points on the Bloch sphere corresponding with the expected states given a prepared state subjected to an transfer protocol with variable loss ($\Psi(\eta)$).
Each trajectory represents the path that the prepared state would take if it were allowed to decay according to our photon loss model.

In the experiment, this loss potentially occurs throughout the transfer process, distributed spatially and temporally.
Values of $p_\text{loss}$ up to the measured efficiency are included there; the full span of $p_\text{loss} \in (0,1)$ are shown in \figref\ref{fig:bloch_fock_complete} and \figref\ref{fig:bloch_binomial_complete}.
In the Fock encoding, photon loss has the effect of reducing all cardinal states to $\ket{0}$ monotonically.
In the binomial encoding, photon loss reduces cardinal points towards the center of the Bloch sphere uniformly, because single-photon errors cause of portion of the state to leave the even-parity codespace.

\begin{figure}[htp]
    \center
    \includegraphics{bloch_fock_complete}
    \caption{ \label{fig:bloch_fock_complete}
    {\bf Fock encoding loss trajectories.}
    The prepared (red) and measured (orange) points correspond with six cardinal states in the single-photon encoding, and are connected to form an octahedron representative of the manifold.
    The green lines extending from each prepared-state point towards $\ket{0}$ are loss trajectories for varying transfer efficiency from $\eta=0$ to $\eta=1$.
    A three-dimensional perspective corresponding with \figref3B (upper right) as well as third-angle projections (centered on the $XZ$ plane) contain the same data.
    }
\end{figure}

For larger $\eta$, the cardinal points begin to turn towards the point $(0,0,0.5)$ on the Bloch sphere, since the $\ket{1}_{L} = \left(\ket{0}+\ket{4}\right)/\sqrt{2}$ state overlaps with the vacuum state and $\ket{0}_{L} = \ket{2}$ does not.
Note that our received states appear in the uniform-shrinkage regime, which corresponds to loss small enough that single photon loss errors dominate over higher-order effects.

\begin{figure}[htp]
    \center
    \includegraphics{bloch_binomial_complete}
    \caption{ \label{fig:bloch_binomial_complete}
    {\bf Binomial encoding loss trajectories.}
    The prepared (red) and measured (orange) points correspond with six cardinal states in the binomial encoding, and are connected to form an octahedron representative of the manifold.
    The green lines extending from each prepared-state point towards $(0,0,0.5)$ are loss trajectories for varying transfer efficiency from $\eta=0$ to $\eta=1$.
    A three-dimensional perspective corresponding with \figref4B (upper right) as well as third-angle projections (centered on the $XZ$ plane) contain the same data.
    }
\end{figure}

\paragraph*{In-software error correction}
The green line in \figref4C is calculated by applying the loss model described to the six cardinal states of the binomial encoding. 
The fidelity of the resulting (partially mixed) density matrices are compared to that of each original ideal state, and the average infidelity is reported. 
The gold line in \figref4C is then calculated from these density matrices by applying an error-correction procedure \cite{Michael2016}.

The error-correction procedure is implemented as follows: the density matrix for a given state is split into two components: the even and odd photon number parity subspaces.
A different correction unitary is applied to each subspace.
To correct for photon loss, the odd-parity subspace is corrected via the operation:
\begin{equation}
|1\rangle \rightarrow |2\rangle, \qquad |3\rangle \rightarrow \frac{1}{\sqrt{2}}\left(|0\rangle + |4\rangle\right)
\end{equation}
The correction in the even-parity subspace takes the form of a rotation that adjusts the relative weights of the $|0\rangle$ and $|4\rangle$ states:
\begin{equation}
\begin{aligned}
&|2\rangle \rightarrow |2\rangle,\\
&|0\rangle \rightarrow \cos\theta_\mathrm{c}|0\rangle + \sin\theta_\mathrm{c}|4\rangle,\\
&|4\rangle \rightarrow -\sin\theta_\mathrm{c}|0\rangle + \cos\theta_\mathrm{c}|4\rangle\\
\end{aligned}
\end{equation}
This is to account for the fact that the no-parity-jump event alters the relative probability amplitude of the state $\left(|0\rangle + |4\rangle\right)/\sqrt{2}$.
The two components of the density matrix are then recombined with their respective probabilities unchanged, resulting in a higher-purity corrected density matrix.
The optimum rotation angle $\theta_\mathrm{c}$ depends on the probability of loss.
For each value of the transfer inefficiency, we calculate the angle of rotation that minimizes the average infidelity over the manifold.
This average infidelity is reported in \figref4C.
This procedure is identical to the experimental implementation that will be needed to perform this correction in hardware: measure parity; apply one of two correction unitaries, conditioned on the result of the measurement; and perform unconditional tomography.

\paragraph*{Modifications to allow error correction}
Error-correction of the transfer cannot be performed effectively in the current experimental sample.
Because a single transmon simultaneously provides the functions of state preparation and cavity tomography as well as supplying the nonlinearity needed for the conversion process, it is not possible to optimize the hardware parameters for all of these essential features.
Most notably, a large conversion rate between each memory and output mode requires a large cross-Kerr $\chiab$.
However, this means that resonantly driving the output mode into a coherent state (as is done during transmon readout) dephases the cavity due to the dispersive shift combined with uncertainty in the occupation of the output mode \cite{Gambetta2006}.
Therefore, parity measurement without significant dephasing of the cavity is impossible in the current configuration.
As suggested in the main text, the addition of a dedicated, separate chip with ancilla transmon and readout mode, also with small cross-Kerr between readout and cavity, would allow for high-fidelity QND parity measurement \cite{Ofek2016}, while maintaining the ability to rapidly convert between memory and propagating modes.
This modular distribution of functionality may also allow modifications to the conversion side of the device to mitigate some of the non-idealities discussed above; for example, some nonlinear element other than a transmon can be used to facilitate conversion \cite{Flurin2015,Frattini2017}.

\section{Supplemental data}

\subsection{Transfer of states in the single-photon Fock basis}
See \figref\ref{fig:fock_expanded} for measured and reconstructed Wigner functions for all states prepared in the Fock encoding.

\begin{figure*}[tpb]
    \center
    \includegraphics{fock_expanded}
    \caption{\label{fig:fock_expanded}
    {\bf Full Fock manifold Wigner functions.}
    Six cardinal states in the Fock encoding.
    Left to right: $|{-}Z\rangle$, $|{+}Z\rangle$, $|{+}X\rangle$, $|{-}X\rangle$, $|{+}Y\rangle$, $|{-}Y\rangle$.
    Top to bottom: ideal, measured prepared, measured received, reconstructed received.
    All fidelities are computed using reconstructed density matrices.
    }
\end{figure*}

\subsection{Transfer of states in a bosonic code}
See \figref\ref{fig:binom_expanded} for measured and reconstructed Wigner functions for all states prepared in the Binomial encoding.

\begin{figure*}[tpb]
    \center
    \includegraphics{binom_expanded}
    \caption{ \label{fig:binom_expanded}
    {\bf Full Binomial manifold Wigner functions.}
    Six cardinal states in the Binomial encoding.
    Left to right: $|{-}Z\rangle$, $|{+}Z\rangle$, $|{+}X\rangle$, $|{-}X\rangle$, $|{+}Y\rangle$, $|{-}Y\rangle$.
    Top to bottom: ideal, measured prepared, measured received, reconstructed received, reconstructed received with Kerr correction.
    All fidelities are computed using reconstructed density matrices.
    }
\end{figure*}

\subsection{Process matrix}
\label{sec:choi}
The process matrix $\chi$ defines the mapping from the ideal state density matrix $\rho_i$ to the final, received density matrix $\rho_f$.
In this definition, $\rho_i$ is a two-dimensional logical qubit state in the manifold $\{|0\rangle_L, |1\rangle_L \}$, while $\rho_f$ is in the high-dimensional physical Hilbert space of the cavity: $\{|0\rangle, |1\rangle,... |d-1\rangle\}$.
For our purposes, we truncate this space at dimension $d=5$; for the Fock encoding, no significant population is found outside this space upon reconstruction.
The process matrix is then defined as the map from $2\times2$ logical density matrices to $d\times d$ physical density matrices.
The reconstructed process matrix $\chi_m$ is visualized in \figref\ref{fig:choi} and compared to the ideal process $\chi_i$ assuming only the measured loss $\eta=0.74$.
The process fidelity $\mathcal{F}_\mathrm{process}=\frac{1}{4}\text{Tr}(\sqrt{\sqrt{\chi_i} \chi_m \sqrt{\chi_i}})^2 =0.95$, implying very close agreement with our model of photon loss alone.
We believe the source of this $0.05$ infidelity also produces the $\sim 0.05$ average state infidelity (relative to what is expected from the measured inefficiency; as stated in the main text, $\mathcal{F}_\mathrm{avg} = 0.87 \pm 0.04$, while we expect $0.91$.)

\begin{figure*}[tpb]
    \center
    \includegraphics{choi}
    \caption{\label{fig:choi}
    {\bf Process matrix.}
    {\bf Top:} Reconstructed process matrix for state transfer in the Fock encoding.
    The subscript $L$ denotes the logical qubit space, while the kets with no subscript reside in the physical space of the cavity.
    {\bf Bottom:} Ideal process matrix assuming transmission loss of the measured $\eta=0.74$.
    }
\end{figure*}

%merlin.mbs apsrev4-1.bst 2010-07-25 4.21a (PWD, AO, DPC) hacked
%Control: key (0)
%Control: author (8) initials jnrlst
%Control: editor formatted (1) identically to author
%Control: production of article title (-1) disabled
%Control: page (0) single
%Control: year (1) truncated
%Control: production of eprint (0) enabled
\begin{thebibliography}{0}%
\makeatletter
\providecommand \@ifxundefined [1]{%
 \@ifx{#1\undefined}
}%
\providecommand \@ifnum [1]{%
 \ifnum #1\expandafter \@firstoftwo
 \else \expandafter \@secondoftwo
 \fi
}%
\providecommand \@ifx [1]{%
 \ifx #1\expandafter \@firstoftwo
 \else \expandafter \@secondoftwo
 \fi
}%
\providecommand \natexlab [1]{#1}%
\providecommand \enquote  [1]{``#1''}%
\providecommand \bibnamefont  [1]{#1}%
\providecommand \bibfnamefont [1]{#1}%
\providecommand \citenamefont [1]{#1}%
\providecommand \href@noop [0]{\@secondoftwo}%
\providecommand \href [0]{\begingroup \@sanitize@url \@href}%
\providecommand \@href[1]{\@@startlink{#1}\@@href}%
\providecommand \@@href[1]{\endgroup#1\@@endlink}%
\providecommand \@sanitize@url [0]{\catcode `\\12\catcode `\$12\catcode
  `\&12\catcode `\#12\catcode `\^12\catcode `\_12\catcode `\%12\relax}%
\providecommand \@@startlink[1]{}%
\providecommand \@@endlink[0]{}%
\providecommand \url  [0]{\begingroup\@sanitize@url \@url }%
\providecommand \@url [1]{\endgroup\@href {#1}{\urlprefix }}%
\providecommand \urlprefix  [0]{URL }%
\providecommand \Eprint [0]{\href }%
\providecommand \doibase [0]{http://dx.doi.org/}%
\providecommand \selectlanguage [0]{\@gobble}%
\providecommand \bibinfo  [0]{\@secondoftwo}%
\providecommand \bibfield  [0]{\@secondoftwo}%
\providecommand \translation [1]{[#1]}%
\providecommand \BibitemOpen [0]{}%
\providecommand \bibitemStop [0]{}%
\providecommand \bibitemNoStop [0]{.\EOS\space}%
\providecommand \EOS [0]{\spacefactor3000\relax}%
\providecommand \BibitemShut  [1]{\csname bibitem#1\endcsname}%
\let\auto@bib@innerbib\@empty
%</preamble>
\end{thebibliography}%

\begin{thebibliography}{10}

\bibitem{Kimble2008}
H.~J. Kimble, {\it Nature\/} {\bf 453}, 1023 (2008).

\bibitem{Jiang2007}
L.~Jiang, J.~M. Taylor, A.~S. S{\o}rensen, M.~D. Lukin, {\it Physical Review
  A\/} {\bf 76}, 062323 (2007).

\bibitem{Nickerson2013}
N.~H. Nickerson, Y.~Li, S.~C. Benjamin, {\it Nature Communications\/} {\bf 4},
  1756 (2013).

\bibitem{Monroe2014}
C.~Monroe, {\it et~al.\/}, {\it Physical Review A\/} {\bf 89}, 1 (2014).

\bibitem{Chou2005}
C.~W. Chou, {\it et~al.\/}, {\it Nature\/} {\bf 438}, 828 (2005).

\bibitem{Moehring2007}
D.~L. Moehring, {\it et~al.\/}, {\it Nature\/} {\bf 449}, 68 (2007).

\bibitem{Ritter2012}
S.~Ritter, {\it et~al.\/}, {\it Nature\/} {\bf 484}, 195 (2012).

\bibitem{Hofmann2012}
J.~Hofmann, {\it et~al.\/}, {\it Science\/} {\bf 337}, 72 (2012).

\bibitem{Bernien2013}
H.~Bernien, {\it et~al.\/}, {\it Nature\/} {\bf 497}, 86 (2013).

\bibitem{Roch2014}
N.~Roch, {\it et~al.\/}, {\it Physical Review Letters\/} {\bf 112}, 170501
  (2014).

\bibitem{Narla2016}
A.~Narla, {\it et~al.\/}, {\it Physical Review X\/} {\bf 6}, 031036 (2016).

\bibitem{Hucul2015}
D.~Hucul, {\it et~al.\/}, {\it Nature Physics\/} {\bf 11}, 37 (2015).

\bibitem{Olmschenk2009}
S.~Olmschenk, {\it et~al.\/}, {\it Science\/} {\bf 323}, 486 (2009).

\bibitem{Pfaff2014}
W.~Pfaff, {\it et~al.\/}, {\it Science\/} {\bf 345}, 532 (2014).

\bibitem{Cirac1997}
J.~I. Cirac, P.~Zoller, H.~J. Kimble, H.~Mabuchi, {\it Physical Review
  Letters\/} {\bf 78}, 3221 (1997).

\bibitem{Pechal2014}
M.~Pechal, {\it et~al.\/}, {\it Physical Review X\/} {\bf 4}, 041010 (2014).

\bibitem{Yin2013}
Y.~Yin, {\it et~al.\/}, {\it Physical Review Letters\/} {\bf 110}, 107001
  (2013).

\bibitem{Srinivasan2014}
S.~J. Srinivasan, {\it et~al.\/}, {\it Physical Review A\/} {\bf 89}, 033857
  (2014).

\bibitem{Pfaff2017}
W.~Pfaff, {\it et~al.\/}, {\it Nature Physics\/} {\bf 13}, 882 (2017).

\bibitem{Wenner2014}
J.~Wenner, {\it et~al.\/}, {\it Physical Review Letters\/} {\bf 112}, 210501
  (2014).

\bibitem{Flurin2015}
E.~Flurin, N.~Roch, J.~D. Pillet, F.~Mallet, B.~Huard, {\it Physical Review
  Letters\/} {\bf 114}, 090503 (2015).

\bibitem{Reed2017}
A.~P. Reed, {\it et~al.\/}, {\it Nature Physics\/} {\bf 13}, 1163 (2017).

\bibitem{Ibarcq2018}
{While this experiment was being performed, P. Campagne-Ibarcq et al. (in
  prep.) realized deterministic entangement between remote transmon qubits.}

\bibitem{Axline2016}
C.~Axline, {\it et~al.\/}, {\it Applied Physics Letters\/} {\bf 109}, 042601
  (2016).

\bibitem{Schuster2007}
D.~I. Schuster, {\it et~al.\/}, {\it Nature\/} {\bf 445}, 515 (2007).

\bibitem{Bishop2010}
L.~S. Bishop, E.~Ginossar, S.~M. Girvin, {\it Physical Review Letters\/} {\bf
  105}, 100505 (2010).

\bibitem{Sank2016}
D.~Sank, {\it et~al.\/}, {\it Physical Review Letters\/} {\bf 117}, 190503
  (2016).

\bibitem{Massar1995}
S.~Massar, S.~Popescu, {\it Physical Review Letters\/} {\bf 74}, 1259 (1995).

\bibitem{Ofek2016}
N.~Ofek, {\it et~al.\/}, {\it Nature\/} {\bf 536}, 441 (2016).

\bibitem{Michael2016}
M.~H. Michael, {\it et~al.\/}, {\it Physical Review X\/} {\bf 6}, 031006
  (2016).

\bibitem{Gottesman1999}
D.~Gottesman, I.~L. Chuang, {\it Nature\/} {\bf 402}, 390 (1999).

\bibitem{Bennett1996}
C.~H. Bennett, {\it et~al.\/}, {\it Physical Review Letters\/} {\bf 76}, 722
  (1996).

\bibitem{Deutsch1996}
D.~Deutsch, {\it et~al.\/}, {\it Physical Review Letters\/} {\bf 77}, 2818
  (1996).

\bibitem{Bergeal2010}
N.~Bergeal, {\it et~al.\/}, {\it Nature\/} {\bf 465}, 64 (2010).

\bibitem{Reagor2016}
M.~Reagor, {\it et~al.\/}, {\it Physical Review B\/} {\bf 94}, 014506 (2016).

\bibitem{Reed2010}
M.~D. Reed, {\it et~al.\/}, {\it Physical Review Letters\/} {\bf 105}, 173601
  (2010).

\bibitem{Heeres2017}
R.~W. Heeres, {\it et~al.\/}, {\it Nature Communications\/} {\bf 8}, 94 (2017).

\bibitem{Haroche2006}
S.~Haroche, J.-M. Raimond, {\it {Exploring the quantum: atoms, cavities and
  photons}\/} (Oxford University Press, 2006).

\bibitem{Sun2014}
L.~Sun, {\it et~al.\/}, {\it Nature\/} {\bf 511}, 444 (2014).

\bibitem{Plenio2006}
M.~B. Plenio, S.~Virmani, arXiv:quant-ph/0504163 (2006).

\bibitem{Horodecki2009}
R.~Horodecki, P.~Horodecki, M.~Horodecki, K.~Horodecki, {\it Reviews of Modern
  Physics\/} {\bf 81}, 865 (2009).

\bibitem{Plenio2005}
M.~B. Plenio, {\it Physical Review Letters\/} {\bf 95}, 090503 (2005).

\bibitem{Kirchmair2013}
G.~Kirchmair, {\it et~al.\/}, {\it Nature\/} {\bf 495}, 205 (2013).

\bibitem{Gambetta2006}
J.~Gambetta, {\it et~al.\/}, {\it Physical Review A\/} {\bf 74}, 042318 (2006).

\bibitem{Frattini2017}
N.~E. Frattini, {\it et~al.\/}, {\it Applied Physics Letters\/} {\bf 110},
  222603 (2017).

\end{thebibliography}