Commit Graph

29 Commits

Author SHA1 Message Date
Diego M. Rodriguez 043b65bfe4 Resycn with qasm_simulator_cpp changes
Revise after the modifications to the C++ simulator, updating the
references for the location of the file (`qiskit/backends/local`
instead of `qiskit/backends`).
Reintroduce the c++ simulator gates, that were commented out in the
process.
2018-04-14 23:42:53 +02:00
Jay Gambetta 2717d1c7bd Cleaning up
separating result from qobj schema, and putting them in qiskit/schema

fixes in jay's office

Adding setup.py ignore to put the fire out

Fixing some bugs

disabling qasm header for extensions/qiskit_simulator

Adding the examples working -- test need to fix the test.

modifying quantumprogram to use backendmanager and its tests to pass

Passing the testquantumprogram

Passing backend now

Style fixes

Fixing some lint errors

Renaming test_backend test_backend_manager

Adding compile test

Small changes

Fix basebackend tests

Also ignore ds_store files

Linting

don't traverse extensions when registering api

add back in job_processor tests
2018-04-14 23:37:11 +02:00
cjwood b9e7aad2c2 renamed qiskit-simulator folder to qasm-simulator-cpp
cmake build needs updating for new directory / exe file name
2018-04-13 16:13:57 -04:00
cjwood ad649e2421 Improved handling of JSON for cpp simulator
-  added string simulator input/output
- Fixed compile bugs on linux
- changed snapshot map to use int key instead of unsigned long long key
- allowed sample shots to compute probability vector in place to save memory
2018-04-13 16:13:56 -04:00
cjwood 5461e1cd2d rewriting vector backends to use new QubitVector class
- Updated modified JSON library to version 3.1.1
- Encapsulated multi-partite qubit state vector updates in a
QubitVector class
- Added TensorIndex class used for indexing in the QubitVector class.
- Reworked ideal_backend and qubit_backend to use QubitVector methods
- merged sampleshots_engine into vector_engine
- removed ability to display final and saved quantum states
- added “snapshot” instruction and added ability to display snapshots
of quantum state
- added basic cpp test file for qubit_vector class
- Added auto check to makefile for GCC7 compiler on macOS
2018-04-13 16:13:56 -04:00
Juan Gomez 7347fd1af4 [WIP] CMake integration (#274)
* CMake integration:
* Qiskit simulator now builds on/for Linux 64, Win64 and Darwin
* Added support for creating pip distributable packages (sdist
  and wheels) for Linux, Windows and MacOS
* Added support for testing and lintering via CMake
* Added Windows lib/dll dependencies for C++ simulator
* Added support for building when installing via Pip from source
  distribution, so non-supported platforms have a chance to build
  the C++ code

* Documentation updated, but still a WIP.

* Fix .rst formatting issues

* Restore qiskit-simulator latest changes

* Remove garbage file

* CMake integration:
* Added make "doc" target for Sphinx documentation
* Added both sdist and bdist_wheel distribution packages builds

* CMake integration:
* Setup.py.in now generates the correct platform tag for wheels
  distribution package

* CMake integration:
* 'make clean' target now removes all custom generated files and
  directories.
* Fxied 'make pypi_package' to not include binaries in the source
  distribution package (sdist)

* CMake integration: Addressing review comments
* Git-ignoring some autogenerated files
* Changed linter target name to "lint"
* Improved documentation

* CMake integration: Adressing review comments (2)
* Added qiskit/backends/qiskit_simulator to .gitignore
2018-02-05 15:42:10 +01:00
Juan Gomez 7038d6278a Integrating C++ simulator with PIP installation
* Changed default path of the simulator to:
  1st - The path where the simulator is built by default from the
  Makefile
  2nd - The path where pip installs simulator binary
* Removed .gitignore entries that are not needed anymore
* Integrate simulator's make clean target into the main Makefile
2018-01-04 19:12:59 +01:00
cjwood a9548a09c8 fixed bug with clifford simulator, moved custom gates to extensions
- fixed bug with local_clifford_simulator calling the qubit simulator
instead
- renamed built local_qiskit_simulator executable to qiskit_simulator
- moved custom simulator gate definitions to folder
qiskit.extensions.qiskitsimulator
- added u0 gate class definition to standard extensions
- merged `exe` and `path` args to `path` for cppsimulator run command
2018-01-04 10:57:26 +11:00
cjwood ec627e197e move custom gates to seperate module, moved importing simulator into a function call 2018-01-03 17:27:13 +11:00
cjwood df53caf65d Added external folder with local c++ simulator 2018-01-03 17:08:01 +11:00
Diego M. Rodriguez 331d6b90d0 Add linter/style check to travis
* Relax the pylint output disabling several warnings.
* Reintroduce the linting of qiskit.extensions and qiskit.qasm.node.
* Add a `style` target to the Makefile that performs pycodestyle, and
  reduce the verbosity of `lint` by removing the report.
* Update the Travis configuration in order to add a new step that
  performs linter and style checks via an environment variable.
2017-12-29 10:44:35 +01:00
Luciano 6b4c3502da Issue 111 - Math domain error fix
* Switch from math package to sympy in order to avoid floating point precision errors
2017-11-17 18:19:48 +01:00
Rudy Raymond 00ae38c1f8 Added japanese doc for installation of QISKit (#140)
* Added japanese doc

* Update Make and structure to allow multiple langs

Update the Makefile "doc" target to build both the English and the
Japanese versions, in separate directories, and the "clean" target to
cleanup the autodoc documentation.
Add a "conf.py" file to the "doc/ja" folder that modifies the relevant
variables, as Sphinx uses that folder as the root document folder when
building the Japanese version.

* Fix missing "install" reference on ja sphinx docs

* Update sphinx doc deploy script for Japanese

Add the Japanese sphinx produced directory to the Github pages deploy
script.

* Fix typo and extra line in Makefile
2017-11-08 18:13:43 +01:00
Juan Gomez 7455cd61c7 Issue 69 - Create parsetab.py autogenerated file in a temporary dir (#70)
Issue 69 - Create parsetab.py autogenerated file in a temporary dir
2017-09-28 16:26:37 +02:00
Jay Gambetta df45258eb3 Fixing return values (#38)
* starting to fix up the counts online and making to test to checks

* removing error is cleaning values

* fixing the seed error

* fixing the seed

* adding more test for online format

* Merge remote-tracking branch 'QISKit/r0.3' into fixing_return_values

# Conflicts:
#	test/python/test_quantumprogram.py

* Merge remote-tracking branch 'QISKit/r0.3' into fixing_return_values

# Conflicts:
#	test/python/test_quantumprogram.py

* merging r0.3 changes in

* adding test for online simulator
2017-08-23 22:00:46 -04:00
Erick Winston 9a4ea95e9f clean up docstrings to reduce autodoc errors. 2017-08-03 17:46:26 -04:00
Erick Winston 85db578c43 remove notebook tests 2017-08-03 12:22:22 -04:00
Jay M. Gambetta 1d9a3161e3 removing names and adding codeowners 2017-08-02 18:51:04 -04:00
Jay M. Gambetta 50c8ebf68e more tutorial changes 2017-07-28 00:25:51 -04:00
Jay M. Gambetta 57b79e011f ignoring the pdf 2017-07-27 13:59:59 -04:00
Jay M. Gambetta 7a9cd62059 optimization temp 2017-07-05 17:23:21 -04:00
Jesús Pérez bd0b4e2382 Qconfig file in tests not needed anymore. 2017-05-11 18:12:45 +02:00
Jesús Pérez f9fe204e7b Tests get the QE key from an env variable now. 2017-05-10 19:27:27 +02:00
Andrew Cross 320d92c825 TODOs for awc; update gitignore for vscode files 2017-05-04 16:38:38 -04:00
ismael faro 365c54e277 Add external token 2017-05-03 02:00:32 -04:00
Jay M. Gambetta e7cfc3c344 adding optimization
adding the optimization example
2017-04-18 17:07:40 -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 70fac0bf9b initial commit 2017-03-07 12:53:35 -05:00