class QPanda::SimpleGridDevice
Overview
A derived class of BasicGridDevice The two qubits are adjacent when their Manhattan distance is 1. More...
Inherited Members
Detailed Documentation
A derived class of BasicGridDevice The two qubits are adjacent when their Manhattan distance is 1.
Methods
Check if two qubits are adjacent, location of qubits are (i1, j1) and (i2, j2)
get distance+1 of two qubits