|
| | QCircuit (bool collapse=true, bool clifford=false) |
| | Default constructor. More...
|
| |
| | QCircuit (bitLenInt qbCount, const std::list< QCircuitGatePtr > &g, bool collapse=true, bool clifford=false) |
| | Manual constructor. More...
|
| |
| QCircuitPtr | Clone () |
| |
| QCircuitPtr | Inverse () |
| |
| bitLenInt | GetQubitCount () |
| | Get the (automatically calculated) count of qubits in this circuit, so far. More...
|
| |
| void | SetQubitCount (bitLenInt n) |
| | Set the count of qubits in this circuit, so far. More...
|
| |
| std::list< QCircuitGatePtr > | GetGateList () |
| | Return the raw list of gates. More...
|
| |
| void | SetGateList (std::list< QCircuitGatePtr > gl) |
| | Set the raw list of gates. More...
|
| |
| void | Swap (bitLenInt q1, bitLenInt q2) |
| | Add a Swap gate to the gate sequence. More...
|
| |
| void | Append (QCircuitPtr circuit) |
| | Append circuit (with identical qubit index mappings) at the end of this circuit. More...
|
| |
| void | Combine (QCircuitPtr circuit) |
| | Combine circuit (with identical qubit index mappings) at the end of this circuit, by acting all additional gates in sequence. More...
|
| |
| bool | AppendGate (QCircuitGatePtr nGate) |
| | Add a gate to the gate sequence. More...
|
| |
| void | Run (QInterfacePtr qsim) |
| | Run this circuit. More...
|
| |
| bool | IsNonClassicalTarget (bitLenInt qubit) |
| | Check if an index is any target qubit of a nonclassical gate in this circuit. More...
|
| |
| bool | IsNonClassicalTarget (bitLenInt qubit, bool *eigen) |
| | Check if an index is any target qubit of a nonclassical gate in this circuit. More...
|
| |
| bool | DeleteClassicalTarget (bitLenInt qubit, bool eigen) |
| | (If the qubit is not a target of a non-classical gate...) Delete this qubits' controls and phase targets. More...
|
| |
| QCircuitPtr | PastLightCone (std::set< bitLenInt > &qubits) |
| | Return (as a new QCircuit) just the gates on the past light cone of a set of qubit indices. More...
|
| |
| QCircuitPtr | RemovePastLightCone (std::set< bitLenInt > &qubits) |
| | Return (as a new QCircuit) just the gates on the past light cone of a set of qubit indices, while removing these gates from the original circuit. More...
|
| |
| void | INC (const bitCapInt &toAdd, bitLenInt start, bitLenInt length) |
| | Add integer (without sign) More...
|
| |