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
176 stars 38 forks source link

Euler angle single qubit layers, for benchmarks #814

Closed WrathfulSpatula closed 3 years ago

WrathfulSpatula commented 3 years ago

It takes 3 layers of single qubit gates, in the affected benchmarks, to produce a general single qubit unitary gate. Instead, we treat the single bit layers as potential Euler angle compositions. This is more expensive, but it's likely more representative of a useful use case, such as for general matrix multiplication with a QC.

WrathfulSpatula commented 3 years ago

2 and 3 qubit gates are basically single Euler axis, and not continuous like for some of these single bit layers. It would be expedient to have 3 single qubit Euler angles, but perhaps this is out of proportion. In any case, I'm reconsidering.