def METHOD_NAME(self):
    """Test the ``post_processing`` method."""
    num_state_qubits = 2
    slope = 1
    offset = -2
    domain = (0, 2)
    image = (-2, 0)
    rescaling_factor = 0.1
    circuit = LinearAmplitudeFunction(
        num_state_qubits, slope, offset, domain, image, rescaling_factor
    )
    values = [0, 0.2, 0.5, 0.9, 1]
    def reference_post_processing(x):
        x = 2 / np.pi / rescaling_factor * (x - 0.5) + 0.5
        return image[0] + (image[1] - image[0]) * x
    expected = [reference_post_processing(value) for value in values]
    actual = [circuit.post_processing(value) for value in values]
    self.assertListEqual(expected, actual)