Optical quantum computers are gaining attention as a next-generation computing technology with high speed and scalability. However, accurately characterizing complex optical processes, where multiple optical modes interact to generate quantum entanglement, has been considered an extremely challenging task.