This project demonstrates how to use the Google Quantum Engine to run quantum programs using the Cirq library.
Before running this project, make sure you have the following installed:
- Python 3.x
- Cirq library
- Google Quantum Engine API credentials
-
Clone the repository:
git clone https://github.com/AndresCdo/quantum-google-qgp.git
-
Install the required dependencies:
pip install cirq
-
Set up your Google Quantum Engine API credentials. Refer to the official documentation for instructions.
-
Open the
main.py
file in your preferred Python IDE or text editor. -
Modify the code as needed. You can define your own quantum circuit and specify the target quantum processor.
-
Run the program:
python main.py
-
The program will submit the quantum circuit to the Quantum Engine API and wait for the job to complete.
-
Once the job is finished, the result will be printed on the console.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.