BGLS: A Python Package for the Gate-by-Gate Sampling Algorithm to
Simulate Quantum Circuits
- URL: http://arxiv.org/abs/2311.11787v1
- Date: Mon, 20 Nov 2023 14:12:39 GMT
- Title: BGLS: A Python Package for the Gate-by-Gate Sampling Algorithm to
Simulate Quantum Circuits
- Authors: Alex Shapiro and Ryan LaRose
- Abstract summary: bgls is a Python package which implements gate-by-gate sampling algorithm.
We show how to install and use bgls, discuss optimizations in the algorithm, and demonstrate its utility on several problems.
- Score: 0.0
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: The classical simulation of quantum computers is in general a computationally
hard problem. To emulate the behavior of realistic devices, it is sufficient to
sample bitstrings from circuits. Recently, arXiv:2112.08499 introduced the
so-called gate-by-gate sampling algorithm to sample bitstrings and showed it to
be computationally favorable in many cases. Here we present bgls, a Python
package which implements this sampling algorithm. bgls has native support for
several states and is highly flexible for use with additional states. We show
how to install and use bgls, discuss optimizations in the algorithm, and
demonstrate its utility on several problems.
Related papers
- Sum-of-Squares inspired Quantum Metaheuristic for Polynomial Optimization with the Hadamard Test and Approximate Amplitude Constraints [76.53316706600717]
Recently proposed quantum algorithm arXiv:2206.14999 is based on semidefinite programming (SDP)
We generalize the SDP-inspired quantum algorithm to sum-of-squares.
Our results show that our algorithm is suitable for large problems and approximate the best known classicals.
arXiv Detail & Related papers (2024-08-14T19:04:13Z) - Compact quantum algorithms for time-dependent differential equations [0.0]
We build on an idea based on linear combination of unitaries to simulate non-unitary, non-Hermitian quantum systems.
We generate hybrid quantum-classical algorithms that efficiently perform iterative matrix-vector multiplication and matrix inversion operations.
arXiv Detail & Related papers (2024-05-16T02:14:58Z) - Classical modelling of a lossy Gaussian bosonic sampler [0.0]
We propose an algorithm for approximate classical simulation of a lossy GBS instance.
The complexity of the algorithm is squeezing the number of modes given the number of terms is fixed.
In recent experiments that claim to have demonstrated quantum advantage, these conditions are satisfied.
arXiv Detail & Related papers (2024-04-01T09:19:27Z) - Generalized quantum Arimoto-Blahut algorithm and its application to
quantum information bottleneck [55.22418739014892]
We generalize the quantum Arimoto-Blahut algorithm by Ramakrishnan et al.
We apply our algorithm to the quantum information bottleneck with three quantum systems.
Our numerical analysis shows that our algorithm is better than their algorithm.
arXiv Detail & Related papers (2023-11-19T00:06:11Z) - Quantum speedup of leverage score sampling and its application [0.0]
In this paper, we propose a quantum algorithm to accelerate the computation of leverage scores.
As an application, we propose a new quantum algorithm for rigid regression problems with vector solution outputs.
arXiv Detail & Related papers (2023-01-15T14:40:18Z) - Quantum Goemans-Williamson Algorithm with the Hadamard Test and
Approximate Amplitude Constraints [62.72309460291971]
We introduce a variational quantum algorithm for Goemans-Williamson algorithm that uses only $n+1$ qubits.
Efficient optimization is achieved by encoding the objective matrix as a properly parameterized unitary conditioned on an auxilary qubit.
We demonstrate the effectiveness of our protocol by devising an efficient quantum implementation of the Goemans-Williamson algorithm for various NP-hard problems.
arXiv Detail & Related papers (2022-06-30T03:15:23Z) - Entanglement and coherence in Bernstein-Vazirani algorithm [58.720142291102135]
Bernstein-Vazirani algorithm allows one to determine a bit string encoded into an oracle.
We analyze in detail the quantum resources in the Bernstein-Vazirani algorithm.
We show that in the absence of entanglement, the performance of the algorithm is directly related to the amount of quantum coherence in the initial state.
arXiv Detail & Related papers (2022-05-26T20:32:36Z) - Quantum algorithm for stochastic optimal stopping problems with
applications in finance [60.54699116238087]
The famous least squares Monte Carlo (LSM) algorithm combines linear least square regression with Monte Carlo simulation to approximately solve problems in optimal stopping theory.
We propose a quantum LSM based on quantum access to a process, on quantum circuits for computing the optimal stopping times, and on quantum techniques for Monte Carlo.
arXiv Detail & Related papers (2021-11-30T12:21:41Z) - An optimal quantum sampling regression algorithm for variational
eigensolving in the low qubit number regime [0.0]
We introduce Quantum Sampling Regression (QSR), an alternative hybrid quantum-classical algorithm.
We analyze some of its use cases based on time complexity in the low qubit number regime.
We demonstrate the efficacy of our algorithm for a benchmark problem.
arXiv Detail & Related papers (2020-12-04T00:01:15Z) - Adaptive Sampling for Best Policy Identification in Markov Decision
Processes [79.4957965474334]
We investigate the problem of best-policy identification in discounted Markov Decision (MDPs) when the learner has access to a generative model.
The advantages of state-of-the-art algorithms are discussed and illustrated.
arXiv Detail & Related papers (2020-09-28T15:22:24Z) - Quantum Sampling Algorithms for Near-Term Devices [0.0]
We introduce a family of quantum algorithms that provide unbiased samples by encoding the entire Gibbs distribution.
We show that this approach leads to a speedup over a classical Markov chain algorithm.
It opens the door to exploring potentially useful sampling algorithms on near-term quantum devices.
arXiv Detail & Related papers (2020-05-28T14:46:20Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.