Skip to content
This repository was archived by the owner on Oct 7, 2019. It is now read-only.

Set a wavefunction's amplitudes to be a complex number instead of an array#7

Merged
ncrubin merged 3 commits into
rigetti:masterfrom
ejdanderson:bugfix/wavefunction-shape
Nov 10, 2017
Merged

Set a wavefunction's amplitudes to be a complex number instead of an array#7
ncrubin merged 3 commits into
rigetti:masterfrom
ejdanderson:bugfix/wavefunction-shape

Conversation

@ejdanderson
Copy link
Copy Markdown
Contributor

Fixes #6

This breaks certain math functions such as `round()` when storing the amplitudes in a 2-D array
Specifically, this breaks all of the printing methods from pyQuil for a wavefunction
@ncrubin ncrubin self-requested a review November 10, 2017 14:33
@ncrubin
Copy link
Copy Markdown
Contributor

ncrubin commented Nov 10, 2017

Hi @ejdanderson, thanks for the PR. Will take a look soon!

@ncrubin ncrubin merged commit 75a68ab into rigetti:master Nov 10, 2017
@ncrubin
Copy link
Copy Markdown
Contributor

ncrubin commented Nov 10, 2017

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants