YGate.get_inverse_params
- YGate.get_inverse_params(params=[])
Return the parameters that invert the gate.
- Parameters:
params (
RealVector
) – The parameters of the gate to invert.
Note
The default implementation returns the same paramters because the default implementation of Gate.get_inverse returns a
DaggerGate
wrapper of the gate. The wrapper will correctly handle the inversion. When overriding get_inverse, on a parameterized gate this method should be overridden as well.