Comparing persistence diagrams through complex vectors