You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have written a simple code snippet that utilizes 40 qubits, as shown below. However, I am encountering an error when trying to run it on a server with 128 GB of RAM.
Could this issue be related to memory space, or is there another underlying problem causing the code to fail?
def Simple_function(eng):
k0 = eng.allocate_qureg(8)
k1 = eng.allocate_qureg(8)
x = eng.allocate_qureg(8) # high
y = eng.allocate_qureg(8) # low
z = eng.allocate_qureg(8)
eng = projectq.MainEngine(backend=Simulator(gate_fusion=True), engine_list=[])
Simple_function(eng)
The text was updated successfully, but these errors were encountered:
In regards to #480: Simulator vs ClassicalSimulator
As Grover contains quantum operations, the Simulator is required. For only debugging a classical Grover oracle (without the quantum parts), the ClassicalSimulator is sufficient.
Hi everyone,
I have written a simple code snippet that utilizes 40 qubits, as shown below. However, I am encountering an error when trying to run it on a server with 128 GB of RAM.
Could this issue be related to memory space, or is there another underlying problem causing the code to fail?
The text was updated successfully, but these errors were encountered: