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

Function y

dlib/quantum_computing/quantum_computing.h:648–656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

646 // ------------------------------------------------------------------------------------
647
648 inline const gate<1> y(
649 )
650 {
651 gate<1> x;
652 qc_scalar_type i(0,1);
653 x(0,1) = -i;
654 x(1,0) = i;
655 return x;
656 }
657
658 // ------------------------------------------------------------------------------------
659

Callers 15

addMethod · 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
operator==Method · 0.85
swapMethod · 0.85

Calls 1

xFunction · 0.85

Tested by 4

get_featuresMethod · 0.68
get_featuresMethod · 0.68
get_featuresMethod · 0.68
matrix_test2Function · 0.68