Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ gate
Method
gate
dlib/quantum_computing/quantum_computing.h:445–445 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
443
{
444
public:
445
gate() : gate_exp<gate>(*this) { set_all_elements(data,0); }
446
gate(const gate& g) :gate_exp<gate>(*this), data(g.data) {}
447
448
template <typename T>
Callers
nothing calls this directly
Calls
2
set_all_elements
Function · 0.85
data
Class · 0.50
Tested by
no test coverage detected