USAGE: qdyn_prop_gate [OPTIONS] RUNFOLDER
This program is part of QDYN.
Look for CONFIGFILE inside RUNFOLDER (or file "config" if no CONFIGFILE
is given). Initialize a system (dynamical generator, pulses, grid) from
the CONFIGFILE (using the default, empty label). Propagate a full basis
in Hilbert space (possibly over multiple MCWF trajectories) or Liouville
space. The basis specified by the mandatory --basis option). If
--write-gate is given, write out the resulting gate. If --gate is given,
evaluate the average gate fidelity of the resulting gate with respect to
the gate in GATE_FILE.
OPTIONS
-h, --help Print this help message and exit.
-v, --version Print version information and exit
--config=CONFIGFILE Name of the config file inside RUNFOLDER. Defaults
to "config"
--debug Write para.debug, grid.debug, gen.debug,
and targets.debug, containing ASCII dumps of the
config file data, the spatial grid, the (first)
dynamical generator, and the optimization targets.
The files are written in the RUNFOLDER.
--internal-units=UNITS_FILE
Specify a file containing conversion factors
between internal units and physical units. See
"Notes on the Units Systems" in the QDYN
documentation for details. The file must be located
in the current working directory, in the directory
specified by the QDYN_UNITS environment variable,
or the QDYN installation directory.
--basis=BASIS_LABELS
A comma-separated list of labels for states in the
config file that define the basis to propagate
(i.e., the basis for the gate). This option must be
given.
--gate=GATE_FILE Name of file from which a target gate is read. If
present, the average gate fidelity with respect to
the target gate will be printed at the end of the
propagation. The file must contain two columns
(real and imaginary part) and given the vectorized
gate matrix in column-major mode.
--use-oct-pulses For every pulse that defines an "oct_outfile" in
the config file, if that file exists, use it to
load the data for the pulse, instead of the
"normal" initialization. This allows to propagate
the pulses resulting from an optimization, instead
of the guess pulses.
--write-gate=GATE_OUT_FILE
Write out the gate implemented by the pulses at
each point in time. The resulting GATE_OUT_FILE
will contain the time in the first column, and then
the real part and imaginary part for each entry of
the n x n gate (vectorized column-major mode).
E.g. for a two-qubit gates, GATE_OUT_FILE will
contain a total of 33 columns (time, and real and
imaginary part of all 16 entries in the gate)
--time-unit=UNIT Physical unit for time column in GATE_OUT_FILE
--rwa-vector=RWA_VECTORFILE
If the Hamiltonian and the pulses are set up in a
rotating frame, but the targets (e.g. the desired
quantum gate) are defined in the lab frame, the
--rwa-vector option specifies a file containing
a vector (the diagonal entries of the RWA
transformation matrix) that defines the conversion
between the rotating frame and the lab frame. The
average gate fidelity (--gate option), and the
gates over time (--write-gate options) will be
calculated in the lab frame.
--rho Perform the propagation in Liouville space.
--n-trajs=N Number of MCWF trajectories to propagate. This
increases the number of propagated states by a
factor of N
--seed=SEED Seed for the random number generator if using MCWF
trajectories
NOTES
Most options may also be set in the config file as use-defined values.
The corresponding keyname replaces dashes with underscores. That is,
instead of specifying "--n-trajs=100" as a command line option, the
value "n_trajs = 100" may be added to the "user_strings" section of the
CONFIGFILE. Any filenames in this case ase are relative to the
CONFIGFILE, not the current working directory.