RZGate.with_all_frozen_params
- RZGate.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: