# quilc Reference

Part of the [Quil SDK](/qcs/master.md#quil-sdk), `quilc` is an optimizing [Quil](/qcs/guides/quil/quil.md) compiler.

{% hint style="success" %}
See [Getting Started](/qcs/getting-started.md) to learn how to use `quilc` with [pyQuil](/qcs/references/pyquil.md).
{% endhint %}

For more details about using `quilc`, run `quilc --help` for a list of available options, or view the project's GitHub repository by clicking below.

{% embed url="<https://github.com/quil-lang/quilc>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rigetti.com/qcs/references/quilc.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
