qrisp.jasp.Jaspr.qjit#
- Jaspr.qjit(*args, function_name='jaspr_function', device=None)[source]#
Leverages the Catalyst pipeline to compile a QIR representation of this function and executes that function using the Catalyst QIR runtime. Requires the Catalyst package to be installed (
pip install qrisp[catalyst]).- Parameters:
- *argsiterable
The arguments to call the function with.
- deviceobject
The PennyLane device to execute the function. The default device is “lightning.qubit”, a fast state-vector qubit simulator.
- Returns:
- The values returned by the compiled, executed function.