|View source on GitHub|
Module functions for tfq.differentiators.*
class Adjoint: Differentiate a circuit with respect to its inputs by adjoint method.
class CentralDifference: Differentiates a circuit using Central Differencing.
class Differentiator: Interface that defines how to specify gradients for a quantum circuit.
class ForwardDifference: Differentiate a circuit using forward differencing.
class LinearCombination: Differentiate a circuit with respect to its inputs by linearly combining values obtained by evaluating the op using parameter values perturbed about their forward-pass values.
class ParameterShift: Calculate the general version of parameter-shift rule based gradients.