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 pow as supported operation for ParameterExpression #11235

Merged
merged 4 commits into from
Nov 29, 2023

Commits on Nov 12, 2023

  1. Add pow for Parameter

    Adds powering for qiskit.circuit.ParameterExpression allowing to use a**n, n**a, a**b, pow(a,b) etc. for ParameterExpressions a, b and numbers n. Minimal change using default support of pow by Sympy/Symengine.
    Added pow to list of operators in TestParameterExpressions test case for unit testing.
    fixes Qiskit#8959
    Changelog: New Feature
    grossardt committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    5048020 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. Configuration menu
    Copy the full SHA
    5224212 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2023

  1. Update test_parameters.py

    grossardt committed Nov 18, 2023
    Configuration menu
    Copy the full SHA
    0331552 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5acea63 View commit details
    Browse the repository at this point in the history