Closed knodelgino closed 2 years ago
@GroenteLepel do you mind having a look at this?
Sorry for the delay and thanks for the reminder. It is approved!
From the fidelity calculation in the tests something went wrong with this adjustment. Either the tests need to be adjusted so that they comply with this change, or something further down the line must be adjusted to work with this change.
Related to: https://github.com/GroenteLepel/qiskit-quantum-knn/issues/11
When mapping back the computational state to an index, we need to flip the order, since Qiskit uses a somewhat unconvential reverse ordering of tensor product states.
From their documentation: