QPong / QPong-Unity

QPong rewritten in Unity
26 stars 6 forks source link

Communication between Unity and Qiskit is too slow #20

Closed HuangJunye closed 5 years ago

HuangJunye commented 5 years ago

The time it takes to send gate array, generate quantum circuit in python server and return state vector is too long. It affects the gameplay experience. What can we do to reduce the lag?

HuangJunye commented 5 years ago

Find out the cause of lag. Is it because the length of gate array strings? Check if the lag is reduced when gate depth is reduced to 3 (we will use 3x3 circuit only).

boland25 commented 5 years ago

Is the lag on the communication between unity and api? Or is it in the processing of the circuit in the simulator?

HuangJunye commented 5 years ago

I am not 100% sure. I played the python version two days ago and it felt much smoother. So the lag is not likely on the processing of the circuit.

HuangJunye commented 5 years ago

The lag is not very noticeable any more.