pub fn register_gate(gate: Box<dyn Gate>)
Registers a gate definition to resolve a gate name to a gate implementation.