Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit 5273e54

Browse files
authored
Update "use" and "borrow" statements in comments (#860)
1 parent f4f2812 commit 5273e54

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Simulation/Common/IQuantumProcessor.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ public interface IQuantumProcessor
563563
void OnFail(System.Runtime.ExceptionServices.ExceptionDispatchInfo exceptionDispatchInfo);
564564

565565
/// <summary>
566-
/// Called when qubits are allocated by Q# <a href="https://docs.microsoft.com/azure/quantum/user-guide/language/statements/quantummemorymanagement#use-statement"><c>using</c></a> block.
566+
/// Called when qubits are allocated by Q# <a href="https://docs.microsoft.com/azure/quantum/user-guide/language/statements/quantummemorymanagement#use-statement"><c>use</c></a> block.
567567
/// </summary>
568568
/// <param name="qubits">Qubits that are being allocated</param>.
569569
/// <remarks>
@@ -573,7 +573,7 @@ public interface IQuantumProcessor
573573
void OnAllocateQubits(IQArray<Qubit> qubits);
574574

575575
/// <summary>
576-
/// Called when qubits are released in Q# in the end of <a href="https://docs.microsoft.com/azure/quantum/user-guide/language/statements/quantummemorymanagement#use-statement"><c>using</c></a> block.
576+
/// Called when qubits are released in Q# in the end of <a href="https://docs.microsoft.com/azure/quantum/user-guide/language/statements/quantummemorymanagement#use-statement"><c>use</c></a> block.
577577
/// </summary>
578578
/// <param name="qubits">Qubits that are being released</param>.
579579
/// <remarks>
@@ -583,7 +583,7 @@ public interface IQuantumProcessor
583583
void OnReleaseQubits(IQArray<Qubit> qubits);
584584

585585
/// <summary>
586-
/// Called when qubits are borrowed by Q# <a href="https://docs.microsoft.com/azure/quantum/user-guide/language/statements/quantummemorymanagement#borrow-statement"><c>borrowing</c></a> block.
586+
/// Called when qubits are borrowed by Q# <a href="https://docs.microsoft.com/azure/quantum/user-guide/language/statements/quantummemorymanagement#borrow-statement"><c>borrow</c></a> block.
587587
/// </summary>
588588
/// <param name="qubits">Qubits that are being borrowed</param>.
589589
/// <param name="allocatedForBorrowingCount">Number of qubits that have been allocated for borrowing. This might happen if there have not been enough already allocated qubits available for borrowing.</param>.
@@ -594,7 +594,7 @@ public interface IQuantumProcessor
594594
void OnBorrowQubits(IQArray<Qubit> qubits, long allocatedForBorrowingCount);
595595

596596
/// <summary>
597-
/// Called when qubits are returned in the end of Q# <a href="https://docs.microsoft.com/azure/quantum/user-guide/language/statements/quantummemorymanagement#borrow-statement"><c>borrowing</c></a> block.
597+
/// Called when qubits are returned in the end of Q# <a href="https://docs.microsoft.com/azure/quantum/user-guide/language/statements/quantummemorymanagement#borrow-statement"><c>borrow</c></a> block.
598598
/// </summary>
599599
/// <param name="qubits">Qubits that have been borrowed and are now being returned</param>.
600600
/// <param name="releasedOnReturnCount">Number of qubits that have been released once returned. This might happen if they have been allocated only for borrowing.</param>.

0 commit comments

Comments
 (0)