Skip to content

Commit

Permalink
PR feedback: use IR synonym
Browse files Browse the repository at this point in the history
  • Loading branch information
Manvi-Agrawal committed Jun 5, 2024
1 parent a421e25 commit a0c7733
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/bloqade/submission/braket.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,16 @@ def get_capabilities(self, use_experimental: bool = False) -> QuEraCapabilities:

def submit_task(self, task_ir: QuEraTaskSpecification) -> str:
"""Submit the task to the Braket backend. It converts task
IR(Intermediate Representation) of the QuEra system to suitable format
IR of the QuEra system to suitable format
accepted by Braket.
Args:
task_ir (QuEraTaskSpecification): task IR(Intermediate Represetation)
suitable for QuEra backend. It will be converted to appropriate
IR(Intermediate Represetation) accepted by Braket backend
task_ir (QuEraTaskSpecification): task IR suitable for QuEra backend.
It will be converted to appropriate IR accepted by Braket backend.
Returns:
task_id (str): Task id as a result of executing
IR(Intermediate Represetation) on the Braket backend.
IR on the Braket backend.
"""
shots, ahs_program = to_braket_task(task_ir)
task = self.device.run(ahs_program, shots=shots)
Expand Down Expand Up @@ -131,9 +130,9 @@ def validate_task(self, task_ir: QuEraTaskSpecification):
"""Validates the task submitted to the QuEra backend.
Args:
task_ir (QuEraTaskSpecification): task IR(Intermediate Represetation)
suitable for QuEra backend. It will be converted to appropriate
IR(Intermediate Representation) accepted by Braket backend.
task_ir (QuEraTaskSpecification): task IR suitable for
QuEra backend. It will be converted to appropriate
IR accepted by Braket backend.
Raises:
ValidationError: For tasks that fail validation.
Expand Down

0 comments on commit a0c7733

Please sign in to comment.