We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 937086b commit 947bba7Copy full SHA for 947bba7
src/circuit.cpp
@@ -417,7 +417,7 @@ void cleanup(void* data) noexcept {
417
}
418
419
420
-std::pair<Arrays, Arrays> Circuit::tensorize() {
+std::pair<Arrays, Arrays> Circuit::get_indices() {
421
remove_unused_nodes();
422
add_root_layer();
423
//print_circuit(); // Helpful for debugging small circuits
src/circuit.h
@@ -166,9 +166,7 @@ class Circuit {
166
*/
167
void remove_unused_nodes();
168
169
- inline std::pair<Arrays, Arrays> get_indices() { return tensorize(); }
170
-
171
- std::pair<Arrays, Arrays> tensorize();
+ std::pair<Arrays, Arrays> get_indices();
172
173
/**
174
* Number of nodes in the whole circuit.
0 commit comments