Presentation is loading. Please wait.

Presentation is loading. Please wait.

Qubit Placement to Minimize Communication Overhead in 2D Quantum Architectures Alireza Shafaei, Mehdi Saeedi, Massoud Pedram Department of Electrical Engineering.

Similar presentations


Presentation on theme: "Qubit Placement to Minimize Communication Overhead in 2D Quantum Architectures Alireza Shafaei, Mehdi Saeedi, Massoud Pedram Department of Electrical Engineering."— Presentation transcript:

1 Qubit Placement to Minimize Communication Overhead in 2D Quantum Architectures Alireza Shafaei, Mehdi Saeedi, Massoud Pedram Department of Electrical Engineering University of Southern California Supported by the IARPA Quantum Computer Science Program http://atrak.usc.edu/

2 Outline 2  Introduction  Quantum Computing Technologies  Geometric Constraints  Nearest Neighbor Architectures  Proposed Solution  MIP-based Qubit Placement  Force-directed Qubit Placement  Results  Conclusion

3 Quantum Computing 3  Motivation: Faster Algorithms  Shor’s factoring algorithm (Superpolynomial)  Grover’s search algorithm (Polynomial)  Quantum walk on binary welded trees (Superpolynomial)  Pell's equation (Superpolynomial)  Formula evaluation (Polynomial)  Representation Quantum Algorithm Quantum Circuit Physical Realization (PMD) PMD: Physical Machine Description http://math.nist.gov/quantum/zoo/

4 Quantum Circuits 4  Qubits  Data is carried by quantum bits or qubits  Physical objects are ions, photons, etc.  Quantum Gates  Single-qubit: H (Hadamard), X (NOT)  Two-qubit: CNOT (Controlled NOT), SWAP  Quantum Circuit HX q0q0 q1q1 q1q1 q0q0 q0q0 q1q1 q0q0 q0q0 q1q1 q2q2 X q3q3

5 Quantum PMDs 5  Move-based PMDs  Explicit move instruction  There are routing channels for qubit routing  Examples: Ion-Trap, Photonics, Neutral Atoms  SWAP-based PMDs  No move instruction  There are no routing channels  Qubit routing via SWAP gate insertion  Examples: Quantum Dot, Superconducting  Focus of this presentation is on SWAP-based PMDs

6 Geometric Constraints 6  Limited Interaction Distance  Adjacent qubits can be involved in a two-qubit gate  Nearest neighbor architectures  Route distant qubits to make them adjacent  Move-based: MOVE instruction  SWAP-based: insert SWAP gates 23 1 1 1342 2 11 3 4

7 SWAP-based PMDs 7  SWAP insertion  Objective  Ensure that all two-qubit gates perform local operations (on adjacent qubits)  Side effects  More gates, and hence more area  Higher logic depth, and thus higher latency and higher error rate  Minimize the number of SWAP gates by placing frequently interacting qubits as close as possible on the fabric  This paper: MIP-based qubit placement  Future work: Force-directed qubit placement (a more scalable solution) MIP: Mixed Integer Programming

8 Example on Quantum Dot 8  Simple qubit placement: place qubits considering only their immediate interactions and ignoring their future interactions q0q0 q1q1 q2q2 X q3q3 q4q4 CNOT X Two SWAP gates

9 Example on Quantum Dot (cont’d) 9  Improved qubit placement: place qubits by considering their future interactions q0q0 q1q1 q2q2 X q3q3 q4q4 CNOT X No SWAP gate

10 Qubit Placement 10  Assign each qubit to a location on the 2D grid such that frequently interacting qubits are placed close to one another (1)(1)

11 Kaufmann and Broeckx’s Linearization 11 R. E. Burkard, E. ela, P. M. Pardalos, and L. S. Pitsoulis. The Quadratic Assignment Problem. Handbook of Combinatorial Optimization, Kluwer Academic Publishers, pp. 241-338, 1998. (2)(2)

