Closed Strilanc closed 4 months ago
stim.CompiledDetectorSampler.sample_write
pathlib.Path
"~Hyz"
std::string_view
const std::string &
const char *
std::string
std::map<std::string, *>
std::map<std::string_view, *>
find_enum_argument
GateTarget::from_target_str
gate_target.h
read_single_target
stim::print_circuit
stim::Circuit
stim::DetectorErrorModel
stim::Gate::name
_c_str
.data()
.c_str()
SubCommandHelp::flag_set()
stim.CompiledDetectorSampler.sample_write
not supportingpathlib.Path
paths"~Hyz"
not being included in exported quirk URLs when the gate was only used in a decompositionstd::string_view
to reduce copiesconst std::string &
andconst char *
now takestd::string_view
, saving a copystd::string
now cast tostd::string_view
, saving a copyconst std::string &
arguments withstd::string_view
argumentsstd::map<std::string, *>
tostd::map<std::string_view, *>
find_enum_argument
GateTarget::from_target_str
togate_target.h
by moving several templated methods likeread_single_target
into that headerstim::print_circuit
from taking a string indent to a counted indentstim::Circuit
andstim::DetectorErrorModel
having implicit conversions from stringsstim::Gate::name
fromconst char *
tostd::string_view
(and changed all the name hashing methods to work on string views)_c_str
annotation to null-terminated string variables in most cases.data()
to.c_str()
when needing a null terminated string in most casesSubCommandHelp::flag_set()