All Questions
7 questions
1
vote
1
answer
120
views
Need help regarding building a custom VQE
I want to write code for a custom Variational Quantum Eigensolver (VQE) capable of computing eigenvalue(s) for non-Hermitian systems, based on this paper. I have formulated a cost function (provided ...
1
vote
0
answers
199
views
Amplitude Amplification applied to HHL Algorithm
I’m trying to understand and implement the amplitude amplification algorithm described in the HHL paper. I’m using the cirq implementation of the HHL algorithm as my starting point.
I have a couple of ...
1
vote
1
answer
98
views
Implementation of .run() methods in google Cirq
I am developing a sampling algorithm using Fourier analysis of Boolean functions for which I use Google's Cirq to obtain the state vector with .simulate().
I wanted to know what sampling algorithm ...
1
vote
1
answer
140
views
Does anyone have some references on EigenGate used in Google's cirq framework?
I am trying to understand the code below but can not find any references other than the code itself.
https://github.com/quantumlib/Cirq/blob/v0.11.1/cirq-core/cirq/ops/eigen_gate.py
I am not clear ...
1
vote
1
answer
297
views
Expectation value of an arbitrary observable. My own definition and `cirq` limitations
In my previous question I was struggling with the definition of expectation value of an observable for a circuit. Here is what I have derived after some support (I simplify the definition to 2-qubit ...
4
votes
1
answer
1k
views
In Simon's algorithm, is there a general method to define an oracle given a certain periodicity?
I have to implement Simon's algorithm in Cirq. I have problems determining the oracle $f(x)$ defined such that $f(x)=f(x\oplus a)$ from a certain value of $a$.
Given a random $a$, is there a general ...
1
vote
0
answers
387
views
Implementing the HHL algorithm with negative eigenvalues (Cirq)
How do I implement the HHL with negative eigenvalues?
This paper (https://arxiv.org/abs/1803.01486) says that:
what if $\lambda<0$? This problem actually does not hard to solve, since we can ...