MCPcopy Create free account
hub / github.com/davisking/dlib / zero_all_bits

Method zero_all_bits

dlib/quantum_computing/quantum_computing.h:85–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 }
84
85 void zero_all_bits()
86 {
87 set_all_elements(state,0);
88 state(0) = 1;
89 }
90
91 void append (
92 const quantum_register& reg

Callers

nothing calls this directly

Calls 2

set_all_elementsFunction · 0.85
stateClass · 0.85

Tested by

no test coverage detected