Skip to content

Update the old API of example notebook for optimizer#124

Merged
sansiro77 merged 2 commits intoTuringQ:mainfrom
Jooyuza:doc
Dec 1, 2025
Merged

Update the old API of example notebook for optimizer#124
sansiro77 merged 2 commits intoTuringQ:mainfrom
Jooyuza:doc

Conversation

@Jooyuza
Copy link
Copy Markdown
Collaborator

@Jooyuza Jooyuza commented Dec 1, 2025

Error message of test_for_onchip_optimizer.ipynb:
image
As Fock backend updated in PR #21 , is_prob=True is required for foward function to return a prob distribution.

@Jooyuza Jooyuza added the documentation Improvements or additions to documentation label Dec 1, 2025
@Jooyuza Jooyuza requested a review from sansiro77 December 1, 2025 10:17
@sansiro77 sansiro77 changed the title Update old api of example notebook for optimizer Update the old API of example notebook for optimizer Dec 1, 2025
Copy link
Copy Markdown
Contributor

@sansiro77 sansiro77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sansiro77 sansiro77 merged commit a3c870f into TuringQ:main Dec 1, 2025
@Jooyuza Jooyuza deleted the doc branch December 1, 2025 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants