Quandary
Loading...
Searching...
No Matches
Public Attributes | List of all members
OptimTargetSettings Struct Reference

Settings for optimization targets with defaults. More...

#include <config_defaults.hpp>

Public Attributes

TargetType type = ConfigDefaults::OPTIM_TARGET
 Type of optimization target.
 
std::optional< GateTypegate_type = std::nullopt
 For GATE: Type of the gate.
 
std::optional< std::vector< double > > gate_rot_freq = std::nullopt
 For GATE: Gate rotation frequencies for each oscillator.
 
std::optional< std::vector< size_t > > levels = std::nullopt
 For STATE: Level occupations for each oscillator.
 
std::optional< std::string > filename = std::nullopt
 For GATE or STATE: File path to target gate or state.
 

Detailed Description

Settings for optimization targets with defaults.

Member Data Documentation

◆ filename

std::optional<std::string> OptimTargetSettings::filename = std::nullopt

For GATE or STATE: File path to target gate or state.

◆ gate_rot_freq

std::optional<std::vector<double> > OptimTargetSettings::gate_rot_freq = std::nullopt

For GATE: Gate rotation frequencies for each oscillator.

◆ gate_type

std::optional<GateType> OptimTargetSettings::gate_type = std::nullopt

For GATE: Type of the gate.

◆ levels

std::optional<std::vector<size_t> > OptimTargetSettings::levels = std::nullopt

For STATE: Level occupations for each oscillator.

◆ type

TargetType OptimTargetSettings::type = ConfigDefaults::OPTIM_TARGET

Type of optimization target.


The documentation for this struct was generated from the following file: