Skip to content

bloqade.analog.compiler.passes.hardware.define.generate_braket_ir

← Module overview

functiongenerate_braket_irsource

bloqade.analog.compiler.passes.hardware.define.generate_braket_ir

Signature
def generate_braket_ir(ahs_components: AHSComponents, shots: int) -> BraketTaskSpecification
  1. generate braket ir

This pass takes the AHS components and generates the Braket IR.

Parameters

NameTypeDescription
ahs_componentsAHSComponentsA collection of the AHS components generated for the given circuit.
shotsintNumber of shots to run the circuit for.

Returns

BraketTaskSpecificationtask_specification: Braket IR for the given circuit.

source