pygsti.objects.optimize_gate¶
-
pygsti.objects.
optimize_gate
(gateToOptimize, targetGate)¶ - Optimize the parameters of gateToOptimize so that the
- the resulting gate matrix is as close as possible to targetGate’s matrix.
- This is trivial for the case of FullyParameterizedGate
- instances, but for other types of parameterization this involves an iterative optimization over all the parameters of gateToOptimize.
Parameters: Returns: Return type: None