SaashaJoshi/piQture

MERA implementation has too many branches.

Closed this issue · 0 comments

The current MERA implementation has too many branches in a single function. This raises a pylint error (which is currently silenced). One option could be to divide the current mera function into multiple staticmethods.

https://github.com/SaashaJoshi/quantum-image-processing/blob/3bf42e11d09e2e0f82c5f68cb519b3225370b58c/quantum_image_processing/models/tensor_network_circuits/mera.py#L119-L128