qiskit-community / qiskit-ionq

Qiskit provider for IonQ backends
https://qiskit-community.github.io/qiskit-ionq/
Apache License 2.0
41 stars 22 forks source link

Pass `PauliEvolution` gates to API #164

Open splch opened 5 months ago

splch commented 5 months ago

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": [
          0.1,
          0.2,
          0.3
        ],
        "time": 0.4
      }
    ]
  },
  "registers": {},
  "metadata": {
    "shots": "1024",
    "sampler_seed": "None",
    "qiskit_header": "..."
  },
  "noise": {
    "model": "ideal",
    "seed": null
  }
}