CNOTGate.get_inverse_params
- CNOTGate.get_inverse_params(params=[])
Return the parameters that invert the gate.
- Parameters:
params (
Sequence[float] |float64|float32) – The parameters of the gate to invert.- Return type:
Sequence[float] |float64|float32
Note
The default implementation returns the same paramters because the default implementation of Gate.get_inverse returns a
DaggerGatewrapper 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.