12 MIP Optimization Framework 12  GUROBI Optimizer 5.5 (http://www.gurobi.com)http://www.gurobi.com  Commercial solver with parallel algorithms for large-scale linear, quadratic, and mixed-integer programs (free for academic use)  Uses linear-programming relaxation techniques along with other heuristics in order to quickly solve large-scale MIP problems  Qubit placement (the MIP formulation) does not guarantee that all two-qubit gates become localized; Instead, it ensures the placement of qubits such that the frequently interact qubits are as close as possible to one another  SWAP insertion

13 SWAP Insertion 13 7 7 2 2 9 9 3 3 1 1 6 6 4 4 5 5 8 8 CNOT 1, 2 CNOT 5, 8 CNOT 3, 7 CNOT 2, 4 CNOT 6, 8 CNOT 1, 3 CNOT 2, 6 3 3 7 7 9 9 2 2 1 1 6 6 4 4 5 5 8 8 CNOT 1, 2 CNOT 5, 8 CNOT 3, 7 SWAP 2, 7 SWAP 2, 3 CNOT 2, 4 CNOT 6, 8 CNOT 1, 3 CNOT 2, 6 3 3 7 7 9 9 1 1 2 2 6 6 4 4 5 5 8 8 CNOT 1, 2 CNOT 5, 8 CNOT 3, 7 SWAP 2, 7 SWAP 2, 3 CNOT 2, 4 CNOT 6, 8 SWAP 1, 2 CNOT 1, 3 CNOT 2, 6 PQRE for Quantum Dot PMD

14 Solution Improvement (1) 14

15 Solution Improvement (2) 15

16 Improved Qubit Placement 16 (3)(3) Intra-set communication distance Inter-set communication distance

17 Force-directed Qubit Placement 17

18 Results (1) 18 # of qubits# of gatesGrid Size#SWAPs Imp. (%) Ref. 3_173132x264-50[1] 4_494302x21312-8[1] 4gt105363x21620 [1] 4gt11572x321-100[1] 4gt125523x2193546[1] 4gt135163x32667[1] 4gt45432x3173450[1] 4gt55223x381233[1] 4mod55242x3119-22[1] 4mod75403x3132138[1] aj-e114592x3243633[1] alu5312x3101844[1] decod24492x2330[1] ham77873x3486829[1] hwb44233x3910 [1] hwb551063x2456329[1] hwb661462x37911833[1] hwb7726593x31688222824[1] hwb88166083x3110271436123[1] hwb99204054x3150222116629[1] mod5adder6813x2415120[1] mod8-1051083x3457238[1] rd32482x3220[1] rd537785x2396641[1] rd7310764x4375634[1] Our Method Best 1 D

19 Results (2) 19 # of qubits# of gatesGrid Size#SWAPs Imp. (%) Ref. sym9 1044524x42363341531[1] sys6 10624x4315947[1] urf1 9577703x3385554407213[1] urf2 8251502x416822176705[1] urf5 9513803x3344063930912[1] QFT5 5103x25617[1] QFT6 6152x361250[1] QFT7 7215x2182631[1] QFT8 8284x2183345[1] QFT9 9363x3345437[1] QFT10 10455x3537024[1] cnt3-5 161253x66912746[2] cycle10_2 1212123x4839230464[2] ham15 154585x332871554[2] plus127mod8192 13654555x45359815179465[2] plus63mod4096 12290195x3221186155664[2] plus63mod8192 13371015x3298358249264[2] rd84 151125x35414864[2] urf3 101323404x39401715467239[2] urf6 15537005x3439098890051[2] Shor3 1020764x3171018166[3] Shor4 1250023x6426443394[3] Shor5 14102655x484561076021[3] Shor6 16188854x620386207782[3] On average27 Our Method Best 1 D

20 Results (3) 20 Improvement over best 1D solution

21 Conclusion 21  Qubit placement methods for 2D quantum architectures  Directly applicable to Quantum Dot PMD  27% improvement over best 1D results  Future work: force-directed qubit placement  Better results by considering both intra- and inter-set SWAP gates in the optimization problem

22 References 22 [1] A. Shafaei, M. Saeedi, and M. Pedram, “Optimization of quantum circuits for interaction distance in linear nearest neighbor architectures,” Design Automation Conference (DAC), 2013. [2] M. Saeedi, R. Wille, R. Drechsler, “Synthesis of quantum circuits for linear nearest neighbor architectures,” Quantum Information Processing, 10(3):355– 377, 2011. [3] Y. Hirata, M. Nakanishi, S. Yamashita, Y. Nakashima, “An efficient conversion of quantum circuits to a linear nearest neighbor architecture,” Quantum Information & Computation, 11(1–2):0142–0166, 2011.

23 23 Thank you!


Download ppt "Qubit Placement to Minimize Communication Overhead in 2D Quantum Architectures Alireza Shafaei, Mehdi Saeedi, Massoud Pedram Department of Electrical Engineering."

Similar presentations


Ads by Google