Register a built-in optimizer adapter under a public method name.
Adapter modules call this decorator at import time. The registered name is
the value accepted by CalibrationConfig.method and build_optimizer.
- Parameters:
name (str)
- Return type:
Callable[[type], type]