unitaryfund / qrack

Comprehensive, GPU accelerated framework for developing universal virtual quantum processors
https://qrack.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
177 stars 38 forks source link

Nearest-neighbor benchmark with random 2/3 qubit gate selection #777

Closed WrathfulSpatula closed 3 years ago

WrathfulSpatula commented 3 years ago

test_stabilizer_t_nn (universal nearest-neighbor) is a good test, but QUnit might perform even better with the option of 3 qubit gates. This benchmark tries to pack random selections between 2 and 3 qubit gates as tightly as possible. For simplicity, all three qubit gates are "straight lines" on the virtual chip, as opposed to potentially at right angles from the center bit.