Create a test - Open-Quantum-Platform/openqp GitHub Wiki
When you implement new functionality into OpenQP, it is a good practice to add corresponding test files. To do this:
- Create a JSON file by setting
save_mol=truein the[guess]keyword. - Create a subdirectory in the
examplesdirectory and copy both the JSON file and the input file into your subdirectory.
That’s it!
Now, if you run openqp --run_test <your_subdirectory_name>, it will execute the tests for your files.