def METHOD_NAME(self):
    """
    Testing the exact solution which is a property of every backend.
    """
    n_qubits = 8
    register = range(n_qubits)
    p = 1
    correct_energy = -8
    correct_config = [0, 1, 0, 1, 0, 1, 0, 1]
    # The tests pass regardless of the value of betas and gammas is this correct?
    betas = [np.pi / 8]
    gammas = [np.pi / 4]
    cost_hamiltonian = ring_of_disagrees(register)
    mixer_hamiltonian = X_mixer_hamiltonian(n_qubits)
    qaoa_descriptor = QAOADescriptor(cost_hamiltonian, mixer_hamiltonian, p)
    variational_params_std = QAOAVariationalStandardParams(
        qaoa_descriptor, betas, gammas
    )
    backend_analytical = QAOABackendAnalyticalSimulator(qaoa_descriptor)
    # exact solution is defined as the property of the cost function
    energy_vec, config_vec = backend_analytical.exact_solution
    assert np.isclose(energy_vec, correct_energy)
    config_vec = [config.tolist() for config in config_vec]
    assert correct_config in config_vec