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

Method append

dlib/quantum_computing/quantum_computing.h:91–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 }
90
91 void append (
92 const quantum_register& reg
93 )
94 {
95 num_bits_in_register += reg.num_bits_in_register;
96 state = tensor_product(state, reg.state);
97 }
98
99 template <typename rand_type>
100 bool measure_bit (

Callers

nothing calls this directly

Calls 1

tensor_productFunction · 0.85

Tested by

no test coverage detected