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

Pass PauliEvolution gates to API #164

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Pass PauliEvolution gates to API #164

wants to merge 6 commits into from

Conversation

splch
Copy link
Collaborator

@splch splch commented Feb 6, 2024

Summary

Enables sending PauliEvolution to API instead of unrolled Pauli gates.

Details and comments

Gates have the format:

{
  "target": "simulator",
  "shots": 1024,
  "name": "circuit-159",
  "input": {
    "format": "ionq.circuit.v0",
    "gateset": "qis",
    "qubits": 3,
    "circuit": [
      {
        "gate": "pauliexp",
        "targets": [
          1,
          2
        ],
        "terms": [
          "XX",
          "YY",
          "ZZ"
        ],
        "coefficients": [
          {
            "r": 0.1,
            "i": 0.0
          },
          {
            "r": 0.2,
            "i": 0.0
          },
          {
            "r": 0.3,
            "i": 0.0
          }
        ],
        "unitary": true,
        "rotation": 0.4
      }
    ]
  },
  "registers": {},
  "metadata": {
    "shots": "1024",
    "sampler_seed": "None",
    "qiskit_header": "..."
  },
  "noise": {
    "model": "ideal",
    "seed": null
  }
}

@Cynocracy Cynocracy self-requested a review February 16, 2024 18:12
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.

None yet

1 participant