Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulse sim tests #379

Merged
merged 394 commits into from
Nov 8, 2019
Merged

Conversation

zachschoenfeld33
Copy link
Contributor

@zachschoenfeld33 zachschoenfeld33 commented Oct 2, 2019

Summary

Adds high level tests for open pulse simulator.

Details and comments

  • Tests x gate, Hadamard and arbitrary drive/amplitude
  • Checks measure level 1 and 2
  • Checks non-square pulses (uses Gaussian)
  • Updates pulse simulator readme, including an example (the one used in the tests)
  • Tests for FrameChange and PersistantValue
  • Test for higher level states (dimension 3 qubit subspace)
  • Tests U channels and two qubit interaction in the simulator

Note: does not provide unit tests; just high level tests of features.

chriseclectic and others added 30 commits March 28, 2019 13:01
* Fixes MacOS unresolved symbol problem at runtime, when building with gcc

* Fixes MacOS unresolved symbols at runtime when building with clang++
* Update QuantumError, ReadoutError to work with QuantumChannel

* update tests
* Update QuantumError, ReadoutError to work with QuantumChannel

* update tests
Rename "ch" method to "extended_stabilizer"
* fix apply_matrix2 vectorization order

* add check if 1-qubit mat in apply_matrix

* fix indexes lambda functions

* add qubit checks for apply_matrix2 etc
* Minor refactoring of Standalone exit code paths
(Windows)
* Refactor some code from the Extended Stabilizer
add auto-configuration of threads for qasm simulator
* add multi-controlled pauli gates

* implement cx, cz as mcx, mcz

* add multi controlled u1,u2,u3 gates

* fixup indexes refs

* update changelog
Copy link

@taalexander taalexander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Thanks for the hard work and changes @zachschoenfeld33!

qiskit/providers/aer/openpulse/readme.md Outdated Show resolved Hide resolved
@dcmckayibm
Copy link
Member

Great job, definitely on the right track. A few things to discuss.

Copy link
Member

@atilag atilag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving this, but I'd leave to @dcmckayibm or/and @taalexander to decide when this is ready.
This is going to be very helpfull for my refactor, which is about to be finished, so the faster we ca
n merge this the better :)

@dcmckayibm
Copy link
Member

@atilag can you merge #420 and then @zachschoenfeld33 can you make sure your tests are updated so they work?

@dcmckayibm
Copy link
Member

Should be quick

@atilag
Copy link
Member

atilag commented Nov 4, 2019

#420 merged. @zachschoenfeld33 you can rebase with openpulse-sim branch when you want.

@zachschoenfeld33
Copy link
Contributor Author

Tests are fixed!

@atilag atilag merged commit e9aa847 into Qiskit:openpulse-sim Nov 8, 2019
chriseclectic pushed a commit to chriseclectic/qiskit-aer that referenced this pull request Jan 23, 2020
Add Pulse Simulator tests
chriseclectic pushed a commit to chriseclectic/qiskit-aer that referenced this pull request Jan 23, 2020
Add Pulse Simulator tests
chriseclectic pushed a commit to chriseclectic/qiskit-aer that referenced this pull request Jan 23, 2020
Add Pulse Simulator tests
chriseclectic pushed a commit to chriseclectic/qiskit-aer that referenced this pull request Jan 23, 2020
Add Pulse Simulator tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PulseSimulator Issues related to (future) pulse simulator
Projects
None yet
Development

Successfully merging this pull request may close these issues.