Even-Cycle Detection in the Randomized and Quantum CONGEST Model (2402.12018v1)
Abstract: We show that, for every $k\geq 2$, $C_{2k}$-freeness can be decided in $O(n{1-1/k})$ rounds in the \CONGEST{} model by a randomized Monte-Carlo distributed algorithm with one-sided error probability $1/3$. This matches the best round-complexities of previously known algorithms for $k\in{2,3,4,5}$ by Drucker et al. [PODC'14] and Censor-Hillel et al. [DISC'20], but improves the complexities of the known algorithms for $k>5$ by Eden et al. [DISC'19], which were essentially of the form $\tilde O(n{1-2/k2})$. Our algorithm uses colored BFS-explorations with threshold, but with an original \emph{global} approach that enables to overcome a recent impossibility result by Fraigniaud et al. [SIROCCO'23] about using colored BFS-exploration with \emph{local} threshold for detecting cycles. We also show how to quantize our algorithm for achieving a round-complexity $\tilde O(n{\frac{1}{2}-\frac{1}{2k}})$ in the quantum setting for deciding $C_{2k}$ freeness. Furthermore, this allows us to improve the known quantum complexities of the simpler problem of detecting cycles of length \emph{at most}~$2k$ by van Apeldoorn and de Vos [PODC'22]. Our quantization is in two steps. First, the congestion of our randomized algorithm is reduced, to the cost of reducing its success probability too. Second, the success probability is boosted using a new quantum framework derived from sequential algorithms, namely Monte-Carlo quantum amplification.
- Color coding. In Encyclopedia of Algorithms, pages 335–338. 2016.
- Andis Ambainis. Quantum search algorithms. SIGACT News, 35(2):22–35, 2004.
- Quantum counting. In 25th Int. Coll. on Automata, Languages and Programming (ICALP), volume 1443 of LNCS, pages 820–831. Springer, 1998.
- Near-optimal bounds on the bounded-round quantum communication complexity of disjointness. SIAM Journal on Computing, 47(6):2277–2314, 2018.
- Keren Censor-Hillel. Distributed subgraph finding: Progress and challenges. In 48th Int. Coll. on Automata, Languages, and Programming (ICALP), volume 198 of LIPIcs, pages 3:1–3:14. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2021.
- Keren Censor-Hillel. Distributed subgraph finding: Progress and challenges, 2022.
- Tight distributed listing of cliques. In 32nd ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 2878–2891, 2021.
- Quantum distributed algorithms for detection of cliques. In 13th Innovations in Theoretical Computer Science Conference (ITCS), volume 215 of LIPIcs, pages 35:1–35:25. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2022.
- Private communication, 2023.
- Fast distributed algorithms for girth, cycles and small subgraphs. In 34th International Symposium on Distributed Computing (DISC), volume 179 of LIPIcs, pages 33:1–33:17. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2020.
- Improved distributed expander decomposition and nearly optimal triangle enumeration. In 38th ACM Symposium on Principles of Distributed Computing (PODC), pages 66–73. ACM, 2019.
- No distributed quantum advantage for approximate graph coloring, 2024.
- Detecting cliques in CONGEST networks. In 32nd International Symposium on Distributed Computing (DISC), volume 121 of LIPIcs, pages 16:1–16:15. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2018.
- ”tri, tri again”: Finding triangles and small subgraphs in a distributed setting. In 26th Int. Symp. on Distributed Computing (DISC), volume 7611 of LNCS, pages 195–209. Springer, 2012.
- On the power of the congested clique model. In 33rd ACM Symposium on Principles of Distributed Computing (PODC), pages 367–376, 2014.
- Sublinear-time distributed algorithms for detecting small cliques and even cycles. In 33rd International Symposium on Distributed Computing (DISC), volume 146 of LIPIcs, pages 15:1–15:16. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2019.
- Sublinear-time distributed algorithms for detecting small cliques and even cycles. Distributed Computing, 35(3):207–234, June 2022.
- Can quantum communication speed up distributed computation? In 35th ACM Symposium on Principles of Distributed Computing (PODC), pages 166–175, 2014.
- Distributed strong diameter network decomposition. Theoretical Computer Science, 922:150–157, 2022.
- A problem in graph theory. The American Mathematical Monthly, 71(10):1107–1110, 1964.
- Three notes on distributed property testing. In 31st Int. Symp. on Distributed Computing (DISC), volume 91 of LIPIcs, pages 15:1–15:30. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2017.
- Possibilities and impossibilities for distributed subgraph detection. In 30th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), pages 153–162, 2018.
- On the power of threshold-based algorithms for detecting cycles in the CONGEST model. In 30th Int. Coll. on Structural Information and Communication Complexity (SIROCCO), volume 13892 of LNCS, pages 459–481. Springer, 2023.
- Distributed subgraph detection, 2017.
- Distributed detection of cycles. ACM Trans. Parallel Comput., 6(3):12:1–12:20, 2019.
- Sublinear-time quantum computation of the diameter in CONGEST networks. In 39th ACM Symposium on Principles of Distributed Computing (PODC), pages 337–346, 2018.
- What can be observed locally? In Distributed Computing, 23rd International Symposium (DISC), pages 243–257, 2009.
- Lov K. Grover. A fast quantum mechanical algorithm for database search. In 28th ACM Symposium on the Theory of Computing (STOC), pages 212–219, 1996.
- Quantum distributed algorithm for the All-Pairs Shortest Path problem in the CONGEST-CLIQUE model. In 40th ACM Symposium on Principles of Distributed Computing (PODC), pages 84–93, 2019.
- Deterministic subgraph detection in broadcast CONGEST. In 21st International Conference on Principles of Distributed Systems (OPODIS), volume 95 of LIPIcs, pages 4:1–4:16. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2017.
- Quantum advantage for the LOCAL model in distributed computing. In 36 Int. Symp. on Theoretical Aspects of Computer Science (STACS), pages 49:1–49:14, 2019.
- David Peleg. Distributed computing: a locality-sensitive approach. SIAM, 2000.
- Joran van Apeldoorn and Tijn de Vos. A framework for distributed quantum queries in the CONGEST model. In 41st ACM Symposium on Principles of Distributed Computing (PODC), pages 109–119, 2022.