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

Add training file management and functionality to the Optimizer class #40

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

Supercabb
Copy link
Collaborator

  • Implement create_train_file and move_json_file methods in Reader class for handling training files.
  • Add methods start, optimize and encode_measurements to Optimizer Class.
  • Add load_training_matrix and load_actual_distribution methods in Qubit class.
  • Update tests to cover new functionality in test_reader and test_optimize.

I marked sections of optimize.py file where I had doubts with the comment ####VERIFY####, so take a look and let me know if i need to change anything.

- Implement create_train_file and move_json_file methods in Reader class for handling training files.
- Add methods start, optimize and encode_measurements to Optimizer Class.
- Add load_training_matrix and load_actual_distribution methods in Qubit class.
- Update tests to cover new functionality in test_reader and test_optimize.
@Supercabb Supercabb requested a review from xleonplayz November 8, 2024 17:21
@xleonplayz xleonplayz merged commit 6f6f006 into main Nov 8, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants