Have you ever read Hamlet?

- Yes, I have. I have ever read Hamlet.

(Is this short dialogue grammatical? Would you check the last sentence? Is the last sentence right?)

Does the second sentence not seem a bit strange? Does it need the word "ever" ?

I don't think the second sentence is even needed. "Yes, I have" is all you need to answer that question.

The short dialogue is grammatically incorrect. The last sentence should be corrected to: "Yes, I have read Hamlet."

The short dialogue is not grammatically correct. Here's a corrected version:

Person 1: Have you ever read Hamlet?
Person 2: Yes, I have read Hamlet.

In the revised dialogue, the verb "read" is in the correct past tense form, indicating that the action happened in the past.