grove icon indicating copy to clipboard operation
grove copied to clipboard

Quantum algorithms built using pyQuil.

Results 50 grove issues
Sort by recently updated
recently updated
newest added

We found a bug while using vqe with samples=None. The current version uses the expectation method of WavefunctionSimulator from pyquil.api to calculate the expectation values of every term (including coefficients)...

Hi, I am try to run [this tomography example](https://github.com/rigetti/grove/blob/master/examples/Tomography.ipynb) on my laptop. I think I have finished the implementation successfully, because when I import the packages by: ``` from grove.tomography.state_tomography...

The documentation of `vqe_run` in the VQE class indicates that we should use the argument `disp = True` if we want the expectation and parameters to be printed at each...

When I try to use QAOA with `scipy.optimize.fmin_l_bfgs_b` as my minimizer and no `minimize_kwargs` (I want to use the default argument), I get the error: `fmin_l_bfgs_b() got an unexpected keyword...

The current implementation of Max-cut only works for non-weighted graphs. However, the more general version can be useful for several applications, like clustering (where the adjacency matrix is the Gram...

The `ising` function works fine when I give it tiny sets of *h*s and *J*s. I then tried the following, larger problem: ```Python #! /usr/bin/env python from grove.ising.ising_qaoa import ising...

The ising functionality (and notebook) takes a `QuantumComputer` object but then prints this message: ``` WARNING: Fast method for expectation will be used. Noise models will be ineffective ``` Peaking...

In Python 3.6, the lines: `bitstring = np.array(returned_bitstring, dtype=int)` `constant = all([bit == 0 for bit in bitstring])` produce an error: > ValueError: The truth value of an array with...