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

change default dd strategy to "static_context_aware" #818

Merged
merged 1 commit into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cirq-superstaq/cirq_superstaq/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ def ibmq_compile(
circuits: Union[cirq.Circuit, Sequence[cirq.Circuit]],
target: str = "ibmq_qasm_simulator",
dynamical_decoupling: bool = True,
dd_strategy: str = "dynamic",
dd_strategy: str = "static_context_aware",
**kwargs: Any,
) -> css.compiler_output.CompilerOutput:
"""Compiles and optimizes the given circuit(s) to the target IBMQ device.
Expand All @@ -738,7 +738,7 @@ def ibmq_compile(
target: String of target IBMQ device.
dynamical_decoupling: Applies dynamical decoupling optimization to circuit(s).
dd_strategy: Method to use for placing dynamical decoupling operations; either
"dynamic" (default setting), "static", or "static_context_aware".
"dynamic", "static", or "static_context_aware" (default).
kwargs: Other desired `ibmq_compile` options.

Returns:
Expand Down
4 changes: 2 additions & 2 deletions qiskit-superstaq/qiskit_superstaq/superstaq_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def ibmq_compile(
self,
circuits: Union[qiskit.QuantumCircuit, Sequence[qiskit.QuantumCircuit]],
dynamical_decoupling: bool = True,
dd_strategy: str = "dynamic",
dd_strategy: str = "static_context_aware",
**kwargs: Any,
) -> qss.compiler_output.CompilerOutput:
"""Compiles and optimizes the given circuit(s) for IBMQ devices.
Expand All @@ -271,7 +271,7 @@ def ibmq_compile(
circuits: The `qiskit.QuantumCircuit`(s) to compile.
dynamical_decoupling: Applies dynamical decoupling optimization to circuit(s).
dd_strategy: Method to use for placing dynamical decoupling operations; either
"dynamic" (default setting), "static", or "static_context_aware".
"dynamic", "static", or "static_context_aware" (default).
kwargs: Other desired compile options.

Returns:
Expand Down
4 changes: 2 additions & 2 deletions qiskit-superstaq/qiskit_superstaq/superstaq_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def ibmq_compile(
circuits: Union[qiskit.QuantumCircuit, Sequence[qiskit.QuantumCircuit]],
target: str = "ibmq_qasm_simulator",
dynamical_decoupling: bool = True,
dd_strategy: str = "dynamic",
dd_strategy: str = "static_context_aware",
**kwargs: Any,
) -> qss.compiler_output.CompilerOutput:
"""Returns pulse schedule(s) for the given qiskit circuit(s) and target.
Expand All @@ -280,7 +280,7 @@ def ibmq_compile(
target: A string containing the name of a target IBMQ backend.
dynamical_decoupling: Applies dynamical decoupling optimization to circuit(s).
dd_strategy: Method to use for placing dynamical decoupling operations; either
"dynamic" (default setting), "static", or "static_context_aware".
"dynamic", "static", or "static_context_aware" (default).
kwargs: Other desired ibmq_compile options.

Returns:
Expand Down