Open astralcai opened 1 year ago
Hi @astralcai,
Thanks for brining this up! This part of the code base could definitely use some clean up. Just to clarify, there wasn't anything actually breaking because of this, correct? We will for sure address this, but I just want to make sure it gets classified correctly. It seems that the chore
label might be a better fit in this case. Let me know what you think!
Thanks,
Hi @Jaybsoni
You are right, this doesn't break anything, so technically not a bug.
Expected behavior
qnode
transforms should be placed in thetests/qinfo
directory, and tests for measurement processes should be placed in thetests/measurements
directoryActual behavior
tests/math/test_entropies_math.py
contains tests forpurity
,vn_entropy
,mutual_information
andrelative_entropy
, all in one file.tests/measurements/test_mutual_info.py
should only contain tests for the mutual info measurement, but in fact, theTestIntegration
class contains test cases such astest_qnode_state
that is in fact testing theqnode
transform.Additional information
No response
Source code
No response
Tracebacks
No response
System information
Existing GitHub issues