mindquantum.core.circuit
Circuit.
Quantum circuit module.
Class
The quantum circuit module. |
|
Swap two different part of quantum circuit, with or without control qubits. |
|
Map a quantum gate to different objective qubits and control qubits. |
Function
Add a prefix on the parameter of a parameterized quantum circuit or a parameterized quantum operator. |
|
Add a suffix on the parameter of a parameterized quantum circuit or a parameterized quantum operator. |
|
Apply a quantum circuit or a quantum operator (a function that can generate a quantum circuit) to different qubits. |
|
Conversion decorator of a circuit to an ansatz circuit. |
|
Conversion decorator of a circuit to an encoder circuit. |
|
Change the parameter name of a parameterized quantum circuit or a parameterized quantum operator. |
|
Add control qubits on a quantum circuit or a quantum operator. |
|
Get the hermitian dagger of a quantum circuit or a quantum operator. |
|
|
Decompose a time evolution gate into basic quantum gates. |
Convert a single pauli word qubit operator to a quantum circuit. |
|
Shift the qubit range of the given circuit. |
|
Calculate the quantum fisher information of the given parameterized circuit with given parameters. |
|
Calculate the following value of the given parameterized quantum circuit. |
|
Calculate the following value of the given parameterized quantum circuit. |
Channel adder
Add noise channel after or before quantum gate. |
|
Add single qubit quantum channel. |
|
Select measurement gate. |
|
Reverse the accepter and excluder rules. |
|
Exclude a noise channel. |
|
Add BitFlip channel after or before quantum gate. |
|
Execute each adder if all accepter and excluder are met. |
|
Execute each adder in this sequential. |
|
Only add noise channel for |
|
Select gate with qubit id in given list. |
|
Select gate to add noise channel. |
|
Add DepolarizingChannel. |
shortcut
The operators blow are shortcut of correspand quantum circuit operators.
shortcut |
high level circuit operators |
---|---|
mindquantum.core.circuit.C |
|
mindquantum.core.circuit.D |
|
mindquantum.core.circuit.A |
|
mindquantum.core.circuit.AP |
|
mindquantum.core.circuit.CPN |