Skip to content

Commit

Permalink
Change use_fractional_gates default to False (#1755)
Browse files Browse the repository at this point in the history
* set default to false

* release note

---------

Co-authored-by: Kevin Tian <kevin.tian@ibm.com>
  • Loading branch information
jyu00 and kt474 committed Jun 18, 2024
1 parent e2e3b39 commit e49a72b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit_ibm_runtime/qiskit_runtime_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def backends(
dynamic_circuits: Optional[bool] = None,
filters: Optional[Callable[[List["ibm_backend.IBMBackend"]], bool]] = None,
*,
use_fractional_gates: Optional[bool] = True,
use_fractional_gates: bool = False,
**kwargs: Any,
) -> List["ibm_backend.IBMBackend"]:
"""Return all backends accessible via this account, subject to optional filtering.
Expand Down Expand Up @@ -735,7 +735,7 @@ def backend(
self,
name: str = None,
instance: Optional[str] = None,
use_fractional_gates: bool = True,
use_fractional_gates: bool = False,
) -> Backend:
"""Return a single backend matching the specified filtering.
Expand Down
1 change: 1 addition & 0 deletions release-notes/unreleased/1755.bug.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Disallowing fractional gates by default, so backend target would not exclude control flow.

0 comments on commit e49a72b

Please sign in to comment.