YGate.with_all_frozen_params
- YGate.with_all_frozen_params(params)
Freeze all of a gate’s parameters so they don’t change from optimization.
- Parameters:
params (list[float]) – The values to set and freeze all parameters to.
- Returns:
The gate with all parameters frozen.
- Return type:
FrozenParameterGate