Commit Graph

2357 Commits

Author SHA1 Message Date
Andrew Cross 24c0f9039e add mapper to change CNOT directions 2017-04-21 10:10:43 -04:00
Jay M. Gambetta 8575acc432 fixing up optimization 2017-04-20 23:07:20 -04:00
Jay M. Gambetta 6c88dca5b3 cleaning up optimization 2017-04-20 23:07:20 -04:00
Andrew Cross 388cd1b83a slightly reorganize mapper; update two examples 2017-04-20 09:44:10 -04:00
Andrew Cross 21d2db4496 update README 2017-04-19 23:46:46 -04:00
Andrew Cross dd6769c0d3 update README, move test scripts 2017-04-19 23:43:25 -04:00
Andrew Cross bab07643b8 first pass at swap mapper, bugs fixed, acknowledge 2017-04-19 23:15:01 -04:00
Andrew Cross 17f9de403e first pass at swap mapper, bugs fixed 2017-04-19 23:11:59 -04:00
Antonio Corcoles dd2f7bcfee Fixed typo 2017-04-19 11:19:34 -04:00
Jay M. Gambetta e7cfc3c344 adding optimization
adding the optimization example
2017-04-18 17:07:40 -04:00
Jay M. Gambetta cea31cace0 adding three examples
adding three examples to qiskit and fixing cx in standard
2017-04-17 21:46:05 -04:00
Andrew Cross 1de470fe53 fix a bug that Jay found 2017-04-13 14:01:29 -04:00
Andrew Cross b70839d606 implement qc.barrier() to act on all qubits in a quantum circuit 2017-04-07 18:33:12 -04:00
Andrew Cross f69dcd6add CHANGED REGISTER BEHAVIOR: see examples in the root directory, addressed some of the recent issues Jay added to the tracker, cannot apply gates to register objects anymore, register objects refer to any register with the given name and size, a circuit object's barrier and single qubit gate objects can accept registers or qubits 2017-04-07 17:18:28 -04:00
Jay M. Gambetta 3ca34dde04 Adding the first three examples -- words still need fixing. 2017-04-06 10:33:50 -04:00
Jay M. Gambetta c13e7ec410 Adding the superposition example 2017-04-06 10:33:50 -04:00
Jay M. Gambetta d673d4ee4d adding print of circuit for current debugging 2017-04-06 10:33:50 -04:00
Jay M. Gambetta 17976150d0 adding run program 2017-04-06 10:33:50 -04:00
Andrew W. Cross bce1fee558 added methods for concatenate, extend; comments in examples from talk w/ Ismael, Fran, Paco, Jorge 2017-04-05 10:31:45 -04:00
Andrew W. Cross b34f972e9c overload +, += for QuantumCircuit concatenation, PLY flag disabled printing to stderr and debug file, check for duplicate arguments to gates, demonstrate concatenation in rippleadd example, update scripts to point to new paths, start using sdk skeleton in scripts 2017-04-05 00:50:41 -04:00
Jay M. Gambetta ad77f9885a adding some examples 2017-04-03 23:14:14 -04:00
Andrew W. Cross 82e9a0afd2 chmod -x examples 2017-04-03 09:48:19 -04:00
Andrew W. Cross 281e83476a add __getitem__ to Register object, update examples 2017-04-03 09:47:21 -04:00
Jay M. Gambetta 9606372e74 adding the scripts i have been working on. 2017-04-03 08:45:01 -04:00
Andrew W. Cross 51dd124500 incorporate aspects of latest discussions, fix bugs 2017-04-01 01:02:08 -04:00
Andrew W. Cross 8fc60bb1f3 add classical if, new teleport and rippleadd examples 2017-03-27 15:19:59 -04:00
Andrew W. Cross 9be253b409 chmod -x 2017-03-26 20:48:51 -04:00
Andrew W. Cross 1a3de3a9d2 continue extensions, added CompositeGate and .inverse() 2017-03-26 20:46:42 -04:00
Andrew W. Cross ce1fa4117b change behavior so regs bound to programs, other smaller changes 2017-03-18 18:34:51 -04:00
Andrew W. Cross 04522e76ca bug fix; commit skeleton implementation to experiment with ideas that I heard from fran, paco, and jorge's on how to organize the sdk 2017-03-18 00:08:11 -04:00
Andrew W. Cross 29ef02fb22 tweak readme 2017-03-15 17:25:40 -04:00
Andrew W. Cross 94705f27e1 fix id and U, CX; fix "if" bugs 2017-03-15 17:10:11 -04:00
Andrew W. Cross 24d2f2c204 fix nninteger regex, fix if if and if barrier bug, add todos for duplicate register bug 2017-03-15 17:01:52 -04:00
Andrew W. Cross f49217bef2 fix id regex, node import 2017-03-15 16:43:50 -04:00
Andrew W. Cross 739e4c1416 refactor parser 2017-03-15 16:37:28 -04:00
Andrew W. Cross 0581d8e719 update scripts, bloch annotate doesn't run through api yet 2017-03-08 11:48:35 -05:00
Andrew W. Cross c6b5df6b46 move to testscripts 2017-03-08 10:51:14 -05:00
Andrew W. Cross 20f0507869 more refactoring 2017-03-08 10:46:18 -05:00
Andrew W. Cross 3c762d690a update qhelpers to be consistent with qiskit-sdk-py 2017-03-08 01:03:07 -05:00
Jay M. Gambetta 50a6789997 minor fixes due to last change failing with capitalization on mac 2017-03-07 23:23:50 -05:00
Jay M. Gambetta 7958991a25 fixing to work with qiskit_api_py update
Fixing to work with the changes to qiskit_api_py for pep8
2017-03-07 23:02:52 -05:00
Andrew W. Cross f002fd7334 finish refactor unroller 2017-03-07 17:58:46 -05:00
Andrew W. Cross fedbeaeb88 refactor unroller and do pep8 2017-03-07 16:53:13 -05:00
Andrew W. Cross 6223ce1179 continue to reorganize/pep8 2017-03-07 15:06:33 -05:00
Andrew W. Cross d8dd293b5e renaming 2017-03-07 13:48:21 -05:00
Andrew W. Cross 7dedbc118d working on pep8 names, but not touching parser since Ismael is working on that 2017-03-07 13:33:41 -05:00
Andrew W. Cross 70fac0bf9b initial commit 2017-03-07 12:53:35 -05:00
Jay Gambetta 72faba64b0 Update README.md 2017-03-06 06:50:36 -05:00
Jay M. Gambetta 3770efec7b format changes 2017-03-05 16:06:26 -05:00
Jay M. Gambetta 51cd6721fe simple format changes for consistency 2017-03-05 16:04:18 -05:00