I am wondering if Qiskit QasmSimulator adds noise by default or not. I am asking because I have 2 circuits:
- circuit 1: computes cosine similarity between two vectors
- circuit 2: computes cosine similarity between one vector and N other vectors (so the output is N cosine similarities).
So circuit 2 does have a larger number of gates than circuit 1. And theoretically, they should return the same cosine similarity values when we run both with high number of shots. However, circuit 1 is more accurate and I do not know why (I am sure that the circuits are implemented correctly and theoretically correct).
I am suspecting that this is because circuit 2 has larger number of gates than circuit 1 which will make its results contains noise, butI am running them on Qasm Simulator, without adding any noise models, which means that there is no noise to affect the larger circuit.
Any ideas why this is happening? does qiskit qasm simulator add noise by default for larger number of gates in the circuit?