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 API to convert StateDump to a dense array of amplitudes #1836

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

swernli
Copy link
Collaborator

@swernli swernli commented Aug 13, 2024

Fixes #1722

Copy link

Benchmark for 225b0c1

Click to view benchmark
Test Base PR %
Array append evaluation 331.8±1.55µs 330.0±2.96µs -0.54%
Array literal evaluation 173.1±4.77µs 187.5±0.93µs +8.32%
Array update evaluation 414.1±2.19µs 413.2±4.89µs -0.22%
Core + Standard library compilation 22.1±0.33ms 24.0±1.47ms +8.60%
Deutsch-Jozsa evaluation 4.9±0.06ms 4.9±0.05ms 0.00%
Large file parity evaluation 34.5±0.28ms 34.5±0.42ms 0.00%
Large input file compilation 13.9±0.35ms 13.9±0.33ms 0.00%
Large input file compilation (interpreter) 52.5±1.79ms 53.0±1.90ms +0.95%
Large nested iteration 32.8±0.68ms 32.7±0.15ms -0.30%
Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample 1565.8±47.46µs 1560.2±39.20µs -0.36%
Perform Runtime Capabilities Analysis (RCA) on large file sample 7.8±0.08ms 7.7±0.08ms -1.28%
Perform Runtime Capabilities Analysis (RCA) on teleport sample 1426.7±37.07µs 1426.4±40.16µs -0.02%
Perform Runtime Capabilities Analysis (RCA) on the core and std libraries 27.7±0.33ms 27.4±0.15ms -1.08%
Teleport evaluation 92.1±3.45µs 92.3±3.34µs +0.22%

@swernli swernli added this pull request to the merge queue Aug 14, 2024
Merged via the queue into main with commit 9ae1d2a Aug 14, 2024
19 checks passed
@swernli swernli deleted the swernli/issue1722 branch August 14, 2024 22:07
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.

Add API to convert StateDump to a dense array of amplitudes
3 participants