The invention discloses a financial
community identification method, device, equipment and program product, and the method comprises the steps: obtaining
transaction data, constructing a transaction network diagram based on the
transaction data, determining an adjacent matrix of the transaction network diagram to obtain a
quantum state code, carrying out the
Gaussian glass color sampling of the
quantum state code based on a
time domain multiplexing photon quantum circuit, and obtaining a
quantum state code; the sub-graph forming probability corresponding to each node in the transaction network graph is obtained, and the
time domain multiplexing photon quantum circuit comprises a space interferometer layer and a time
delay circulation layer. And determining the financial
community based on the probability of each node. In the invention, the space interferometer layer can expand the number of effective optical
modes, and a large number of
beam splitters and phase modulators are not needed, so that the
hardware complexity is reduced. Through the time
delay cycle layer,
all optical modes are detected, the number of detectors is reduced, and the hardware cost is reduced. Based on the parallelism of quantum sampling, the
time complexity of financial
community identification is reduced, and the real-time performance is ensured.