Interpolate rotation between objects

hi, i try to interpolate the rotation of multiple objects inbetween Object A and Object B.
but at this moment i stuck totaly. maybe someone has a help for me

if object B is rotated for example by 90 degrees , the other instances between A and B should be adapted to the rotation.

Thanks Regards Simon