Skip to content

Commit

Permalink
enable QIR by default instead of passthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawson Graham committed Jul 31, 2024
1 parent 55fbb36 commit d9cda91
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions azure-quantum/azure/quantum/qiskit/backends/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ def _azure_config(self) -> Dict[str, str]:
"content_type": "qir.v1",
"input_data_format": "qir.v1",
"output_data_format": "microsoft.quantum-results.v2",
"is_default": True,
}

def run(
Expand Down
2 changes: 1 addition & 1 deletion azure-quantum/azure/quantum/qiskit/backends/ionq.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def _azure_config(self) -> Dict[str, str]:
"provider_id": "ionq",
"input_data_format": "ionq.circuit.v1",
"output_data_format": "ionq.quantum-results.v1",
"is_default": True,
"is_default": False,
}

def _prepare_job_metadata(self, circuit, **kwargs):
Expand Down
2 changes: 0 additions & 2 deletions azure-quantum/azure/quantum/qiskit/backends/qci.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ def __init__(self, name: str, provider: "AzureQuantumProvider", **kwargs):
"open_pulse": False,
"gates": [{"name": "TODO", "parameters": [], "qasm_def": "TODO"}],
"azure": self._azure_config(),
"is_default": True,
}
)
logger.info("Initializing QCISimulatorBackend")
Expand Down Expand Up @@ -149,7 +148,6 @@ def __init__(self, name: str, provider: "AzureQuantumProvider", **kwargs):
"open_pulse": False,
"gates": [{"name": "TODO", "parameters": [], "qasm_def": "TODO"}],
"azure": self._azure_config(),
"is_default": True,
}
)
logger.info("Initializing QCIQPUBackend")
Expand Down
2 changes: 1 addition & 1 deletion azure-quantum/azure/quantum/qiskit/backends/quantinuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def _azure_config(self) -> Dict[str, str]:
"provider_id": self._provider_id,
"input_data_format": "honeywell.openqasm.v1",
"output_data_format": "honeywell.quantum-results.v1",
"is_default": True,
"is_default": False,
}

def _translate_input(self, circuit):
Expand Down
2 changes: 0 additions & 2 deletions azure-quantum/azure/quantum/qiskit/backends/rigetti.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def __init__(self, name: str, provider: "AzureQuantumProvider", **kwargs):
"open_pulse": False,
"gates": [{"name": "TODO", "parameters": [], "qasm_def": "TODO"}],
"azure": self._azure_config(),
"is_default": True,
}
)
logger.info("Initializing RigettiSimulatorBackend")
Expand Down Expand Up @@ -124,7 +123,6 @@ def __init__(self, name: str, provider: "AzureQuantumProvider", **kwargs):
"open_pulse": False,
"gates": [{"name": "TODO", "parameters": [], "qasm_def": "TODO"}],
"azure": self._azure_config(),
"is_default": True,
}
)
logger.info("Initializing RigettiQPUBackend")
Expand Down

0 comments on commit d9cda91

Please sign in to comment.