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

Function z

dlib/quantum_computing/quantum_computing.h:660–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

658 // ------------------------------------------------------------------------------------
659
660 inline const gate<1> z(
661 )
662 {
663 gate<1> z;
664 z(0,0) = 1;
665 z(1,1) = -1;
666 return z;
667 }
668
669 // ------------------------------------------------------------------------------------
670

Callers 15

fit_quadratic_to_pointsFunction · 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

Calls

no outgoing calls

Tested by

no test coverage detected