Remove README entry about Composer component (#1655)
This component is unused and being removed.
This commit is contained in:
parent
405917f9b7
commit
e8d3efa5a0
49
README.md
49
README.md
|
@ -567,26 +567,6 @@ To use a `DefinitionTooltip`, use the following syntax:
|
||||||
|
|
||||||
For full list of props, please check [here](https://react.carbondesignsystem.com/?path=/docs/components-definitiontooltip--playground#component-api).
|
For full list of props, please check [here](https://react.carbondesignsystem.com/?path=/docs/components-definitiontooltip--playground#component-api).
|
||||||
|
|
||||||
### Composer
|
|
||||||
|
|
||||||
You can use this component to render a circuit as it will be displayed in the composer. It does not have any interaction.
|
|
||||||
|
|
||||||
```mdx
|
|
||||||
<Composer qasm={`
|
|
||||||
OPENQASM 2.0;
|
|
||||||
include "qelib1.inc";
|
|
||||||
|
|
||||||
qreg q[5];
|
|
||||||
creg c[5];
|
|
||||||
|
|
||||||
U(0, 0, pi / 2) q[0];
|
|
||||||
CX q[0], q[1];
|
|
||||||
u3(0, 0, pi /2) q[0];
|
|
||||||
u2(0, 0) q[0];
|
|
||||||
|
|
||||||
`}/>
|
|
||||||
```
|
|
||||||
|
|
||||||
### Tabs
|
### Tabs
|
||||||
|
|
||||||
To use a `Tabs` component, use the following syntax:
|
To use a `Tabs` component, use the following syntax:
|
||||||
|
@ -648,35 +628,6 @@ There is a specific use case where you want to show instructions for different o
|
||||||
</OperatingSystemTabs>
|
</OperatingSystemTabs>
|
||||||
```
|
```
|
||||||
|
|
||||||
### CircuitTabs
|
|
||||||
|
|
||||||
This component show tabs with the Composer and the OpenQASM code. It also shows an Open in Composer link at the bottom.
|
|
||||||
|
|
||||||
```mdx
|
|
||||||
<CircuitTabs name="Bell" qasm={`
|
|
||||||
OPENQASM 2.0;
|
|
||||||
include "qelib1.inc";
|
|
||||||
|
|
||||||
qreg q[2];
|
|
||||||
creg c[2];
|
|
||||||
|
|
||||||
reset q[0];
|
|
||||||
h q[0];
|
|
||||||
reset q[1];
|
|
||||||
cx q[0],q[1];
|
|
||||||
measure q[0] -> c[0];
|
|
||||||
measure q[1] -> c[1];
|
|
||||||
`}/>
|
|
||||||
```
|
|
||||||
|
|
||||||
### Operation
|
|
||||||
|
|
||||||
To display a qasm operation (like a not gate), you can use the `Operation` component:
|
|
||||||
|
|
||||||
```mdx
|
|
||||||
<Operation name="x" />
|
|
||||||
```
|
|
||||||
|
|
||||||
## Proper marking and attribution
|
## Proper marking and attribution
|
||||||
|
|
||||||
**All information needs to identify, mark, and attribute IBM and applicable third-party trademarks.** We do this the first time an IBM trademark appears on each page. See the [Copyright and trademark information](https://www.ibm.com/legal/copyright-trademark) page for more details.
|
**All information needs to identify, mark, and attribute IBM and applicable third-party trademarks.** We do this the first time an IBM trademark appears on each page. See the [Copyright and trademark information](https://www.ibm.com/legal/copyright-trademark) page for more details.
|
||||||
|
|
Loading…
Reference in New Issue