Suppose we have the derived category $\mathcal{D}(A)$ of some algebra $A$ over some commutative ring $R$.
I would like an example of two objects $X,Y$ in $\mathcal{D}(A)$ such that for all $n \in \mathbb{Z}$, $H^n(X) \cong H^n(Y)$, but they are not isomorphic in $\mathcal{D}(A)$.
Though I am not sure such an example exists, the converse statement seems even more untrue to me.
Consider $A$, the algebra of dual numbers, or $A = k \oplus k[\epsilon]$, with $\epsilon^2 =0$. Then the following complexes have isomorphic homology, but there is no quasi-isomorphism between them, since $k$ as an $A$-module is isomorphic to the direct summand $k[\epsilon]$ of $A$. $$ 0 \xrightarrow{} A \xrightarrow{\cdot \epsilon} A \rightarrow 0 \rightarrow k \xrightarrow{0} k \rightarrow0 $$
$$ 0\rightarrow k \xrightarrow{0} k\rightarrow 0\rightarrow A \xrightarrow{\cdot \epsilon} A \rightarrow0 $$
However I am not sure how to prove that there is no zigzag of quasi-isomorphisms connecting the two.