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

Qulacs general estimator #319

Merged
merged 5 commits into from
Mar 12, 2024
Merged

Qulacs general estimator #319

merged 5 commits into from
Mar 12, 2024

Conversation

dchung0741
Copy link
Contributor

@dchung0741 dchung0741 commented Mar 12, 2024

Supports Qulacs version of general estimator

New functions:

  • create_qulacs_general_vector_estimator
  • create_qulacs_general_density_matrix_estimator

Examples

# For noiseless estimation
general_estimator = create_qulacs_general_vector_estimator()
# For noisy estimation
general_estimator = create_qulacs_general_density_matrix_estimator(noise_model)


# Estimate
general_estimator(op1, state1)

# Concurrent estimate
general_estimator([op1, op2], state1)
general_estimator([op1, op2], [state1])
general_estimator(op1, [state1, state2])
general_estimator([op1], [state1, state2])
general_estimator([op1, op2], [state1, state2])


# Parametric estimate
general_estimator(op1, param_state1, param_1)

# Parametric concurrent estimate
general_estimator(op1, param_state1, [param_1, param_2, ...])

Copy link

@github-actions github-actions bot temporarily deployed to pull request March 12, 2024 03:54 Inactive
Copy link
Contributor

@toru4838 toru4838 left a comment

Choose a reason for hiding this comment

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

Thank you!

@toru4838 toru4838 merged commit 6180782 into main Mar 12, 2024
8 checks passed
@toru4838 toru4838 deleted the qulacs_general_estimator branch March 12, 2024 12:26
@github-actions github-actions bot locked and limited conversation to collaborators Mar 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants