## Abstract

We give a quantum logspace algorithm for powering contraction matrices, that is, matrices with spectral norm at most 1. The algorithm gets as an input an arbitrary n × n contraction matrix A, and a parameter T ≤ poly(n) and outputs the entries of AT, up to (arbitrary) polynomially small additive error. The algorithm applies only unitary operators, without intermediate measurements. We show various implications and applications of this result: First, we use this algorithm to show that the class of quantum logspace algorithms with only quantum memory and with intermediate measurements is equivalent to the class of quantum logspace algorithms with only quantum memory without intermediate measurements. This shows that the deferred-measurement principle, a fundamental principle of quantum computing, applies also for quantum logspace algorithms (without classical memory). More generally, we give a quantum algorithm with space O(S + log T) that takes as an input the description of a quantum algorithm with quantum space S and time T, with intermediate measurements (without classical memory), and simulates it unitarily with polynomially small error, without intermediate measurements. Since unitary transformations are reversible (while measurements are irreversible) an interesting aspect of this result is that it shows that any quantum logspace algorithm (without classical memory) can be simulated by a reversible quantum logspace algorithm. This proves a quantum analogue of the result of Lange, McKenzie and Tapp that deterministic logspace is equal to reversible logspace [15]. Finally, we use our results to show non-trivial classical simulations of quantum logspace learning algorithms.

Original language | English (US) |
---|---|

Title of host publication | 48th International Colloquium on Automata, Languages, and Programming, ICALP 2021 |

Editors | Nikhil Bansal, Emanuela Merelli, James Worrell |

Publisher | Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing |

ISBN (Electronic) | 9783959771955 |

DOIs | |

State | Published - Jul 1 2021 |

Externally published | Yes |

Event | 48th International Colloquium on Automata, Languages, and Programming, ICALP 2021 - Virtual, Glasgow, United Kingdom Duration: Jul 12 2021 → Jul 16 2021 |

### Publication series

Name | Leibniz International Proceedings in Informatics, LIPIcs |
---|---|

Volume | 198 |

ISSN (Print) | 1868-8969 |

### Conference

Conference | 48th International Colloquium on Automata, Languages, and Programming, ICALP 2021 |
---|---|

Country/Territory | United Kingdom |

City | Virtual, Glasgow |

Period | 7/12/21 → 7/16/21 |

## All Science Journal Classification (ASJC) codes

- Software

## Keywords

- BQL
- Matrix powering
- Quantum circuit
- Reversible computation