How is the square matrix $\langle a''|A|a'\rangle=\langle a'|A|a'\rangle\delta_{a'a''}$
Could it be that we apply the closure property to it like
$\langle a''|A|a'\rangle=\sum_{a'}\langle a''|A|a'\rangle|a'\rangle\langle a'|=\sum_{a'}\langle a''|a'\rangle A\langle a'|a'\rangle=\langle a'|A|a'\rangle\delta_{a'a''}$
Is it even a correct method. Please help.