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
Good day,
I'm attempting to tackle the QAOA problem on a sparse graph. The code performs effectively when applied to smaller graphs with N=80 nodes. However, when dealing with a larger graph containing 600 nodes and 1800 edges, I encountered the following error. Can anyone provide assistance in resolving this problem?
Traceback (most recent call last):
File /test.py", line 202, in <mod$
circ_ex = qtn.circ_qaoa(terms, p, gammas, betas)
File "/test.py", line 122, in circ$
circ.apply_gates(gates)
File /ENVquimb/lib/python3.9/site-packages/quimb/tensor/circuit$
self.apply_gate(*gate)
File /ENVquimb/lib/python3.9/site-packages/quimb/tensor/circuit$
self.apply_gate(gate, **gate_opts)
File /ENVquimb/lib/python3.9/site-packages/quimb/tensor/circuit$
self.psi.gate(gate.array, gate.qubits, tags=tags, **opts)
File "/ ENVquimb/lib/python3.9/site-packages/quimb/tensor/tensor$
tn.gate_inds_(
File /ENVquimb/lib/python3.9/site-packages/quimb/tensor/tensor_$
dims = [tn.ind_size(ix) for ix in inds]
File "/ENVquimb/lib/python3.9/site-packages/quimb/tensor/tensor_$
dims = [tn.ind_size(ix) for ix in inds]
File /ENVquimb/lib/python3.9/site-packages/quimb/tensor/tensor_$
tid = next(iter(self.ind_map[ind]))
KeyError: 'k100'
The text was updated successfully, but these errors were encountered:
What is your issue?
Good day,
I'm attempting to tackle the QAOA problem on a sparse graph. The code performs effectively when applied to smaller graphs with N=80 nodes. However, when dealing with a larger graph containing 600 nodes and 1800 edges, I encountered the following error. Can anyone provide assistance in resolving this problem?
Traceback (most recent call last):
File /test.py", line 202, in <mod$
circ_ex = qtn.circ_qaoa(terms, p, gammas, betas)
File "/test.py", line 122, in circ$
circ.apply_gates(gates)
File /ENVquimb/lib/python3.9/site-packages/quimb/tensor/circuit$
self.apply_gate(*gate)
File /ENVquimb/lib/python3.9/site-packages/quimb/tensor/circuit$
self.apply_gate(gate, **gate_opts)
File /ENVquimb/lib/python3.9/site-packages/quimb/tensor/circuit$
self.psi.gate(gate.array, gate.qubits, tags=tags, **opts)
File "/ ENVquimb/lib/python3.9/site-packages/quimb/tensor/tensor$
tn.gate_inds_(
File /ENVquimb/lib/python3.9/site-packages/quimb/tensor/tensor_$
dims = [tn.ind_size(ix) for ix in inds]
File "/ENVquimb/lib/python3.9/site-packages/quimb/tensor/tensor_$
dims = [tn.ind_size(ix) for ix in inds]
File /ENVquimb/lib/python3.9/site-packages/quimb/tensor/tensor_$
tid = next(iter(self.ind_map[ind]))
KeyError: 'k100'
The text was updated successfully, but these errors were encountered: