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

Function x

dlib/quantum_computing/quantum_computing.h:637–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635 // ------------------------------------------------------------------------------------
636
637 inline const gate<1> x(
638 )
639 {
640 gate<1> x;
641 x(0,1) = 1;
642 x(1,0) = 1;
643 return x;
644 }
645
646 // ------------------------------------------------------------------------------------
647

Callers 15

addMethod · 0.85
train_pca_implMethod · 0.85
find_max_globalFunction · 0.85
vectorMethod · 0.85
vector<T,3>Class · 0.85
lengthMethod · 0.85
length_squaredMethod · 0.85
normalizeMethod · 0.85
dotMethod · 0.85
crossMethod · 0.85
operator -Method · 0.85
operator /Method · 0.85

Calls

no outgoing calls

Tested by 15

test_find_max_globalFunction · 0.68
test_find_min_globalFunction · 0.68
dense_to_sparseMethod · 0.68
matrix_test2Function · 0.68
perform_testMethod · 0.68
apqFunction · 0.68
der_apqFunction · 0.68
rosenFunction · 0.68